Browse Source

修改xxl-job配置文件

syh 4 năm trước cách đây
mục cha
commit
e42a3c6248

+ 4 - 3
module-check/pom.xml

@@ -1,19 +1,20 @@
 <?xml version="1.0" encoding="UTF-8"?>
 <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
          xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 https://maven.apache.org/xsd/maven-4.0.0.xsd">
-    <modelVersion>4.0.0</modelVersion>
     <parent>
         <artifactId>jeecg-boot-parent</artifactId>
         <groupId>org.jeecgframework.boot</groupId>
         <version>2.0.2</version>
     </parent>
+    <modelVersion>4.0.0</modelVersion>
     <groupId>cn.com.ctop</groupId>
     <artifactId>module-check</artifactId>
     <version>2.0.2</version>
     <name>module-check</name>
-
     <properties>
-        <java.version>1.8</java.version>
+        <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
+        <maven.compiler.source>1.7</maven.compiler.source>
+        <maven.compiler.target>1.7</maven.compiler.target>
     </properties>
 
     <dependencies>

+ 0 - 21
module-check/src/main/java/cn/com/ctop/check/script/TestGroovyScript.java

@@ -2,28 +2,13 @@ package cn.com.ctop.check.script;
 
 import cn.com.ctop.check.component.execute.GroovyScriptExecutor;
 import cn.com.ctop.check.service.ICtopCheckTaskListService;
-import cn.com.ctop.common.module.entity.CtopOauthToken;
-import cn.com.ctop.common.module.entity.UserAllocation;
 import cn.com.ctop.common.module.service.ICtopOauthTokenService;
-import cn.com.ctop.common.module.service.IUserAllocationService;
-import cn.com.ctop.kuaishou.modules.report.mapper.AccountReportMapper;
-import cn.com.ctop.toutiao.modules.report.mapper.BytedanceAccountReportMapper;
-import com.alibaba.fastjson.JSONObject;
-import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
-import org.checkerframework.checker.units.qual.A;
 import org.jeecg.common.api.vo.Result;
-import org.jeecg.common.constant.SystemDateConstant;
-import org.jeecg.common.util.DateUtils;
 import org.springframework.beans.factory.annotation.Autowired;
 import org.springframework.web.bind.annotation.GetMapping;
 import org.springframework.web.bind.annotation.RequestMapping;
 import org.springframework.web.bind.annotation.RestController;
 
-import java.math.BigDecimal;
-import java.text.SimpleDateFormat;
-import java.util.Date;
-import java.util.List;
-
 @RestController
 @RequestMapping("/rest/script")
 public class TestGroovyScript {
@@ -36,12 +21,6 @@ public class TestGroovyScript {
 
     @Autowired
     GroovyScriptExecutor groovyScriptExecutor;
-    @Autowired
-    private IUserAllocationService userAllocationService;
-    @Autowired
-    private BytedanceAccountReportMapper byteDanceAccountReportMapper;
-    @Autowired
-    private AccountReportMapper ksAccountReportMapper;
 
     @GetMapping("/test")
     public Result testGroovy(){

+ 0 - 4
module-common/pom.xml

@@ -1,5 +1,4 @@
 <?xml version="1.0" encoding="UTF-8"?>
-
 <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
          xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
     <parent>
@@ -12,10 +11,7 @@
     <groupId>cn.com.ctop</groupId>
     <artifactId>module-common</artifactId>
     <version>2.0.2</version>
-
     <name>module-common</name>
-    <!-- FIXME change it to the project's website -->
-    <url>http://www.example.com</url>
 
     <properties>
         <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>

+ 0 - 1
module-toutiao/pom.xml

@@ -1,5 +1,4 @@
 <?xml version="1.0" encoding="UTF-8"?>
-
 <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
          xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
     <parent>