src/main/resources/mapper/LocDetlMapper.xml
@@ -106,6 +106,9 @@ <if test="batch!=null and batch!='' "> and a.batch like '%' + #{batch} + '%' </if> <if test="specs!=null and specs!='' "> and a.specs like '%' + #{specs} + '%' </if> </sql> <select id="getStockOutPage" resultMap="BaseResultMap"> @@ -323,5 +326,15 @@ where loc_no=#{locNo} </select> <update id="updateMatTurn"> UPDATE a SET a.matnr=b.matnr, a.specs=b.specs, a.maktx=b.maktx, a.unit=b.unit FROM asr_loc_detl a INNER JOIN man_mat b ON a.matnr=#{matnrOld} AND b.matnr=#{matnr}; </update> </mapper>