From 847a7773ef1a8ad418c6934d35b5f205a97c04d0 Mon Sep 17 00:00:00 2001
From: wlzboy <66905212@qq.com>
Date: 星期六, 06 十二月 2025 17:03:24 +0800
Subject: [PATCH] fix:在任务状态更新时,需要更新日志到旧系统
---
ruoyi-system/src/main/java/com/ruoyi/system/mapper/SysDeptMapper.java | 27 +++++++++++++++++++++++++++
1 files changed, 27 insertions(+), 0 deletions(-)
diff --git a/ruoyi-system/src/main/java/com/ruoyi/system/mapper/SysDeptMapper.java b/ruoyi-system/src/main/java/com/ruoyi/system/mapper/SysDeptMapper.java
index 17221c5..27e47e0 100644
--- a/ruoyi-system/src/main/java/com/ruoyi/system/mapper/SysDeptMapper.java
+++ b/ruoyi-system/src/main/java/com/ruoyi/system/mapper/SysDeptMapper.java
@@ -36,6 +36,7 @@
*/
public SysDept selectDeptById(Long deptId);
+ public List<SysDept> selectDeptListByParentId(Long parentId);
/**
* 鏍规嵁ID鏌ヨ鎵�鏈夊瓙閮ㄩ棬
*
@@ -132,4 +133,30 @@
* @return 閮ㄩ棬淇℃伅
*/
public SysDept selectDeptByDepartmentIdAndParentId(@Param("departmentId") Integer departmentId, @Param("parentId") Long parentId);
+
+ /**
+ * 鑾峰彇鎸囧畾閮ㄩ棬ID鐨勫垎鍏徃ID锛坧arent_id=100鐨勯儴闂級
+ * 濡傛灉浼犲叆鐨勫氨鏄垎鍏徃锛岀洿鎺ヨ繑鍥烇紱鍚﹀垯浠巃ncestors涓煡鎵惧垎鍏徃ID
+ *
+ * @param deptId 閮ㄩ棬ID
+ * @return 鍒嗗叕鍙窱D锛屽鏋滄壘涓嶅埌鍒欒繑鍥瀗ull
+ */
+ public Long selectBranchCompanyIdByDeptId(@Param("deptId") Long deptId);
+
+ /**
+ * 鏍规嵁缂栫爜鍒楄〃鏌ヨ鍒嗗叕鍙�
+ * 鍦╯ervice_order_class鎴杁ispatch_order_class涓尮閰�
+ *
+ * @param orderCodes 缂栫爜鍒楄〃
+ * @return 鍒嗗叕鍙稿垪琛�
+ */
+ public List<SysDept> selectBranchCompaniesByOrderCodes(@Param("orderCodes") List<String> orderCodes);
+
+ /**
+ * 鏍规嵁service_class鏌ヨ閮ㄩ棬淇℃伅
+ *
+ * @param serviceClass 鏈嶅姟绫诲埆缂栫爜
+ * @return 閮ㄩ棬淇℃伅
+ */
+ public SysDept selectDeptByServiceClass(@Param("serviceClass") String serviceClass);
}
--
Gitblit v1.9.1