Min 10 maanden geleden
bovenliggende
commit
b74d014bb6

+ 14 - 0
fhKeeper/formulahousekeeper/management-platform/src/main/java/com/management/platform/controller/UserController.java

@@ -882,6 +882,13 @@ public class UserController {
         return httpRespMsg;
     }
 
+    /**
+    * @Description:ldap获取组织架构
+    * @Param: []
+    * @return: com.management.platform.util.HttpRespMsg
+    * @Author: yurk
+    * @Date: 2024/7/19
+    */
     @RequestMapping("/getOU")
     public HttpRespMsg getOU() throws NamingException {
         HttpRespMsg httpRespMsg=new HttpRespMsg();
@@ -889,6 +896,13 @@ public class UserController {
         return httpRespMsg;
     }
 
+    /**
+    * @Description:ldap获取人员
+    * @Param: []
+    * @return: com.management.platform.util.HttpRespMsg
+    * @Author: yurk
+    * @Date: 2024/7/19
+    */
     @RequestMapping("/getUser")
     public HttpRespMsg getUser() throws Exception {
         HttpRespMsg httpRespMsg=new HttpRespMsg();

+ 8 - 1
fhKeeper/formulahousekeeper/management-platform/src/main/java/com/management/platform/task/TimingTask.java

@@ -770,8 +770,15 @@ public class TimingTask {
         }
     }
 
+    /**
+    * @Description:定时任务同步ladp组织架构数据
+    * @Param: []
+    * @return: void
+    * @Author: yurk
+    * @Date: 2024/7/19
+    */
     @Scheduled(cron = "0 10 1 ? * *")
-    private void synAd() throws Exception {
+    private void syncAd() throws Exception {
         if (isDev) return;
         if(!isPrivateDeploy) return;
         List<TimeType> timeTypeList = timeTypeMapper.selectList(new QueryWrapper<TimeType>().eq("sync_ad", 1));