浏览代码

feat(采购合同):校验

Wangyafan 6 月之前
父节点
当前提交
f6393d698a

+ 1 - 1
src/main/java/com/sunxung/factoring/service/purchcontractmanagement/impl/PurchContractServiceImpl.java

@@ -180,7 +180,7 @@ public class PurchContractServiceImpl extends ServiceImpl<PurchContractMapper, P
         PurchContractManagement oldPurchContractManagement = lambdaQuery()
                 .eq(PurchContractManagement::getBusinessNumber, basicInfoVo.getBusinessNumber()).one();
         if (oldPurchContractManagement != null && purchContractVo.getBusinessKey() == null) {
-            throw new ValidatorException(CodeUtil.FAIL, "已经存在项目名称为——" + basicInfoVo.getProjectName() + "——的采购合同,请勿重复提交!");
+            throw new ValidatorException(CodeUtil.FAIL, "已经存在项目名称为" + basicInfoVo.getProjectName() + "的采购合同,请勿重复提交!");
         }
 
         PurchContractBasicInfo basicInfo = purchContractVo.getPurchContractBasicInfo();