REQ-3581: 接口

This commit is contained in:
yanglin 2025-02-27 09:51:25 +08:00
parent 339b72bc6e
commit 9b88c9e1ec

View File

@ -104,7 +104,8 @@ public class ContractManager {
EssContract reload = essContractDao.findForUpdateOrNull(contract.getEssContractId());
BizAssertions.assertNotNull(reload, "合同不存在: {}", contract.getEssContractId());
if (reload.isFinalState()) {
log.warn("合同[{}]已是最终状态[{}], 无法更新状态至{}", reload.getEssContractId(), reload.getState(), state);
log.warn("合同[{}]已是最终状态[{}], 无法更新状态至{}", reload.getEssContractId(), reload.getState(),
state.getDescription());
}
else {
essContractDao.updateState(contract, state, approveDetails, essMessage);