Browse Source
- 新增 ShopDealerUserImportParam 类用于导入参数 - 在 ShopDealerUserController 中添加 importBatch 方法处理批量导入 - 使用 EasyPOI 库进行 Excel 导入 - 导入过程中设置默认值并保存用户信息pan
2 changed files with 113 additions and 0 deletions
@ -0,0 +1,70 @@ |
|||
package com.gxwebsoft.shop.param; |
|||
|
|||
import cn.afterturn.easypoi.excel.annotation.Excel; |
|||
import lombok.Data; |
|||
|
|||
import java.io.Serializable; |
|||
import java.math.BigDecimal; |
|||
import java.time.LocalDateTime; |
|||
|
|||
/** |
|||
* 分销商用户导入参数 |
|||
* |
|||
* @author 科技小王子 |
|||
* @since 2025-08-11 23:51:41 |
|||
*/ |
|||
@Data |
|||
public class ShopDealerUserImportParam implements Serializable { |
|||
private static final long serialVersionUID = 1L; |
|||
|
|||
@Excel(name = "用户ID") |
|||
private Integer userId; |
|||
|
|||
@Excel(name = "姓名") |
|||
private String realName; |
|||
|
|||
@Excel(name = "手机号") |
|||
private String mobile; |
|||
|
|||
@Excel(name = "支付密码") |
|||
private String payPassword; |
|||
|
|||
@Excel(name = "当前可提现佣金") |
|||
private BigDecimal money; |
|||
|
|||
@Excel(name = "已冻结佣金") |
|||
private BigDecimal freezeMoney; |
|||
|
|||
@Excel(name = "累积提现佣金") |
|||
private BigDecimal totalMoney; |
|||
|
|||
@Excel(name = "推荐人用户ID") |
|||
private Integer refereeId; |
|||
|
|||
@Excel(name = "成员数量(一级)") |
|||
private Integer firstNum; |
|||
|
|||
@Excel(name = "成员数量(二级)") |
|||
private Integer secondNum; |
|||
|
|||
@Excel(name = "成员数量(三级)") |
|||
private Integer thirdNum; |
|||
|
|||
@Excel(name = "专属二维码") |
|||
private String qrcode; |
|||
|
|||
@Excel(name = "排序号") |
|||
private Integer sortNumber; |
|||
|
|||
@Excel(name = "是否删除") |
|||
private Integer isDelete; |
|||
|
|||
@Excel(name = "租户ID") |
|||
private Integer tenantId; |
|||
|
|||
@Excel(name = "创建时间") |
|||
private LocalDateTime createTime; |
|||
|
|||
@Excel(name = "修改时间") |
|||
private LocalDateTime updateTime; |
|||
} |
Loading…
Reference in new issue