src/main/resources/mapper/OrderDetlMapper.xml
@@ -53,7 +53,7 @@ </resultMap> <select id="selectItem" resultMap="BaseResultMap"> select * from man_order_detl select top 1 * from man_order_detl where 1=1 and order_id = #{orderId} and matnr = #{matnr} @@ -221,4 +221,11 @@ </choose> </update> <update id="increaseWorkQty2"> update man_order_detl set work_qty = work_qty + #{workQty} where 1=1 and id = #{id} </update> </mapper>