Commit 8020e05b authored by huyuchen's avatar huyuchen

huych-合同自动化相关提交

parent 20d4073c
...@@ -130,7 +130,9 @@ public class DoFascTask { ...@@ -130,7 +130,9 @@ public class DoFascTask {
// 加日志 // 加日志
this.saveAuditLogFail(pre, "撤销签署成功", terminationNote); this.saveAuditLogFail(pre, "撤销签署成功", terminationNote);
} }
pre.setProcessStatus(CommonConstants.TEN_STRING); if (!CommonConstants.ELEVEN_STRING.equals(pre.getProcessStatus())) {
pre.setProcessStatus(CommonConstants.TEN_STRING);
}
pre.setSignFlag(CommonConstants.ZERO_STRING); pre.setSignFlag(CommonConstants.ZERO_STRING);
pre.setRevokeReason(terminationNote); pre.setRevokeReason(terminationNote);
tEmployeeContractPreService.updateById(pre); tEmployeeContractPreService.updateById(pre);
...@@ -202,7 +204,9 @@ public class DoFascTask { ...@@ -202,7 +204,9 @@ public class DoFascTask {
// 加日志 // 加日志
this.saveAuditLogFail(preHistory, "撤销签署成功", terminationNote); this.saveAuditLogFail(preHistory, "撤销签署成功", terminationNote);
} }
preHistory.setProcessStatus(CommonConstants.TEN_STRING); if (!CommonConstants.ELEVEN_STRING.equals(preHistory.getProcessStatus())) {
preHistory.setProcessStatus(CommonConstants.TEN_STRING);
}
preHistory.setSignFlag(CommonConstants.ZERO_STRING); preHistory.setSignFlag(CommonConstants.ZERO_STRING);
preHistory.setRevokeReason(terminationNote); preHistory.setRevokeReason(terminationNote);
tEmployeeContractPreHistoryService.updateById(preHistory); tEmployeeContractPreHistoryService.updateById(preHistory);
......
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