Kaynağa Gözat

c端用户 3天后 自动分配

zhangc 5 ay önce
ebeveyn
işleme
ee0fc5fb7b

+ 2 - 0
src/main/java/com/sunxung/factoring/job/impl/ClinetUserDistributeTaskJob.java

@@ -76,7 +76,9 @@ public class ClinetUserDistributeTaskJob {
     @Scheduled(cron = "0 0 0 * * ?")
     public void batchProcess() {
         try {
+            log.info("系统自动分配业务经理开始(start)...");
             clientUserService.systemDistribute();
+            log.info("系统自动分配业务经理结束(end)...");
         }catch (Exception e){
             e.printStackTrace();
         }

+ 6 - 6
src/main/java/com/sunxung/factoring/service/sys/impl/ClientUserServiceImpl.java

@@ -1063,12 +1063,12 @@ public class ClientUserServiceImpl extends ServiceImpl<ClientUserMapper, ClientU
   @Override
   @Transactional
   public void systemDistribute() throws ParseException {
-    List<Long> list = com.google.common.collect.Lists.newArrayList(3088L, 2L, 3216L, 3328L, 3500L,
-        3381L, 3004L, 1769L, 2466L, 256L, 445L, 1574L, 2706L, 2483L, 744L, 675L, 546L);
-    List<Long> list1 = com.google.common.collect.Lists.newArrayList(896L, 914L, 144L, 1037L, 1279L,
-        1402L, 1175L);
-    List<Long> list2 = com.google.common.collect.Lists.newArrayList(2066L, 2285L, 2425L, 2850L,
-        2747L, 1787L, 1916L);
+    List<Long> list = com.google.common.collect.Lists.newArrayList(3080L, 239L, 3208L,3320L, 3373L, 3405L,
+        2998L, 2L, 23L, 44L, 381L, 1675L, 2478L, 2522L, 711L, 633L, 504L);
+    List<Long> list1 = com.google.common.collect.Lists.newArrayList(867L, 889L, 1023L, 1136L, 1380L,
+        1502L, 1276L);
+    List<Long> list2 = com.google.common.collect.Lists.newArrayList(2148L, 2311L, 2449L, 2844L,
+        2743L, 1869L, 1998L);
 
     Long xayyzx = orgService.findByName("西安运营中心").getId();    //西安运营中心
     Long zcglzx = orgService.findByName("资产管理中心").getId();    //资产管理中心