合同作废,状态校验错误提示修改
This commit is contained in:
@@ -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());
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user