2026-06-23 61f1de60e6f58dd8e19f01c56f2e56e40885d65b
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>