删除合同:已驳回状态合同可删除
This commit is contained in:
@@ -945,7 +945,8 @@ public class ContractServiceImpl implements ContractService {
|
|||||||
}
|
}
|
||||||
|
|
||||||
// 合同状态校验
|
// 合同状态校验
|
||||||
if (!DictEnum.BSE_CTRT_STS_DRAFT.getCode().equals(contractMainDO.getStatus())) {
|
if (!(DictEnum.BSE_CTRT_STS_DRAFT.getCode().equals(contractMainDO.getStatus())
|
||||||
|
|| DictEnum.BSE_CTRT_STS_REJECTED.getCode().equals(contractMainDO.getStatus()))) {
|
||||||
String msg = id.toString()
|
String msg = id.toString()
|
||||||
+ ":"
|
+ ":"
|
||||||
+ CONTRACT_STATUS_NOT_DELETE.getMsg()
|
+ CONTRACT_STATUS_NOT_DELETE.getMsg()
|
||||||
|
|||||||
Reference in New Issue
Block a user