Parcourir la source

feat(采购合同):校验

Wangyafan il y a 6 mois
Parent
commit
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();