소스 검색

feat(客户信息):修改

Wangyafan 4 주 전
부모
커밋
27314bb253
1개의 변경된 파일2개의 추가작업 그리고 2개의 파일을 삭제
  1. 2 2
      src/main/java/com/inkasso/factoring/bocom/vipaccount/service/impl/BocomVipAccountBasicInfoServiceImpl.java

+ 2 - 2
src/main/java/com/inkasso/factoring/bocom/vipaccount/service/impl/BocomVipAccountBasicInfoServiceImpl.java

@@ -84,7 +84,7 @@ public class BocomVipAccountBasicInfoServiceImpl extends ServiceImpl<BocomVipAcc
 
         QueryWrapper<BocomBasicInfo> queryWrapper = new QueryWrapper<>();
         queryWrapper.eq("user_create", LoginUserHolder.get().getUserName());
-        queryWrapper.notIn("customer_status", "bocomCustomerStatus_fail", "bocomCustomerStatus_failed","");
+        queryWrapper.notIn("customer_status", "bocomCustomerStatus_fail", "bocomCustomerStatus_failed", "");
         queryWrapper.orderByDesc("gmt_modified");
         List<BocomBasicInfo> bocomBasicInfos = bocomBasicInfoService.list(queryWrapper);
         List<BocomVipAccountListVo> voList = new ArrayList<>();
@@ -162,7 +162,7 @@ public class BocomVipAccountBasicInfoServiceImpl extends ServiceImpl<BocomVipAcc
                     vo.setVipAccountBasicInfoList(vipList);
                 }
 
-                if (CollectionUtil.isNotEmpty(vipList) || "bocomCustomerStatus_success".equals(customerStatusDic.getCode())) {
+                if (CollectionUtil.isNotEmpty(vipList) || (customerStatusDic != null && "bocomCustomerStatus_success".equals(customerStatusDic.getCode()))) {
                     //生效:展示;
                     //待生效:不展示-整个卡片都不展示;
                     //终止:如果存在登记簿,则展示;如果不存在,则该卡片整个不展示