huminmin
7 天以前 61e45a2a7c94d845de5b9ace90bfee4bc9af4fd2
src/main/resources/mapper/stock/StockInventoryMapper.xml
@@ -65,6 +65,7 @@
        pm.model,
        si.remark,
        pm.unit,
        pm.material_code as materialCode,
        p.product_name,
        p.parent_id,
        p2.product_name AS parent_name
@@ -82,6 +83,7 @@
        select si.qualitity,
        pm.model,
        pm.unit,
        pm.material_code as materialCode,
        p.product_name,
        coalesce(si.warn_num, 0) as warn_num,
        coalesce(si.locked_quantity, 0) as locked_quantity,
@@ -99,6 +101,7 @@
        select sir.*,si.qualitity as current_stock,
        pm.model,
        pm.unit,
        pm.material_code as materialCode,
        p.product_name,
        su.nick_name as create_by
        from