Merge branch 'cc_20251112_wallet' into 'master'
Cc 20251112 wallet See merge request hangzhou/java/custom_zxjp!196
This commit is contained in:
@@ -66,6 +66,9 @@ public class AccountInfoDTO {
|
||||
@ApiModelProperty(value = "账户余额", required = true)
|
||||
private String totalAmount;
|
||||
|
||||
@ApiModelProperty(value = "可提现余额", required = true)
|
||||
private String withdrawAmount;
|
||||
|
||||
@ApiModelProperty(value = "打标状态 0 未打标 1 已打标", required = true)
|
||||
private Integer labelingStatus;
|
||||
|
||||
|
||||
@@ -1,5 +1,6 @@
|
||||
package com.cool.store.dto.wallet;
|
||||
|
||||
import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
|
||||
import io.swagger.annotations.ApiModelProperty;
|
||||
import lombok.Data;
|
||||
|
||||
@@ -9,9 +10,13 @@ import lombok.Data;
|
||||
* @Version 1.0
|
||||
*/
|
||||
@Data
|
||||
@JsonIgnoreProperties(ignoreUnknown = true)
|
||||
public class PasswordDTO {
|
||||
|
||||
@ApiModelProperty(value = "密码是否已存在 1.存在 2.不存在", required = true)
|
||||
private Integer isExist;
|
||||
|
||||
@ApiModelProperty(value = "是否已存在账户 1.存在 2.不存在", required = true)
|
||||
private Boolean isExistAccount;
|
||||
|
||||
}
|
||||
|
||||
@@ -37,6 +37,9 @@ public class AccountInfoVO {
|
||||
@ApiModelProperty(value = "账户余额")
|
||||
private String totalAmount;
|
||||
|
||||
@ApiModelProperty(value = "可提现余额", required = true)
|
||||
private String withdrawAmount;
|
||||
|
||||
@ApiModelProperty(value = "打标状态 0 未打标 1 已打标")
|
||||
private Integer labelingStatus;
|
||||
|
||||
|
||||
@@ -66,6 +66,10 @@ public class AccountPageVO {
|
||||
@ApiModelProperty(value = "账户余额", required = true)
|
||||
private String totalAmount;
|
||||
|
||||
@ApiModelProperty(value = "可提现余额", required = true)
|
||||
private String withdrawAmount;
|
||||
|
||||
|
||||
@ApiModelProperty(value = "打标状态 0 未打标 1 已打标", required = true)
|
||||
private Integer labelingStatus;
|
||||
|
||||
|
||||
@@ -378,7 +378,14 @@ public class WalletServiceImpl implements WalletService {
|
||||
|
||||
@Override
|
||||
public PasswordDTO existPassword(OutStoreIdRequest request) {
|
||||
return walletApiService.passwordIsExist( request);
|
||||
PasswordDTO passwordDTO = walletApiService.passwordIsExist(request);
|
||||
List<AccountInfoDTO> list = walletApiService.getAccountInfo(request);
|
||||
Boolean isExistAccount = false;
|
||||
if (CollectionUtils.isNotEmpty( list)){
|
||||
isExistAccount = Boolean.TRUE;
|
||||
}
|
||||
passwordDTO.setIsExistAccount(isExistAccount);
|
||||
return passwordDTO;
|
||||
}
|
||||
|
||||
@Override
|
||||
@@ -510,6 +517,7 @@ public class WalletServiceImpl implements WalletService {
|
||||
openBasicInfoDTO.setSignerIdCardFront(openBankInfo.getSignerIdCardFront());
|
||||
openBasicInfoDTO.setSignerIdCardBack(openBankInfo.getSignerIdCardBack());
|
||||
openBasicInfoDTO.setBusinessLicenseName(openBankInfo.getBusinessLicenseName());
|
||||
openBasicInfoDTO.setBusinessLicensePhoto(openBankInfo.getBusinessLicensePhoto());
|
||||
openBasicInfoDTO.setBusinessLicenseCode(openBankInfo.getBusinessLicenseCode());
|
||||
openBasicInfoDTO.setSettlementCard(openBankInfo.getSettlementCard());
|
||||
openBasicInfoDTO.setBankBranchName(openBankInfo.getBankBranchName());
|
||||
|
||||
Reference in New Issue
Block a user