|
|
@@ -406,7 +406,7 @@ public class KwoTradeOrderService {
|
|
|
throw new BusinessException("不存在该合同信息!");
|
|
|
}
|
|
|
Integer status = contractInfo.getStatus();
|
|
|
- if (!Objects.equals(0, status) || !Objects.equals(1, status)) {
|
|
|
+ if (!Objects.equals(0, status) && !Objects.equals(1, status)) {
|
|
|
throw new BusinessException("合同状态异常!");
|
|
|
}
|
|
|
contract.setContractName(contract.getContractName());
|