Quellcode durchsuchen

fix:(豁免事项跟进):bug修复

Wangyafan vor 8 Monaten
Ursprung
Commit
6a7f7176bd

+ 2 - 2
src/main/java/com/sunxung/factoring/service/loanmanagement/impl/ExemptionMattersServiceImpl.java

@@ -169,8 +169,8 @@ public class ExemptionMattersServiceImpl extends ServiceImpl<ExemptionMattersMap
         PaymentInfo paymentInfo = paymentInfoService.getById(paymentApply.getPaymentInfoId());
 
         List<PaymentCondition> conditions = paymentApplyService.findConditions(paymentApplyId);
-        boolean anyMatch = conditions.stream().anyMatch(r -> r.getFollow().equals("1"));
-        if (anyMatch){
+        boolean anyMatch = conditions.stream().anyMatch(r -> r.getFollow() != null && r.getFollow().equals("1"));
+        if (anyMatch) {
             //获取项目经理
             ProjectInformationVo projectInformationVo = projectInformationService.getByBusinessNo(paymentInfo.getBusinessNo());
             ProjectInformation projectInformation = projectInformationService.get(projectInformationVo.getProjectInformationId());