소스 검색

feat(会员登记簿):授权

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

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

@@ -458,21 +458,21 @@ public class BocomVipAccountBasicInfoServiceImpl extends ServiceImpl<BocomVipAcc
                     .one();
 
             List<BocomVipAccountNoticeInfo> noticeInfos = new ArrayList<>();
-            if (!"4".equals(bocomVipAccountBasicInfo.getLegalAuthorizationStatus())){
-                noticeInfoList.forEach(n->{
-                    if ("1".equals(n.getNoticeObject())){
-                            if (basicInfo.getCustomerType() == 0) {
-                                n.setAuthenticator(legalPersonInfo.getName());
-                            } else if (basicInfo.getCustomerType() == 1) {
-                                n.setAuthenticator(actualController.getName());
-                            }
+            if (4 != bocomVipAccountBasicInfo.getLegalAuthorizationStatus()) {
+                noticeInfoList.forEach(n -> {
+                    if ("1".equals(n.getNoticeObject())) {
+                        if (basicInfo.getCustomerType() == 0) {
+                            n.setAuthenticator(legalPersonInfo.getName());
+                        } else if (basicInfo.getCustomerType() == 1) {
+                            n.setAuthenticator(actualController.getName());
+                        }
                         noticeInfos.add(n);
                     }
                 });
             }
-            if (!"4".equals(bocomVipAccountBasicInfo.getAuthorizationStatus())){
-                noticeInfoList.forEach(n->{
-                    if ("2".equals(n.getNoticeObject())){
+            if (4 != bocomVipAccountBasicInfo.getAuthorizationStatus()) {
+                noticeInfoList.forEach(n -> {
+                    if ("2".equals(n.getNoticeObject())) {
                         n.setAuthenticator(authorizedAgent.getName());
                         noticeInfos.add(n);
                     }