xg
“linengliang”
2024-03-15 6a3591c42a84b36d24d75f4584f0eeb145bb4de7
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,