src/main/resources/mapper/stock/StockInventoryMapper.xml
@@ -34,6 +34,9 @@ <if test="ew.warehouse != null and ew.warehouse !=''"> warehouse = #{ew.warehouse}, </if> <if test="ew.warehouse == null or ew.warehouse ==''"> warehouse = null, </if> update_time = now() </set> where product_model_id = #{ew.productModelId}