From d10ee39ef95eb2442902e36dd36b1683cbd10af6 Mon Sep 17 00:00:00 2001 From: zhangherong <571457620@qq.com> Date: 星期四, 06 三月 2025 15:10:03 +0800 Subject: [PATCH] art: 项目性维修-详情页面-附件,设备状态,技术状态不展示问题修改, 设备选择过滤,只能选择用户范围内的设备信息 --- lxzn-module-system/lxzn-system-biz/src/main/java/org/jeecg/modules/base/mapper/xml/UnitMapper.xml | 5 +++++ 1 files changed, 5 insertions(+), 0 deletions(-) diff --git a/lxzn-module-system/lxzn-system-biz/src/main/java/org/jeecg/modules/base/mapper/xml/UnitMapper.xml b/lxzn-module-system/lxzn-system-biz/src/main/java/org/jeecg/modules/base/mapper/xml/UnitMapper.xml index 1e5612f..34fe8de 100644 --- a/lxzn-module-system/lxzn-system-biz/src/main/java/org/jeecg/modules/base/mapper/xml/UnitMapper.xml +++ b/lxzn-module-system/lxzn-system-biz/src/main/java/org/jeecg/modules/base/mapper/xml/UnitMapper.xml @@ -29,4 +29,9 @@ select concat(m.code,m.name) categoryName,concat(u.num,u.name) unitName,m.id,m.pid,u.id, u.unit_category_id from mom_base_unit_category m LEFT join mom_base_unit u on m.id=u.unit_category_id </select> + + <!-- 鏍规嵁鍗曚綅鍚嶇О鏌ヨ --> + <select id="getUnitByName" resultType="org.jeecg.modules.base.entity.Unit"> + select * from mom_base_unit where name = #{name} and del_flag = 0 + </select> </mapper> \ No newline at end of file -- Gitblit v1.9.3