Parcourir la source

fix:结算单校验

CAYK\miaosen.zhao il y a 6 mois
Parent
commit
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()) {