超过7天自动审批开发
This commit is contained in:
@@ -43,7 +43,7 @@ public class OverdueAutoApproveTimer {
|
|||||||
*/
|
*/
|
||||||
// @GetMapping("/autoApproveOverDue7")
|
// @GetMapping("/autoApproveOverDue7")
|
||||||
@Scheduled(cron="0 1 0 * * *") //每晚1点执行
|
@Scheduled(cron="0 1 0 * * *") //每晚1点执行
|
||||||
public void autoApproveOverDue7() throws ParseException {
|
public void autoApproveOverDue7() {
|
||||||
TaskCommonQuery taskCommonQuery = new TaskCommonQuery();
|
TaskCommonQuery taskCommonQuery = new TaskCommonQuery();
|
||||||
taskCommonQuery.setPrcType(FlowTypeEnum.SCBGLC.getValue());
|
taskCommonQuery.setPrcType(FlowTypeEnum.SCBGLC.getValue());
|
||||||
ResponseMessage<Page> responseMessage = todoTaskController.todoTaskListByUserId(taskCommonQuery);
|
ResponseMessage<Page> responseMessage = todoTaskController.todoTaskListByUserId(taskCommonQuery);
|
||||||
|
|||||||
Reference in New Issue
Block a user