package com.doumee.api;
|
|
import com.doumee.biz.system.SystemDictDataBiz;
|
import com.doumee.core.model.ApiResponse;
|
import com.doumee.dao.business.model.YwContract;
|
import com.doumee.service.business.PlatformJobService;
|
import com.doumee.service.business.YwContractBillService;
|
import com.doumee.service.business.YwContractService;
|
import com.doumee.service.system.SystemDictDataService;
|
import io.swagger.annotations.Api;
|
import io.swagger.annotations.ApiOperation;
|
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;
|
|
/**
|
* Created by IntelliJ IDEA.
|
*
|
* @Author : Rk
|
* @create 2024/11/28 10:58
|
*/
|
@Api(tags = "阜宁运维系统定时器接口")
|
@RestController
|
@RequestMapping("/timer/yw")
|
public class YwTimerController extends BaseController {
|
@Autowired
|
private SystemDictDataBiz systemDictDataBiz;
|
|
@Autowired
|
private SystemDictDataService systemDictDataService;
|
|
@Autowired
|
private YwContractBillService ywContractBillService;
|
|
@Autowired
|
private YwContractService ywContractService;
|
|
|
@ApiOperation("定时处理合同账单编码")
|
@GetMapping("/ywDealContractBillCodeTimer")
|
public ApiResponse ywDealContractBillCodeTimer() {
|
ywContractBillService.dealDayBillCode();
|
return ApiResponse.success("定时处理合同账单编码");
|
}
|
|
|
@ApiOperation("定时处理合同过期与执行中")
|
@GetMapping("/ywDealContractTimeOutTimer")
|
public ApiResponse ywDealContractTimeOutTimer() {
|
ywContractService.dealTimeOut();
|
return ApiResponse.success("定时处理合同过期与执行中");
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
}
|