Browse Source
- 新增售电云分销订单控制器SdyDealerOrderController - 实现Excel批量导入售电云分销订单功能 - 添加订单结算接口,支持更新结算状态和时间 - 创建售电云分销订单导入参数类SdyDealerOrderImportParam - 在ShopDealerOrder实体中添加用户昵称和分销商昵称字段- 扩展ShopDealerOrderMapper.xml关联查询用户信息- 增加订单备注字段comments及查询条件支持- 实现通过经销商名称获取申请信息的方法getByDealerNameRel- 在导入逻辑中检查重复数据并跳过已存在记录 - 添加佣金比例rate和单价price字段支持dev3
1 changed files with 61 additions and 0 deletions
@ -0,0 +1,61 @@ |
|||||
|
package com.gxwebsoft.shop.param; |
||||
|
|
||||
|
import cn.afterturn.easypoi.excel.annotation.Excel; |
||||
|
import lombok.Data; |
||||
|
|
||||
|
import java.math.BigDecimal; |
||||
|
import java.io.Serializable; |
||||
|
import java.time.LocalDateTime; |
||||
|
|
||||
|
/** |
||||
|
* 分销商订单记录表导入参数 |
||||
|
* |
||||
|
* @author 科技小王子 |
||||
|
* @since 2025-08-12 11:55:18 |
||||
|
*/ |
||||
|
@Data |
||||
|
public class ShopDealerOrderImportParam implements Serializable { |
||||
|
private static final long serialVersionUID = 1L; |
||||
|
|
||||
|
@Excel(name = "主键ID") |
||||
|
private Integer id; |
||||
|
|
||||
|
@Excel(name = "买家用户ID") |
||||
|
private Integer userId; |
||||
|
|
||||
|
@Excel(name = "订单ID") |
||||
|
private Integer orderId; |
||||
|
|
||||
|
@Excel(name = "订单总金额") |
||||
|
private BigDecimal orderPrice; |
||||
|
|
||||
|
@Excel(name = "一级分销商ID") |
||||
|
private Integer firstUserId; |
||||
|
|
||||
|
@Excel(name = "二级分销商ID") |
||||
|
private Integer secondUserId; |
||||
|
|
||||
|
@Excel(name = "三级分销商ID") |
||||
|
private Integer thirdUserId; |
||||
|
|
||||
|
@Excel(name = "一级佣金") |
||||
|
private BigDecimal firstMoney; |
||||
|
|
||||
|
@Excel(name = "二级佣金") |
||||
|
private BigDecimal secondMoney; |
||||
|
|
||||
|
@Excel(name = "三级佣金") |
||||
|
private BigDecimal thirdMoney; |
||||
|
|
||||
|
@Excel(name = "订单状态") |
||||
|
private Integer isInvalid; |
||||
|
|
||||
|
@Excel(name = "结算状态") |
||||
|
private Integer isSettled; |
||||
|
|
||||
|
@Excel(name = "结算时间") |
||||
|
private LocalDateTime settleTime; |
||||
|
|
||||
|
@Excel(name = "租户ID") |
||||
|
private Integer tenantId; |
||||
|
} |
Loading…
Reference in new issue