Commit b4426bf1 by “zcwang”

modify:延期不再修改进心中的状态

parent f370aef1
...@@ -759,11 +759,10 @@ public class ChangeFlowBiz { ...@@ -759,11 +759,10 @@ public class ChangeFlowBiz {
case DELAY: case DELAY:
// 延期不流转工单 // 延期不流转工单
Long changeConfirmResultTime = changeFlowSubmitReq.getChangeConfirmResultTime(); Long changeConfirmResultTime = changeFlowSubmitReq.getChangeConfirmResultTime();
Long tomorrowSpecificTime = DateUtils.getTomorrowSpecificTime("09:00:00"); Long tomorrowSpecificTime = DateUtils.getTomorrowSpecificTime("00:00:00");
Assert.isTrue( Assert.isTrue(
changeConfirmResultTime != null && changeConfirmResultTime >= tomorrowSpecificTime, changeConfirmResultTime != null && changeConfirmResultTime >= tomorrowSpecificTime,
"时间不可晚于下次执行时间"); "时间不可晚于下次执行时间");
changeRecord.setState(ChangeStatusEnum.DELAY.getStatus());
// 更改变更结果确认时间 // 更改变更结果确认时间
changeRecord.setChangeConfirmResultTime(changeConfirmResultTime); changeRecord.setChangeConfirmResultTime(changeConfirmResultTime);
changeRecord.setUpdateTime(DateUtils.getCurrentTime()); changeRecord.setUpdateTime(DateUtils.getCurrentTime());
......
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