保誠-保戶業務員媒合平台
jack
2023-09-08 a4a6976ad5006dfec1c77e60f12b3e91aef549b2
pamapi/src/main/java/com/pollex/pam/service/CustomerService.java
@@ -60,6 +60,8 @@
         String account = getCustomerAccount(registDTO);
         OtpTmp otpTmp = otpTmpService.findByAccountAndIndexKey(account, registDTO.getIndexKey());
         if(otpTmp!=null) {
          if(otpTmp.getStatus() == OtpTmpStatusEnum.VERRIFIED) {
             Customer customer = customerDTOMapper.toCustomer(registDTO);
             customer.setDataFrom(DataFromEnum.PAM);
@@ -72,6 +74,9 @@
          }
      }
      }
   }
    public void updateLoggedCustomer(CustomerDTO customerDTO) {