xuhy
3 天以前 508f3e225df87e0da974424981e7782fc5ce875c
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
package com.ruoyi.system.export;
 
import cn.afterturn.easypoi.excel.annotation.Excel;
import com.baomidou.mybatisplus.annotation.TableField;
import com.ruoyi.system.domain.TOrderMealGoods;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
 
import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;
import java.util.List;
 
@Data
@ApiModel(value = "餐饮订单Excel")
public class TOrderMealExportExcel implements Serializable {
    @Excel(width = 30,name = "订单编号")
    private String orderNum;
 
    @Excel(width = 30,name = "开台日期")
    private String createStrTime;
 
    @Excel(width = 30,name = "订单金额",isStatistics = true)
    private BigDecimal orderMoney;
 
    @Excel(width = 30,name = "支付金额",isStatistics = true)
    private BigDecimal payMoney;
 
    @Excel(width = 30,name = "支付方式",replace = {"现金_1","支付宝_2","微信_3","银行卡_4","其他_5"})
    private Integer payType;
 
    @Excel(width = 30,name = "桌号")
    private String boardName;
 
    @Excel(width = 30,name = "用餐类型",replace = {"散客_1","宴席_2"})
    private Integer mealType;
 
    @Excel(width = 30,name = "用餐人数")
    private Integer personCount;
 
    @Excel(width = 30,name = "菜品")
    private String goodsList;
 
    @Excel(width = 30,name = "支付状态",replace = {"待付款_1","已付款_2"})
    private Integer status;
 
}