yumeng 2 年 前
コミット
e951a69b58

+ 45 - 0
jeecg-boot-module-system/src/main/java/org/jeecg/modules/ctop/controller/TestController.java

@@ -18,6 +18,8 @@ import cn.com.ctop.manage.modules.material.service.IMaterialUploadService;
 import cn.com.ctop.toutiao.modules.report.service.IBytedanceReportService;
 import com.alibaba.fastjson.JSONArray;
 import com.alibaba.fastjson.JSONObject;
+import com.xxl.job.core.context.XxlJobHelper;
+import com.xxl.job.core.enums.NoEn;
 import lombok.extern.slf4j.Slf4j;
 import org.jeecg.common.util.DateUtils;
 import org.springframework.beans.factory.annotation.Autowired;
@@ -129,6 +131,18 @@ public class TestController {
 
     @GetMapping(value = "/getData")
     public void getDate() throws Exception {
+
+
+
+           /* String beforeDay = DateUtils.getLastDay(DateUtils.formatDate(new Date()), NoEn.NO1.valueInt());
+
+            //更新员工打卡明细表
+            wechatCheckinDataService.getCheckinData("2022-12-01" + " 00:00:00", "2022-12-31" + " 23:59:59");
+            XxlJobHelper.log("--------考勤数据入库 end ");
+            //更新人员信息表
+            wechatUserInfoService.getUserList();*/
+
+
         log.info("-------------------------获取快分销订单昨日数据开始数据开始--------------------------");
         String cookie = ikuaishouSupplyChainService.getCookie();
         if (Check.isNull(cookie)) {
@@ -168,6 +182,37 @@ public class TestController {
         dateList.add("2022-11-28");
         dateList.add("2022-11-29");
         dateList.add("2022-11-30");
+        dateList.add("2022-12-01");
+        dateList.add("2022-12-02");
+        dateList.add("2022-12-03");
+        dateList.add("2022-12-04");
+        dateList.add("2022-12-05");
+        dateList.add("2022-12-06");
+        dateList.add("2022-12-07");
+        dateList.add("2022-12-08");
+        dateList.add("2022-12-09");
+        dateList.add("2022-12-10");
+        dateList.add("2022-12-11");
+        dateList.add("2022-12-12");
+        dateList.add("2022-12-13");
+        dateList.add("2022-12-14");
+        dateList.add("2022-12-15");
+        dateList.add("2022-12-16");
+        dateList.add("2022-12-17");
+        dateList.add("2022-12-18");
+        dateList.add("2022-12-19");
+        dateList.add("2022-12-20");
+        dateList.add("2022-12-21");
+        dateList.add("2022-12-22");
+        dateList.add("2022-12-23");
+        dateList.add("2022-12-24");
+        dateList.add("2022-12-25");
+        dateList.add("2022-12-26");
+        dateList.add("2022-12-27");
+        dateList.add("2022-12-28");
+        dateList.add("2022-12-29");
+        dateList.add("2022-12-30");
+        dateList.add("2022-12-31");
 
         JSONArray hourList = KuaishouHourEnum.getHourList();
         JSONArray minSecList = KuaishouMinSecEnum.getMinSecList();