Explorar o código

修复农资出库sql报错的bug

liuyaowen hai 11 meses
pai
achega
17dfddb76d
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  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>