diff --git a/op-modules/op-wms/src/main/resources/mapper/wms/BaseEquipmentMapper.xml b/op-modules/op-wms/src/main/resources/mapper/wms/BaseEquipmentMapper.xml index d7f27451..a4fbd98f 100644 --- a/op-modules/op-wms/src/main/resources/mapper/wms/BaseEquipmentMapper.xml +++ b/op-modules/op-wms/src/main/resources/mapper/wms/BaseEquipmentMapper.xml @@ -655,20 +655,18 @@ where equipment_id = #{equipmentId} - select - ebac.auxiliary_equipment_code AS equipmentCode, - be.equipment_name AS equipmentName, - be.equipment_status AS equipmentStatus + ebac.auxiliary_equipment_code AS equipmentCode, + be.equipment_name AS equipmentName, + be.equipment_status AS equipmentStatus from equ_bind_auxiliary_equipment ebac left join base_equipment be on ebac.auxiliary_equipment_code = be.equipment_code where ebac.equipment_code = #{equipmentCode} + order by ebac.auxiliary_equipment_code asc - - select work_code AS workCode, work_person AS workPerson, @@ -684,8 +682,7 @@ and del_flag = '0' - select order_code AS orderCode, CONCAT(plan_loop, plan_loop_type) AS planLoop, diff --git a/op-modules/op-wms/src/main/resources/mapper/wms/BaseProductMapper.xml b/op-modules/op-wms/src/main/resources/mapper/wms/BaseProductMapper.xml index 2b0bdf6a..204cd45e 100644 --- a/op-modules/op-wms/src/main/resources/mapper/wms/BaseProductMapper.xml +++ b/op-modules/op-wms/src/main/resources/mapper/wms/BaseProductMapper.xml @@ -73,19 +73,13 @@