Commit b60097f4 authored by 鲁鸿波's avatar 鲁鸿波

所有作业3天未完成的,需要重新发起申请。

危险作业到交底环节后按固定时间判断是否超时,超时自动取消
parent 1005372a
...@@ -30,17 +30,6 @@ public class THazardWorkPlanExpiredLogController { ...@@ -30,17 +30,6 @@ public class THazardWorkPlanExpiredLogController {
return baseResponse; return baseResponse;
} }
@ApiOperation(value = "危险作业三天内未完成自动过期", notes = "危险作业三天内未完成自动过期")
@GetMapping(value = "/refreshSwitch1")
public BaseResponse refreshSwitch1() {
BaseResponse baseResponse=new BaseResponse<>();
hazardWorkPlanExpiredLogService.refreshSwitch1();
baseResponse.setData(true);
baseResponse.setMsg("操作成功");
return baseResponse;
}
@ApiOperation(value = "根据计划id查询过期日志", notes = "根据计划id查询过期日志") @ApiOperation(value = "根据计划id查询过期日志", notes = "根据计划id查询过期日志")
@GetMapping(value = "/selectByPlanId") @GetMapping(value = "/selectByPlanId")
public BaseResponse<THazardWorkPlanExpiredLog> selectByPlanId(@RequestParam String planId) { public BaseResponse<THazardWorkPlanExpiredLog> selectByPlanId(@RequestParam String planId) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment