I2新增查询功能和代码优化

master
liuguijing 1 year ago
parent 284f2e45ee
commit f5102276ae

@ -8,7 +8,7 @@ import java.util.ArrayList;
import java.util.List; import java.util.List;
/** /**
* 线 * 线
*/ */
@Data @Data
public class ListModel implements Serializable { public class ListModel implements Serializable {

@ -13,6 +13,5 @@ public interface Upload_checkDao {
List<Upload_check> selectAll(); List<Upload_check> selectAll();
int updateByPrimaryKey(@Param("checkType") String checkType, @Param("value") BigInteger value, @Param("updateTime") Date updateTime); int updateByPrimaryKey(@Param("checkType") String checkType, @Param("value") BigInteger value, @Param("updateTime") Date updateTime);
} }

@ -1,76 +1,76 @@
//package com.shxy.i2.timeTask; package com.shxy.i2.timeTask;
//
//import com.shxy.i2.service.Webservcies; import com.shxy.i2.service.Webservcies;
//import com.shxy.i2.service.XydlI2Service; import com.shxy.i2.service.XydlI2Service;
//import lombok.extern.slf4j.Slf4j; import lombok.extern.slf4j.Slf4j;
//import org.springframework.beans.factory.annotation.Autowired; import org.springframework.beans.factory.annotation.Autowired;
//import org.springframework.scheduling.annotation.EnableScheduling; import org.springframework.scheduling.annotation.EnableScheduling;
//import org.springframework.scheduling.annotation.Scheduled; import org.springframework.scheduling.annotation.Scheduled;
//import org.springframework.stereotype.Component; import org.springframework.stereotype.Component;
//
///** /**
// * @author jingjing * @author jingjing
// * @date 2023-11-16 15:06 * @date 2023-11-16 15:06
// */ */
//@Component @Component
//@EnableScheduling @EnableScheduling
//@Slf4j @Slf4j
////@EnableAsync //@EnableAsync
//public class ScheduledTask { public class ScheduledTask {
//
// @Autowired @Autowired
// Webservcies webservcies; Webservcies webservcies;
//
// @Autowired @Autowired
// XydlI2Service xydlI2Service; XydlI2Service xydlI2Service;
//
// @Scheduled(fixedDelay = 60 * 60 * 1000) @Scheduled(fixedDelay = 60 * 60 * 1000)
// public void cacyspupload() { public void cacyspupload() {
// log.info("cacyspupload执行" ); log.info("cacyspupload执行" );
// webservcies.uploadyspData(); webservcies.uploadyspData();
// } }
//
// @Scheduled(fixedDelay = 1 * 30 * 1000) @Scheduled(fixedDelay = 1 * 30 * 1000)
// public void cacjfjcupload() { public void cacjfjcupload() {
// log.info("cacjfjcupload执行" ); log.info("cacjfjcupload执行" );
// webservcies.uploadjfjcData(); webservcies.uploadjfjcData();
// } }
//
// @Scheduled(fixedDelay = 1 * 30 * 1000) @Scheduled(fixedDelay = 1 * 30 * 1000)
// public void cacupload() { public void cacupload() {
// log.info("cacupload执行" ); log.info("cacupload执行" );
// webservcies.uploadData(); webservcies.uploadData();
// } }
//
// @Scheduled(fixedDelay = 1 * 30 * 1000) @Scheduled(fixedDelay = 1 * 30 * 1000)
// public void cactxupload() { public void cactxupload() {
// log.info("cactxupload执行" ); log.info("cactxupload执行" );
// webservcies.uploadtxData(); webservcies.uploadtxData();
// } }
//
// @Scheduled(fixedDelay = 1 * 30 * 1000) @Scheduled(fixedDelay = 1 * 30 * 1000)
// public void cacyxupload() { public void cacyxupload() {
// log.info("cacyxupload执行" ); log.info("cacyxupload执行" );
// webservcies.uploadyxData(); webservcies.uploadyxData();
// } }
//
// @Scheduled(fixedDelay = 1 * 30 * 1000) @Scheduled(fixedDelay = 1 * 30 * 1000)
// public void cacdcywupload() { public void cacdcywupload() {
// log.info("cacdcywupload执行" ); log.info("cacdcywupload执行" );
// webservcies.uploaddcywData(); webservcies.uploaddcywData();
// } }
//
// @Scheduled(fixedDelay = 1 * 30 * 1000) @Scheduled(fixedDelay = 1 * 30 * 1000)
// public void cacjsyhwjyjcupload() { public void cacjsyhwjyjcupload() {
// log.info("cacjsyhwjyjcupload执行" ); log.info("cacjsyhwjyjcupload执行" );
// webservcies.uploadjsyhwjyjcData(); webservcies.uploadjsyhwjyjcData();
// } }
//
//
// @Scheduled(cron = "0 0 13 * * ?") @Scheduled(cron = "0 0 13 * * ?")
// public void clear() { public void clear() {
// log.info("clear" ); log.info("clear" );
// xydlI2Service.clear_history(); xydlI2Service.clear_history();
// } }
//
//} }

Loading…
Cancel
Save