소스 검색

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