Merge branch 'cc_20251112_wallet' into 'master'

Cc 20251112 wallet

See merge request hangzhou/java/custom_zxjp!196
This commit is contained in:
苏竹红
2025-11-28 08:47:13 +00:00
5 changed files with 24 additions and 1 deletions

View File

@@ -66,6 +66,9 @@ public class AccountInfoDTO {
@ApiModelProperty(value = "账户余额", required = true) @ApiModelProperty(value = "账户余额", required = true)
private String totalAmount; private String totalAmount;
@ApiModelProperty(value = "可提现余额", required = true)
private String withdrawAmount;
@ApiModelProperty(value = "打标状态 0 未打标 1 已打标", required = true) @ApiModelProperty(value = "打标状态 0 未打标 1 已打标", required = true)
private Integer labelingStatus; private Integer labelingStatus;

View File

@@ -1,5 +1,6 @@
package com.cool.store.dto.wallet; package com.cool.store.dto.wallet;
import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
import io.swagger.annotations.ApiModelProperty; import io.swagger.annotations.ApiModelProperty;
import lombok.Data; import lombok.Data;
@@ -9,9 +10,13 @@ import lombok.Data;
* @Version 1.0 * @Version 1.0
*/ */
@Data @Data
@JsonIgnoreProperties(ignoreUnknown = true)
public class PasswordDTO { public class PasswordDTO {
@ApiModelProperty(value = "密码是否已存在 1.存在 2.不存在", required = true) @ApiModelProperty(value = "密码是否已存在 1.存在 2.不存在", required = true)
private Integer isExist; private Integer isExist;
@ApiModelProperty(value = "是否已存在账户 1.存在 2.不存在", required = true)
private Boolean isExistAccount;
} }

View File

@@ -37,6 +37,9 @@ public class AccountInfoVO {
@ApiModelProperty(value = "账户余额") @ApiModelProperty(value = "账户余额")
private String totalAmount; private String totalAmount;
@ApiModelProperty(value = "可提现余额", required = true)
private String withdrawAmount;
@ApiModelProperty(value = "打标状态 0 未打标 1 已打标") @ApiModelProperty(value = "打标状态 0 未打标 1 已打标")
private Integer labelingStatus; private Integer labelingStatus;

View File

@@ -66,6 +66,10 @@ public class AccountPageVO {
@ApiModelProperty(value = "账户余额", required = true) @ApiModelProperty(value = "账户余额", required = true)
private String totalAmount; private String totalAmount;
@ApiModelProperty(value = "可提现余额", required = true)
private String withdrawAmount;
@ApiModelProperty(value = "打标状态 0 未打标 1 已打标", required = true) @ApiModelProperty(value = "打标状态 0 未打标 1 已打标", required = true)
private Integer labelingStatus; private Integer labelingStatus;

View File

@@ -378,7 +378,14 @@ public class WalletServiceImpl implements WalletService {
@Override @Override
public PasswordDTO existPassword(OutStoreIdRequest request) { 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 @Override
@@ -510,6 +517,7 @@ public class WalletServiceImpl implements WalletService {
openBasicInfoDTO.setSignerIdCardFront(openBankInfo.getSignerIdCardFront()); openBasicInfoDTO.setSignerIdCardFront(openBankInfo.getSignerIdCardFront());
openBasicInfoDTO.setSignerIdCardBack(openBankInfo.getSignerIdCardBack()); openBasicInfoDTO.setSignerIdCardBack(openBankInfo.getSignerIdCardBack());
openBasicInfoDTO.setBusinessLicenseName(openBankInfo.getBusinessLicenseName()); openBasicInfoDTO.setBusinessLicenseName(openBankInfo.getBusinessLicenseName());
openBasicInfoDTO.setBusinessLicensePhoto(openBankInfo.getBusinessLicensePhoto());
openBasicInfoDTO.setBusinessLicenseCode(openBankInfo.getBusinessLicenseCode()); openBasicInfoDTO.setBusinessLicenseCode(openBankInfo.getBusinessLicenseCode());
openBasicInfoDTO.setSettlementCard(openBankInfo.getSettlementCard()); openBasicInfoDTO.setSettlementCard(openBankInfo.getSettlementCard());
openBasicInfoDTO.setBankBranchName(openBankInfo.getBankBranchName()); openBasicInfoDTO.setBankBranchName(openBankInfo.getBankBranchName());