From f2f8241dd52ef12ec109f6f4f0f13042055338ac Mon Sep 17 00:00:00 2001 From: lyh <925863403@qq.com> Date: 星期五, 14 二月 2025 14:55:56 +0800 Subject: [PATCH] 修改指派设备 修改设备结构树权限 优化查询 优化排序 --- lxzn-module-mdc/src/main/java/org/jeecg/modules/mdc/mapper/xml/MdcEquipmentMapper.xml | 8 +++++++- 1 files changed, 7 insertions(+), 1 deletions(-) diff --git a/lxzn-module-mdc/src/main/java/org/jeecg/modules/mdc/mapper/xml/MdcEquipmentMapper.xml b/lxzn-module-mdc/src/main/java/org/jeecg/modules/mdc/mapper/xml/MdcEquipmentMapper.xml index 828999f..a4943b3 100644 --- a/lxzn-module-mdc/src/main/java/org/jeecg/modules/mdc/mapper/xml/MdcEquipmentMapper.xml +++ b/lxzn-module-mdc/src/main/java/org/jeecg/modules/mdc/mapper/xml/MdcEquipmentMapper.xml @@ -71,6 +71,12 @@ WHERE mpe.equipment_id = me.id AND mpe.production_id = #{ productionId } + <if test="type == 'DNC'"> + AND me.device_type_dnc = '1' + </if> + <if test="type == 'MDC'"> + AND me.device_type_mdc = '1' + </if> ORDER BY me.equipment_id </select> @@ -276,4 +282,4 @@ t1.id = #{ id } </select> -</mapper> \ No newline at end of file +</mapper> -- Gitblit v1.9.3