Quellcode durchsuchen

修复农资出库sql报错的bug

liuyaowen vor 11 Monaten
Ursprung
Commit
17dfddb76d
1 geänderte Dateien mit 1 neuen und 1 gelöschten Zeilen
  1. 1 1
      src/main/resources/mapper/WmsStockMapper.xml

+ 1 - 1
src/main/resources/mapper/WmsStockMapper.xml

@@ -125,7 +125,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
                 <if test="item.stockRemark != null">stockRemark = #{item.stockRemark},</if>
                 <if test="item.tid != null">tid = #{item.tid}</if>
             </trim>
-            where stockId = #{item.stockId} and tid = #{tid}
+            where stockId = #{item.stockId} and tid = #{item.tid}
         </foreach>
     </update>