From e7a19ef03472d1b55290458315fd9a11b0e379ce Mon Sep 17 00:00:00 2001 From: zhangherong <571457620@qq.com> Date: 星期三, 02 四月 2025 13:10:26 +0800 Subject: [PATCH] art: 设备管理-保养标准-删除标记移除 --- lxzn-module-mdc-common/src/main/java/org/jeecg/modules/mdc/mapper/xml/MdcEquipmentMapper.xml | 16 ++++++++++++++++ 1 files changed, 16 insertions(+), 0 deletions(-) diff --git a/lxzn-module-mdc-common/src/main/java/org/jeecg/modules/mdc/mapper/xml/MdcEquipmentMapper.xml b/lxzn-module-mdc-common/src/main/java/org/jeecg/modules/mdc/mapper/xml/MdcEquipmentMapper.xml index 7b7f06e..19bb11d 100644 --- a/lxzn-module-mdc-common/src/main/java/org/jeecg/modules/mdc/mapper/xml/MdcEquipmentMapper.xml +++ b/lxzn-module-mdc-common/src/main/java/org/jeecg/modules/mdc/mapper/xml/MdcEquipmentMapper.xml @@ -324,4 +324,20 @@ </foreach> </select> + <select id="findByProIdsAndType" resultType="org.jeecg.modules.mdc.entity.MdcEquipment"> + SELECT + t1.* + FROM + mdc_equipment t1 + LEFT JOIN mdc_production_equipment t2 ON t1.id = t2.equipment_id + WHERE t2.production_id IN + <foreach collection="mdcProductionIds" item = "productionId" index = "index" open = "(" close= ")" separator = ","> + #{productionId} + </foreach> + AND t1.equipment_type IN + <foreach collection="typeList" item = "equipmentType" index = "index" open = "(" close= ")" separator = ","> + #{equipmentType} + </foreach> + </select> + </mapper> -- Gitblit v1.9.3