feat:钱包权限
This commit is contained in:
1 parent
732ee6b6fd
commit
8d4c772ee8
36 files changed
+372
-65
No files matched your search
+1
-1
@@ -27,7 +27,7 @@ public class WalletDataUtil {
|
||||
return v;
|
||||
}
|
||||
|
||||
public <T extends BaseWalletTypeInterface> List<T> convertWalletTYpeList(List<T> list, Map<Long, WalletTypeEntity> map) {
|
||||
public <T extends BaseWalletTypeInterface> List<T> convertWalletTypeList(List<T> list, Map<Long, WalletTypeEntity> map) {
|
||||
return CollectionUtils.convertList(list, v -> convertWalletType(v, map.get(v.getWalletTypeId())));
|
||||
}
|
||||
|
||||
|
||||
+5
@@ -23,5 +23,10 @@ public class WalletFreezeVo extends WalletFreezeEntity implements BaseUserInterf
|
||||
|
||||
private String deptName;
|
||||
|
||||
/**
|
||||
* 钱包相关
|
||||
*/
|
||||
private Long walletTypeId;
|
||||
|
||||
private String cardNumber;
|
||||
}
|
||||
+6
-3
@@ -3,20 +3,23 @@ package com.bsd.pjcloud.wallet.api.vo;
|
||||
import com.bsd.pjcloud.admin.api.vo.base.BaseDeptInterface;
|
||||
import com.bsd.pjcloud.admin.api.vo.base.BaseUserInterface;
|
||||
import com.bsd.pjcloud.wallet.api.entity.WalletManageEntity;
|
||||
import com.bsd.pjcloud.wallet.api.vo.base.BaseWalletTypeInterface;
|
||||
import lombok.Data;
|
||||
|
||||
|
||||
@Data
|
||||
public class WalletManageVo extends WalletManageEntity implements BaseUserInterface, BaseDeptInterface {
|
||||
public class WalletManageVo extends WalletManageEntity implements BaseUserInterface, BaseDeptInterface, BaseWalletTypeInterface {
|
||||
|
||||
/**
|
||||
* 钱包类型名
|
||||
* 钱包类型
|
||||
*/
|
||||
private Long walletTypeId;
|
||||
|
||||
private String walletTypeName;
|
||||
|
||||
private String walletTypeUniqueCode;
|
||||
|
||||
private String walletIcon;
|
||||
private String walletTypeIcon;
|
||||
|
||||
/**
|
||||
* 用户相关
|
||||
|
||||
+9
-2
@@ -3,14 +3,21 @@ package com.bsd.pjcloud.wallet.api.vo.recharge;
|
||||
import com.bsd.pjcloud.admin.api.vo.base.BaseDeptInterface;
|
||||
import com.bsd.pjcloud.admin.api.vo.base.BaseUserInterface;
|
||||
import com.bsd.pjcloud.wallet.api.entity.recharge.WalletRechargeApplyEntity;
|
||||
import com.bsd.pjcloud.wallet.api.vo.base.BaseWalletTypeInterface;
|
||||
import lombok.Data;
|
||||
|
||||
@Data
|
||||
public class WalletRechargeApplyVo extends WalletRechargeApplyEntity implements BaseUserInterface, BaseDeptInterface {
|
||||
public class WalletRechargeApplyVo extends WalletRechargeApplyEntity implements BaseUserInterface, BaseDeptInterface, BaseWalletTypeInterface {
|
||||
/**
|
||||
* 钱包类型相关
|
||||
*/
|
||||
private Long walletTypeId;
|
||||
|
||||
private String walletTypeName;
|
||||
|
||||
private String uniqueCode;
|
||||
private String walletTypeUniqueCode;
|
||||
|
||||
private String walletTypeIcon;
|
||||
|
||||
/**
|
||||
* 用户相关
|
||||
|
||||
Reference in new issue
Block a user