Procházet zdrojové kódy

增加浙政钉信息拉去的任务修改

tags/24080901
WendyYang před 1 rokem
rodič
revize
2756547a66
3 změnil soubory, kde provedl 3 přidání a 3 odebrání
  1. +1
    -1
      pmapi/src/main/java/com/ningdatech/pmapi/ding/task/EmployeeBatchGetTask.java
  2. +1
    -1
      pmapi/src/main/java/com/ningdatech/pmapi/ding/task/GovBusinessStripsTask.java
  3. +1
    -1
      pmapi/src/main/java/com/ningdatech/pmapi/ding/task/OrganizationBatchGetTask.java

+ 1
- 1
pmapi/src/main/java/com/ningdatech/pmapi/ding/task/EmployeeBatchGetTask.java Zobrazit soubor

@@ -57,7 +57,7 @@ public class EmployeeBatchGetTask {
private IUserInfoService iUserInfoService;

@Transactional(rollbackFor = Exception.class)
@Scheduled(cron = "0 0 1 0/1 0 ?")
@Scheduled(cron = "0 0 1 * * ?")
public void batchGetEmployeeTask() {
// 获取所有的组织列表用户获取组织下的 用户信息
List<DingOrganization> dingOrganizationList = iDingOrganizationService.list();


+ 1
- 1
pmapi/src/main/java/com/ningdatech/pmapi/ding/task/GovBusinessStripsTask.java Zobrazit soubor

@@ -35,7 +35,7 @@ public class GovBusinessStripsTask {
private IGovBusinessStripService iGovBusinessStripService;

@Transactional(rollbackFor = Exception.class)
@Scheduled(cron = "0 0 1 0/1 0 ?")
@Scheduled(cron = "0 0 1 * * ?")
public void batchGetGovBusinessStripsTask() {
PageSubGovBusinessStripsQuery pageSubGovBusinessStripsQuery = new PageSubGovBusinessStripsQuery();
pageSubGovBusinessStripsQuery.setPageNo(1);


+ 1
- 1
pmapi/src/main/java/com/ningdatech/pmapi/ding/task/OrganizationBatchGetTask.java Zobrazit soubor

@@ -46,7 +46,7 @@ public class OrganizationBatchGetTask {
* 获取浙政钉组织架构
*/
@Transactional(rollbackFor = Exception.class)
@Scheduled(cron = "0 0 1 0/1 0 ?")
@Scheduled(cron = "0 0 1 * * ?")
public void batchGetOrganizationTask() {
// List<DingOrganization> allList = iDingOrganizationService.list();
// List<String> currentAllOrganizationCodeList = allList.stream().map(DingOrganization::getOrganizationCode).collect(Collectors.toList());


Načítá se…
Zrušit
Uložit