소스 검색

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

Wangyafan 8 달 전
부모
커밋
6a7f7176bd
1개의 변경된 파일2개의 추가작업 그리고 2개의 파일을 삭제
  1. 2 2
      src/main/java/com/sunxung/factoring/service/loanmanagement/impl/ExemptionMattersServiceImpl.java

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