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