src/main/resources/mapper/stock/StockUninventoryMapper.xml
@@ -103,6 +103,9 @@ <if test="ew.type != null and ew.type != ''"> type = #{ew.type}, </if> <if test="ew.source != null and ew.source != ''"> source = #{ew.source}, </if> update_time = now() </set> where product_model_id = #{ew.productModelId} @@ -131,7 +134,8 @@ (su.qualitity - COALESCE(su.locked_quantity, 0)) as un_locked_quantity, pm.model, pm.unit, p.product_name p.product_name, su.source <include refid="BaseWasteFromClause" /> <where> <if test="ew.type != null and ew.type != ''">