qushaowei
2024-04-22 58d39cbfa200082acb3ed134c13d06240a8bc349
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,