Quellcode durchsuchen

feat(对接交行):授权人修改

Wangyafan vor 1 Monat
Ursprung
Commit
1bb7adf90c

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

@@ -206,7 +206,7 @@ public class BocomVipAccountBasicInfoServiceImpl extends ServiceImpl<BocomVipAcc
             }
         }
         if (basicInfo.getCustomerType() != null) {
-            if (0 == newBasicInfo.getCustomerType()) {
+            if (0 == basicInfo.getCustomerType()) {
                 BocomLegalPersonInfo legalPersonInfo = bocomLegalPersonInfoService.lambdaQuery()
                         .eq(BocomLegalPersonInfo::getBocomBasicInfoId, basicInfo.getId())
                         .one();
@@ -214,7 +214,7 @@ public class BocomVipAccountBasicInfoServiceImpl extends ServiceImpl<BocomVipAcc
                     newBasicInfo.setAuthenticator(legalPersonInfo.getName());
                 }
             }
-            if (1 == newBasicInfo.getCustomerType()) {
+            if (1 == basicInfo.getCustomerType()) {
                 List<BocomShareholderActualController> shareholderActualControllerList = bocomShareholderActualControllerService.lambdaQuery()
                         .eq(BocomShareholderActualController::getBocomBasicInfoId, basicInfo.getId())
                         .orderByDesc(BocomShareholderActualController::getGmtCreate)
@@ -226,7 +226,7 @@ public class BocomVipAccountBasicInfoServiceImpl extends ServiceImpl<BocomVipAcc
                     }
                 }
             }
-            if (2 == newBasicInfo.getCustomerType()) {
+            if (2 == basicInfo.getCustomerType()) {
                 newBasicInfo.setAuthenticator(basicInfo.getCustomerName());
             }
         }