ソースを参照

feat(采购合同):校验

Wangyafan 6 ヶ月 前
コミット
f6393d698a
共有1 個のファイルを変更した1 個の追加1 個の削除を含む
  1. 1 1
      src/main/java/com/sunxung/factoring/service/purchcontractmanagement/impl/PurchContractServiceImpl.java

+ 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();