From c69a8bc29d0b5178321c84e86f07e308c2116c7e Mon Sep 17 00:00:00 2001
From: Xiajijian <1176061145@qq.com>
Date: Fri, 26 Dec 2025 15:18:56 +0800
Subject: [PATCH] 1. 优化新增地图/修改地图名称重复校验。 2. 优化新增模型/修改模型名称重复校验。 3. 优化新增tile/修改tile名称重复校验。

---
 ard-system/src/main/resources/mapper/system/SysDeptMapper.xml |    5 ++++-
 1 files changed, 4 insertions(+), 1 deletions(-)

diff --git a/ard-system/src/main/resources/mapper/system/SysDeptMapper.xml b/ard-system/src/main/resources/mapper/system/SysDeptMapper.xml
index 6fb51be..c5ee411 100644
--- a/ard-system/src/main/resources/mapper/system/SysDeptMapper.xml
+++ b/ard-system/src/main/resources/mapper/system/SysDeptMapper.xml
@@ -155,5 +155,8 @@
 	<delete id="deleteDeptById" parameterType="Long">
 		update sys_dept set del_flag = '2' where dept_id = #{deptId}
 	</delete>
-
+	<select id="selectDeptByBindCode" resultMap="SysDeptResult">
+		<include refid="selectDeptVo"/>
+		where bind_code=#{bindCode}
+	</select>
 </mapper> 
\ No newline at end of file

--
Gitblit v1.9.3