trade:下单时,如果是门店自提,增加核销码的生成

This commit is contained in:
YunaiV
2023-09-20 23:21:00 +08:00
parent 1b477aaa0d
commit 35569c5ec8
7 changed files with 48 additions and 40 deletions

View File

@ -18,12 +18,12 @@ public enum DeliveryTypeEnum implements IntArrayValuable {
EXPRESS(1, "快递发货"),
PICK_UP(2, "用户自提"),;
public static final int[] ARRAYS = Arrays.stream(values()).mapToInt(DeliveryTypeEnum::getMode).toArray();
public static final int[] ARRAYS = Arrays.stream(values()).mapToInt(DeliveryTypeEnum::getType).toArray();
/**
* 配送方式
*/
private final Integer mode;
private final Integer type;
/**
* 状态名
*/