mall:订单列表:增加订单类型的接入

This commit is contained in:
YunaiV
2023-05-20 11:22:43 +08:00
parent be7c664e07
commit e745bb6675
3 changed files with 15 additions and 2 deletions

View File

@ -17,8 +17,11 @@ public enum TradeOrderTypeEnum implements IntArrayValuable {
NORMAL(0, "普通订单"),
SECKILL(1, "秒杀订单"),
TEAM(2, "拼团订单"),
BARGAIN(3, "砍价订单");
// TODO 芋艿:如下三个字段,名字需要改下,等后面表设计完成后。
KANJIA(2, "砍价订单"),
PINTUAN(3, "拼团订单"),
YUSHOU(4, "预售订单"),
;
public static final int[] ARRAYS = Arrays.stream(values()).mapToInt(TradeOrderTypeEnum::getType).toArray();