From 034f720f0bbc7f253c15613c28d994d7abf401eb Mon Sep 17 00:00:00 2001
From: tuqin <tuqin@tuqin.cn>
Date: 星期四, 24 九月 2026 10:53:33 +0800
Subject: [PATCH] feat: 现场需求后端改动

---
 src/main/java/com/ruoyi/project/system/mapper/SysDeptMapper.java |   13 +++++++++++--
 1 files changed, 11 insertions(+), 2 deletions(-)

diff --git a/src/main/java/com/ruoyi/project/system/mapper/SysDeptMapper.java b/src/main/java/com/ruoyi/project/system/mapper/SysDeptMapper.java
index 942a700..f3c9354 100644
--- a/src/main/java/com/ruoyi/project/system/mapper/SysDeptMapper.java
+++ b/src/main/java/com/ruoyi/project/system/mapper/SysDeptMapper.java
@@ -2,6 +2,7 @@
 
 import java.util.List;
 
+import com.baomidou.mybatisplus.core.mapper.BaseMapper;
 import org.apache.ibatis.annotations.Mapper;
 import org.apache.ibatis.annotations.Param;
 import com.ruoyi.project.system.domain.SysDept;
@@ -12,7 +13,7 @@
  * @author ruoyi
  */
 @Mapper
-public interface SysDeptMapper
+public interface SysDeptMapper extends BaseMapper<SysDept>
 {
     /**
      * 鏌ヨ閮ㄩ棬绠$悊鏁版嵁
@@ -109,7 +110,15 @@
      * @param depts 瀛愬厓绱�
      * @return 缁撴灉
      */
-    public int updateDeptChildren(@Param("depts") List<SysDept> depts);
+    public int updateDeptChildren(@Param("depts") List<SysDept> depts);
+
+    /**
+     * 鎵归噺淇敼閮ㄩ棬鎺掑簭
+     *
+     * @param depts 閮ㄩ棬鍒楄〃锛坉eptId + orderNum锛�
+     * @return 缁撴灉
+     */
+    public int updateDeptSort(@Param("depts") List<SysDept> depts);
 
     /**
      * 鍒犻櫎閮ㄩ棬绠$悊淇℃伅

--
Gitblit v1.9.3