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}
         <where>
             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>
           AND t1.lotnum IN ( SELECT lotnum FROM inv_lot_loc_id )
     </update>