合同作废,状态校验错误提示修改

This commit is contained in:
guojunyun
2025-11-26 10:00:40 +08:00
parent 2a3c10a84d
commit a9a12c3044
2 changed files with 2 additions and 1 deletions

View File

@@ -1589,7 +1589,7 @@ public class ContractServiceImpl implements ContractService {
// 合同状态校验
if (!DictEnum.BSE_CTRT_STS_IN_PROGRESS.getCode().equals(contractMainDO.getStatus())) {
throw exception(CONTRACT_STATUS_NOT_ARCHIVE,
throw exception(CONTRACT_STATUS_NOT_CANCEL,
DictEnum.getByCodeAndType(contractMainDO.getStatus(), DictTypeConstants.BSE_CTRT_STS).getLabel());
}