|
@@ -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(){
|