| | |
| | | import com.doumee.service.business.PlatformJobService; |
| | | import io.swagger.annotations.Api; |
| | | import io.swagger.annotations.ApiOperation; |
| | | import lombok.extern.slf4j.Slf4j; |
| | | import org.springframework.beans.factory.annotation.Autowired; |
| | | import org.springframework.web.bind.annotation.GetMapping; |
| | | import org.springframework.web.bind.annotation.RequestMapping; |
| | |
| | | * @author 江蹄蹄 |
| | | * @date 2023/11/30 15:33 |
| | | */ |
| | | @Slf4j |
| | | @Api(tags = "月台作业定时") |
| | | @RestController |
| | | @RequestMapping("/timer/platformJob") |
| | |
| | | } |
| | | |
| | | |
| | | @ApiOperation("月台今日作业外完成通知定时") |
| | | @ApiOperation("月台今日作业未完成通知定时") |
| | | @GetMapping("/sendUnFinishNotice") |
| | | public ApiResponse sendUnFinishNotice() { |
| | | log.error("========月台今日作业未完成通知定时============开始"+System.currentTimeMillis()+""); |
| | | platformJobService.sendUnFinishNotice(); |
| | | log.error("========月台今日作业未完成通知定时============结束"+System.currentTimeMillis()+""); |
| | | return ApiResponse.success("月台今日作业外完成通知定时"); |
| | | } |
| | | |