src/main/resources/mapper/stock/StockUninventoryMapper.xml
@@ -51,6 +51,9 @@ <if test="ew.customer != null and ew.customer !=''"> customer = #{ew.customer}, </if> <if test="ew.productionDate != null"> production_date = #{ew.productionDate}, </if> update_time = now() </set> where product_model_id = #{ew.productModelId} @@ -67,6 +70,7 @@ (su.qualitity - COALESCE(su.locked_quantity, 0)) as un_locked_quantity, pm.model, pm.unit, pm.uid_no, p.product_name, su.batch_no, su.customer