xg
“linengliang”
2024-03-13 19a5be30c6229dde4adeb2502bc65b2e9a82e9ec
lxzn-module-eam/src/main/java/org/jeecg/modules/eam/mapper/xml/MaintenanceOrderActualMaterialMapper.xml
@@ -13,9 +13,9 @@
        t1.quantity,
        t1.is_lock isLock,
        t2.num as sparePartNum,
        IFNULL(t5.use_quantity,0) as useQuantity,
        IFNULL(t5.outbound_main_quantity,0) as mainQuantity,
        (IFNULL(t5.outbound_main_quantity,0)-IFNULL(t5.use_quantity,0)) as availableQuantity,
        ISNULL(t5.use_quantity,0) as useQuantity,
        ISNULL(t5.outbound_main_quantity,0) as mainQuantity,
        (ISNULL(t5.outbound_main_quantity,0)-ISNULL(t5.use_quantity,0)) as availableQuantity,
        t2.name as sparePartName,
        t2.model as model,
        t2.specification as specification,