|
@@ -3,14 +3,12 @@ package com.hhwy.qbeqsjy.controller;
|
|
import com.alibaba.fastjson.JSONArray;
|
|
import com.alibaba.fastjson.JSONArray;
|
|
import com.alibaba.fastjson.JSONObject;
|
|
import com.alibaba.fastjson.JSONObject;
|
|
import com.hhwy.qbeqsjy.common.Constants;
|
|
import com.hhwy.qbeqsjy.common.Constants;
|
|
-import com.hhwy.qbeqsjy.dao.CtrlDao;
|
|
|
|
import com.hhwy.qbeqsjy.domain.AjaxResult;
|
|
import com.hhwy.qbeqsjy.domain.AjaxResult;
|
|
import com.hhwy.qbeqsjy.dto.CtrlDTO;
|
|
import com.hhwy.qbeqsjy.dto.CtrlDTO;
|
|
import com.hhwy.qbeqsjy.service.CtrlService;
|
|
import com.hhwy.qbeqsjy.service.CtrlService;
|
|
import lombok.extern.slf4j.Slf4j;
|
|
import lombok.extern.slf4j.Slf4j;
|
|
import org.apache.commons.lang3.StringUtils;
|
|
import org.apache.commons.lang3.StringUtils;
|
|
import org.springframework.beans.factory.annotation.Autowired;
|
|
import org.springframework.beans.factory.annotation.Autowired;
|
|
-import org.springframework.jdbc.core.JdbcTemplate;
|
|
|
|
import org.springframework.web.bind.annotation.*;
|
|
import org.springframework.web.bind.annotation.*;
|
|
import java.util.ArrayList;
|
|
import java.util.ArrayList;
|
|
import java.util.Collections;
|
|
import java.util.Collections;
|
|
@@ -25,16 +23,6 @@ public class CtrlController {
|
|
|
|
|
|
@Autowired
|
|
@Autowired
|
|
private CtrlService ctrlService;
|
|
private CtrlService ctrlService;
|
|
- @Autowired
|
|
|
|
- private JdbcTemplate gaussDBJdbcTemplate;
|
|
|
|
-
|
|
|
|
-
|
|
|
|
- @GetMapping("/test")
|
|
|
|
- public AjaxResult test(){
|
|
|
|
- log.info("测试接口");
|
|
|
|
- log.info(gaussDBJdbcTemplate.queryForList("select * from t_user").toString());
|
|
|
|
- return AjaxResult.success("test......");
|
|
|
|
- }
|
|
|
|
|
|
|
|
|
|
|
|
/**
|
|
/**
|
|
@@ -45,7 +33,6 @@ public class CtrlController {
|
|
* 请求参数:
|
|
* 请求参数:
|
|
* {
|
|
* {
|
|
* "taskId":"59275350793392128",
|
|
* "taskId":"59275350793392128",
|
|
- * "taskName":"",
|
|
|
|
* "endCtrlTime":"2025-03-20 00:00:00",
|
|
* "endCtrlTime":"2025-03-20 00:00:00",
|
|
* "resourceIdList":["aaaa","bbbb","cccc"],
|
|
* "resourceIdList":["aaaa","bbbb","cccc"],
|
|
* "areaIdList":["dddd","eeee"],
|
|
* "areaIdList":["dddd","eeee"],
|