修改:流程已完成
This commit is contained in:
parent
e43c77d0ee
commit
9c532ff57c
@ -499,6 +499,11 @@ public class TemplateApprovalServiceImpl implements TemplateApprovalService {
|
|||||||
.update("status", template.getStatus())
|
.update("status", template.getStatus())
|
||||||
.update("published_time", Timestamp.valueOf(LocalDateTime.now()))
|
.update("published_time", Timestamp.valueOf(LocalDateTime.now()))
|
||||||
.doUpdate(Template.class);
|
.doUpdate(Template.class);
|
||||||
|
// 待办环节修改
|
||||||
|
bd.getBusinessDatabase()
|
||||||
|
.eq("document_no", flow.getId())
|
||||||
|
.update("node", "已完成")
|
||||||
|
.doUpdate(ApprovalNodeView.class);
|
||||||
// 更新机型版本
|
// 更新机型版本
|
||||||
// dataEntryEngineModelService.updateModelForNewVersion();
|
// dataEntryEngineModelService.updateModelForNewVersion();
|
||||||
} else {
|
} else {
|
||||||
@ -562,6 +567,11 @@ public class TemplateApprovalServiceImpl implements TemplateApprovalService {
|
|||||||
.update("status", template.getStatus())
|
.update("status", template.getStatus())
|
||||||
.update("return_num", template.getReturnNum() + 1)
|
.update("return_num", template.getReturnNum() + 1)
|
||||||
.doUpdate(Template.class);
|
.doUpdate(Template.class);
|
||||||
|
|
||||||
|
bd.getBusinessDatabase()
|
||||||
|
.eq("document_no", flow.getId())
|
||||||
|
.update("node", "已拒绝")
|
||||||
|
.doUpdate(ApprovalNodeView.class);
|
||||||
// 清除所有待办
|
// 清除所有待办
|
||||||
clearAllTodo(flow);
|
clearAllTodo(flow);
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user