|
@@ -1340,8 +1340,8 @@ public class BocomVipAccountBasicInfoServiceImpl extends ServiceImpl<BocomVipAcc
|
|
|
List<BocomVipAccountNoticeInfo> noticeInfoList = new ArrayList<>();
|
|
|
pptmBodyResponse.getNotyQue().forEach(notyQue -> {
|
|
|
|
|
|
- if (notyQue.getNotyPushObj().equals("1")){
|
|
|
- if (4 != vipAccountBasicInfo.getLegalAuthorizationStatus()){
|
|
|
+ if (notyQue.getNotyPushObj().equals("1")) {
|
|
|
+ if (4 != vipAccountBasicInfo.getLegalAuthorizationStatus()) {
|
|
|
//未授权成功时,更新授权码
|
|
|
//全删全进
|
|
|
bocomVipAccountNoticeInfoService.remove(new QueryWrapper<BocomVipAccountNoticeInfo>()
|
|
@@ -1354,8 +1354,8 @@ public class BocomVipAccountBasicInfoServiceImpl extends ServiceImpl<BocomVipAcc
|
|
|
}
|
|
|
|
|
|
}
|
|
|
- }else if (notyQue.getNotyPushObj().equals("2")){
|
|
|
- if (4 != vipAccountBasicInfo.getAuthorizationStatus()){
|
|
|
+ } else if (notyQue.getNotyPushObj().equals("2")) {
|
|
|
+ if (4 != vipAccountBasicInfo.getAuthorizationStatus()) {
|
|
|
//未授权成功时,更新授权码
|
|
|
//全删全进
|
|
|
bocomVipAccountNoticeInfoService.remove(new QueryWrapper<BocomVipAccountNoticeInfo>()
|
|
@@ -2523,22 +2523,22 @@ public class BocomVipAccountBasicInfoServiceImpl extends ServiceImpl<BocomVipAcc
|
|
|
.eq(BocomShareholderActualController::getPersonType, 2)
|
|
|
.one();
|
|
|
List<BocomVipAccountNoticeInfo> noticeInfos = new ArrayList<>();
|
|
|
- if (!"4".equals(bocomVipAccountBasicInfo.getLegalAuthorizationStatus())){
|
|
|
- noticeInfoList.forEach(n->{
|
|
|
- if (n.getNoticeObject().equals("1")) {
|
|
|
- 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 (n.getNoticeObject().equals("1")) {
|
|
|
+ if (basicInfo.getCustomerType() == 0) {
|
|
|
+ n.setAuthenticator(legalPersonInfo.getName());
|
|
|
+ } else if (basicInfo.getCustomerType() == 1) {
|
|
|
+ n.setAuthenticator(actualController.getName());
|
|
|
}
|
|
|
- noticeInfos.add(n);
|
|
|
+
|
|
|
+ }
|
|
|
+ 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);
|
|
|
}
|