qushaowei
2023-10-29 2c250bb7d2c0efd16e5f124648bc77f5fd93040a
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,