From 33a5fcfa483875836230eae3d4d62a9397e5f649 Mon Sep 17 00:00:00 2001
From: zhaowenyu <35589726@qq.com>
Date: Sat, 18 Oct 2025 10:50:02 +0800
Subject: [PATCH] 2025-10-18 zwy 更新PaginationData获取已绑定的设备信息接口,增加对部门deptId的查询条件,参数可不传,返回所有数据

---
 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