|
@@ -174,7 +174,7 @@ public class PurchContractServiceImpl extends ServiceImpl<PurchContractMapper, P
|
|
|
}
|
|
|
|
|
|
SalesContractBasicVo basicInfoVo = purchContractVo.getBasicInfo();
|
|
|
- if (basicInfoVo != null) {
|
|
|
+ if (basicInfoVo == null) {
|
|
|
throw new ValidatorException(CodeUtil.FAIL, "基础信息不能为空!");
|
|
|
}
|
|
|
PurchContractManagement oldPurchContractManagement = lambdaQuery()
|