From d4fe921568bc29d72644a55fd194adf7f9277cb5 Mon Sep 17 00:00:00 2001
From: wlzboy <66905212@qq.com>
Date: 星期六, 22 十一月 2025 15:28:35 +0800
Subject: [PATCH] feat: 将旧系统数据同步到新系统

---
 ruoyi-system/src/main/resources/mapper/system/SysDeptMapper.xml |    7 +++++++
 1 files changed, 7 insertions(+), 0 deletions(-)

diff --git a/ruoyi-system/src/main/resources/mapper/system/SysDeptMapper.xml b/ruoyi-system/src/main/resources/mapper/system/SysDeptMapper.xml
index f4b16dd..9b9bce3 100644
--- a/ruoyi-system/src/main/resources/mapper/system/SysDeptMapper.xml
+++ b/ruoyi-system/src/main/resources/mapper/system/SysDeptMapper.xml
@@ -221,5 +221,12 @@
 			</foreach>
 		)
 	</select>
+	
+	<!-- 鏍规嵁service_class鏌ヨ閮ㄩ棬淇℃伅 -->
+	<select id="selectDeptByServiceClass" parameterType="String" resultMap="SysDeptResult">
+		<include refid="selectDeptVo"/>
+		where d.service_order_class = #{serviceClass} and d.del_flag = '0'
+		limit 1
+	</select>
 
 </mapper> 
\ No newline at end of file

--
Gitblit v1.9.1