Pārlūkot izejas kodu

fix:结算单校验

CAYK\miaosen.zhao 6 mēneši atpakaļ
vecāks
revīzija
b8939d6c6b

+ 2 - 2
src/main/java/com/inkasso/factoring/settlement/service/Impl/SettlementManagementServiceImpl.java

@@ -787,7 +787,7 @@ public class SettlementManagementServiceImpl extends ServiceImpl<SettlementBasic
                 if(CollectionUtil.isNotEmpty(cAcceptanceGoodsInfos)){
                     List<SettlementGoodsInfo> settlementGoodsInfos1 = acceptanceGoodsNumbers.get(id);
                     if(CollectionUtil.isNotEmpty(settlementGoodsInfos1) && settlementGoodsInfos1.size() != cAcceptanceGoodsInfos.size()){
-                        throw new BusinessException(CodeUtil.FAIL, "验收单编号:"+basicInfo.getAcceptanceNumber()+"存在货物未选中结算,请新选择结算货物");
+                        throw new BusinessException(CodeUtil.FAIL, "验收单编号:"+basicInfo.getAcceptanceNumber()+",存在货物未选中结算,请新选择结算货物");
                     }
                 }
                 if (basicInfo.getSettlement()) {
@@ -1080,7 +1080,7 @@ public class SettlementManagementServiceImpl extends ServiceImpl<SettlementBasic
                 if(CollectionUtil.isNotEmpty(cAcceptanceGoodsInfos)){
                     List<SettlementGoodsInfo> settlementGoodsInfos1 = acceptanceGoodsNumbers.get(id);
                     if(CollectionUtil.isNotEmpty(settlementGoodsInfos1) && settlementGoodsInfos1.size() != cAcceptanceGoodsInfos.size()){
-                        throw new BusinessException(CodeUtil.FAIL, "验收单编号:"+basicInfo.getAcceptanceNumber()+"存在货物未选中结算,请新选择结算货物");
+                        throw new BusinessException(CodeUtil.FAIL, "验收单编号:"+basicInfo.getAcceptanceNumber()+",存在货物未选中结算,请新选择结算货物");
                     }
                 }
                 if (basicInfo.getSettlement()) {