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} @@ -228,8 +231,7 @@ model, unit, product_name, product_id, warehouse product_id order by create_time desc </select>