浏览代码

PDA质检bug修改

jwk 2 年之前
父节点
当前提交
0da8d138ea
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      warewms-ams/src/main/resources/mapper/ams/InvLotLocIdMapper.xml

+ 1 - 1
warewms-ams/src/main/resources/mapper/ams/InvLotLocIdMapper.xml

@@ -593,7 +593,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
         SET t1.lotatt05 = #{status}
         SET t1.lotatt05 = #{status}
         <where>
         <where>
             t1.lotatt01 = #{batchNo} and t1.lotatt05 = 'DJ'
             t1.lotatt01 = #{batchNo} and t1.lotatt05 = 'DJ'
-            <if test="sku != null  and sku != ''"> t1.sku = #{sku}</if>
+            <if test="sku != null  and sku != ''">and t1.sku = #{sku}</if>
         </where>
         </where>
           AND t1.lotnum IN ( SELECT lotnum FROM inv_lot_loc_id )
           AND t1.lotnum IN ( SELECT lotnum FROM inv_lot_loc_id )
     </update>
     </update>