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/service/impl/UnitServiceImpl.java |    9 ++++++++-
 1 files changed, 8 insertions(+), 1 deletions(-)

diff --git a/lxzn-module-system/lxzn-system-biz/src/main/java/org/jeecg/modules/base/service/impl/UnitServiceImpl.java b/lxzn-module-system/lxzn-system-biz/src/main/java/org/jeecg/modules/base/service/impl/UnitServiceImpl.java
index 4648a94..bf47192 100644
--- a/lxzn-module-system/lxzn-system-biz/src/main/java/org/jeecg/modules/base/service/impl/UnitServiceImpl.java
+++ b/lxzn-module-system/lxzn-system-biz/src/main/java/org/jeecg/modules/base/service/impl/UnitServiceImpl.java
@@ -2,8 +2,8 @@
 
 import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
 import org.jeecg.modules.base.entity.Unit;
-import org.jeecg.modules.base.mapper.UnitMapper;
 import org.jeecg.modules.base.mapper.UnitCategoryMapper;
+import org.jeecg.modules.base.mapper.UnitMapper;
 import org.jeecg.modules.base.service.IUnitService;
 import org.springframework.stereotype.Service;
 
@@ -31,4 +31,11 @@
         List<Unit> list = unitMapper.getTreeList();
         return list;
     }
+
+    @Override
+    public Unit getUnitByName(String name) {
+        return unitMapper.getUnitByName(name);
+    }
+
+
 }

--
Gitblit v1.9.3