定时任务删除两月推送

main
dongdingding 8 months ago
parent 54687cff0b
commit 5707bae96d

@ -567,6 +567,8 @@ public class ASafeQyjcxx implements Serializable {
@TableField(exist = false) @TableField(exist = false)
private ASafeWgcy aSafeWgcy; private ASafeWgcy aSafeWgcy;
public ASafeQyjcxx() {
}
public ASafeQyjcxx(EnterpriseResponse res) { public ASafeQyjcxx(EnterpriseResponse res) {

@ -45,7 +45,10 @@ import io.swagger.annotations.Api;
import org.slf4j.Logger; import org.slf4j.Logger;
import org.slf4j.LoggerFactory; import org.slf4j.LoggerFactory;
import org.springframework.beans.factory.annotation.Value; import org.springframework.beans.factory.annotation.Value;
import org.springframework.context.annotation.Configuration;
import org.springframework.scheduling.annotation.EnableScheduling;
import org.springframework.scheduling.annotation.Scheduled; import org.springframework.scheduling.annotation.Scheduled;
import org.springframework.transaction.annotation.Transactional;
import org.springframework.web.bind.annotation.RequestMapping; import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController; import org.springframework.web.bind.annotation.RestController;
@ -674,8 +677,8 @@ public class AcheckTaskQuartz {
@Scheduled(cron = "0 0 4 * * ? ") @Scheduled(cron = "0 0 4 * * ? ")
// @Scheduled(cron = "0 0/5 * * * ?") // @Scheduled(cron = "0 0/5 * * * ?")
@PostMapping("/zicha") // @PostMapping("/zicha")
@ApiOperation(value = "自查") // @ApiOperation(value = "自查")
public void zicha() throws ParseException { public void zicha() throws ParseException {
// 获取token // 获取token
getToken(); getToken();

Loading…
Cancel
Save