|
|
@@ -7,158 +7,170 @@ import lombok.Data;
|
|
|
import java.math.BigDecimal;
|
|
|
import java.util.Date;
|
|
|
|
|
|
+
|
|
|
@Data
|
|
|
public class FsExternalOrderListVO {
|
|
|
|
|
|
private Long orderId;
|
|
|
|
|
|
- @Excel(name = "用户id")
|
|
|
- private Long userId;
|
|
|
-
|
|
|
- @Excel(name = "外部订单号")
|
|
|
+ @Excel(name = "外部订单号", sort = 1)
|
|
|
private String orderCode;
|
|
|
|
|
|
+ @Excel(name = "会员ID", sort = 2)
|
|
|
+ private Long userId;
|
|
|
+
|
|
|
+ @Excel(name = "订单状态", readConverterExp = "-4=订单拒收,-3=已取消,1=未审核,2=审核通过,3=已发货,4=已回款", sort = 3)
|
|
|
+ private Integer status;
|
|
|
+
|
|
|
+ @Excel(name = "订单类型", readConverterExp = "1=外部订单,2=套餐包,3=问诊,4=积分", sort = 4)
|
|
|
+ private Integer orderType;
|
|
|
+
|
|
|
+ @Excel(name = "所属公司", sort = 5)
|
|
|
private String companyName;
|
|
|
|
|
|
+ @Excel(name = "部门", sort = 6)
|
|
|
private String deptName;
|
|
|
|
|
|
+ @Excel(name = "坐席姓名", sort = 7)
|
|
|
private String companyUserName;
|
|
|
|
|
|
- @Excel(name = "收货人")
|
|
|
- private String userName;
|
|
|
+ /** 工号(company_user.user_id) */
|
|
|
+ @Excel(name = "工号", sort = 8)
|
|
|
+ private Long companyUserId;
|
|
|
|
|
|
- @Excel(name = "收货人电话")
|
|
|
- private String userPhone;
|
|
|
+ @Excel(name = "收货人", sort = 9)
|
|
|
+ private String userName;
|
|
|
|
|
|
+ @Excel(name = "会员手机号", sort = 10)
|
|
|
private String memberPhone;
|
|
|
|
|
|
+ @Excel(name = "会员年龄", sort = 11)
|
|
|
private Integer memberAge;
|
|
|
|
|
|
+ @Excel(name = "会员性别", readConverterExp = "1=男,2=女", sort = 12)
|
|
|
private Integer memberSex;
|
|
|
|
|
|
+ @Excel(name = "复购次数", sort = 13)
|
|
|
private Integer memberBuyCount;
|
|
|
|
|
|
+ @Excel(name = "省", sort = 14)
|
|
|
+ private String province;
|
|
|
+
|
|
|
+ @Excel(name = "二级市", sort = 15)
|
|
|
+ private String city;
|
|
|
+
|
|
|
+ @Excel(name = "区县", sort = 16)
|
|
|
+ private String district;
|
|
|
+
|
|
|
+ @Excel(name = "乡镇", sort = 17)
|
|
|
+ private String township;
|
|
|
+
|
|
|
+ @Excel(name = "病名", sort = 18)
|
|
|
+ private String diseaseName;
|
|
|
+
|
|
|
private String productNames;
|
|
|
|
|
|
/** 商品名称*数量(多商品逗号分隔,如:商品A*2,商品B*3) */
|
|
|
- @Excel(name = "商品名称*数量")
|
|
|
+ @Excel(name = "商品名称*数量", sort = 19)
|
|
|
private String productInfo;
|
|
|
|
|
|
/** 商品数量(订单商品总件数,从明细表实时汇总) */
|
|
|
private Long productNum;
|
|
|
|
|
|
+ @Excel(name = "商品总额", sort = 20)
|
|
|
+ private BigDecimal totalPrice;
|
|
|
+
|
|
|
+ @Excel(name = "应收金额", sort = 21)
|
|
|
private BigDecimal receivablePrice;
|
|
|
|
|
|
- @Excel(name = "定金")
|
|
|
+ @Excel(name = "定金(实收)", sort = 22)
|
|
|
private BigDecimal payPrice;
|
|
|
|
|
|
- @Excel(name = "商品总额")
|
|
|
- private BigDecimal totalPrice;
|
|
|
-
|
|
|
- @Excel(name = "代收金额")
|
|
|
+ @Excel(name = "代收金额", sort = 23)
|
|
|
private BigDecimal collectionPrice;
|
|
|
|
|
|
- @Excel(name = "运费金额")
|
|
|
- private BigDecimal freightPrice;
|
|
|
-
|
|
|
- @Excel(name = "支付状态", readConverterExp = "0=待支付,1=已支付")
|
|
|
- private Integer isPay;
|
|
|
+ @Excel(name = "支付方式", dictType = "sys_package_pay_type", sort = 24)
|
|
|
+ private Integer payType;
|
|
|
|
|
|
+ /** 回款时间(已回款时取 updateTime,与列表展示一致) */
|
|
|
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
|
|
|
- @Excel(name = "支付时间", width = 30, dateFormat = "yyyy-MM-dd HH:mm:ss")
|
|
|
- private Date payTime;
|
|
|
+ @Excel(name = "回款时间", width = 30, dateFormat = "yyyy-MM-dd HH:mm:ss", sort = 25)
|
|
|
+ private Date returnTime;
|
|
|
|
|
|
- @Excel(name = "收件人电话")
|
|
|
- private String receiverPhone;
|
|
|
-
|
|
|
- @Excel(name = "回款金额")
|
|
|
- private BigDecimal returnPrice;
|
|
|
-
|
|
|
- @Excel(name = "是否还货", readConverterExp = "1=是,2=否")
|
|
|
- private Integer isReturnGoods;
|
|
|
-
|
|
|
- @Excel(name = "订单商品总数")
|
|
|
- private Long totalNum;
|
|
|
-
|
|
|
- @Excel(name = "详细地址")
|
|
|
- private String userAddress;
|
|
|
-
|
|
|
- private Integer payType;
|
|
|
+ @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
|
|
|
+ private Date updateTime;
|
|
|
|
|
|
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
|
|
|
- @Excel(name = "外部订单创建时间", width = 30, dateFormat = "yyyy-MM-dd HH:mm:ss")
|
|
|
+ @Excel(name = "创建时间", width = 30, dateFormat = "yyyy-MM-dd HH:mm:ss", sort = 26)
|
|
|
private Date externalCreateTime;
|
|
|
|
|
|
- @Excel(name = "订单状态", readConverterExp = "-3=已取消,1=未审核,2=审核通过,3=已发货,4=已回款")
|
|
|
- private Integer status;
|
|
|
-
|
|
|
- @Excel(name = "订单类型", readConverterExp = "1=外部订单,2=套餐包,3=问诊,4=积分")
|
|
|
- private Integer orderType;
|
|
|
-
|
|
|
- @Excel(name = "快递单号")
|
|
|
+ @Excel(name = "快递单号", sort = 27)
|
|
|
private String deliverySn;
|
|
|
|
|
|
- @Excel(name = "快递公司编号")
|
|
|
+ @Excel(name = "快递公司", sort = 28)
|
|
|
private String deliveryCode;
|
|
|
|
|
|
- @Excel(name = "快递名称")
|
|
|
+ @Excel(name = "快递类型", sort = 29)
|
|
|
private String deliveryName;
|
|
|
|
|
|
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
|
|
|
- @Excel(name = "发货时间", width = 30, dateFormat = "yyyy-MM-dd HH:mm:ss")
|
|
|
+ @Excel(name = "发货日期", width = 30, dateFormat = "yyyy-MM-dd HH:mm:ss", sort = 30)
|
|
|
private Date deliveryTime;
|
|
|
|
|
|
- @Excel(name = "物流状态")
|
|
|
+ @Excel(name = "签收状态", dictType = "sys_store_order_delivery_status", sort = 31)
|
|
|
private Integer deliveryStatus;
|
|
|
|
|
|
- @Excel(name = "物流状态类型")
|
|
|
- private String deliveryType;
|
|
|
-
|
|
|
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
|
|
|
- @Excel(name = "物流更新时间", width = 30, dateFormat = "yyyy-MM-dd HH:mm:ss")
|
|
|
- private Date deliveryUpdateTime;
|
|
|
-
|
|
|
- @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
|
|
|
- @Excel(name = "跟单时间", width = 30, dateFormat = "yyyy-MM-dd HH:mm:ss")
|
|
|
+ @Excel(name = "跟单时间", width = 30, dateFormat = "yyyy-MM-dd HH:mm:ss", sort = 32)
|
|
|
private Date followTime;
|
|
|
|
|
|
- @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
|
|
|
- private Date updateTime;
|
|
|
-
|
|
|
- @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
|
|
|
- private Date depositReturnTime;
|
|
|
-
|
|
|
- @Excel(name = "退款金额")
|
|
|
+ @Excel(name = "退款金额", sort = 33)
|
|
|
private BigDecimal refundPrice;
|
|
|
|
|
|
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
|
|
|
- @Excel(name = "退款日期", width = 30, dateFormat = "yyyy-MM-dd HH:mm:ss")
|
|
|
+ @Excel(name = "退款日期", width = 30, dateFormat = "yyyy-MM-dd HH:mm:ss", sort = 34)
|
|
|
private Date refundTime;
|
|
|
|
|
|
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
|
|
|
- @Excel(name = "拒收回退时间", width = 30, dateFormat = "yyyy-MM-dd HH:mm:ss")
|
|
|
+ @Excel(name = "拒收回退时间", width = 30, dateFormat = "yyyy-MM-dd HH:mm:ss", sort = 35)
|
|
|
private Date rejectReturnTime;
|
|
|
|
|
|
- @Excel(name = "备注")
|
|
|
+ @Excel(name = "备注", sort = 36)
|
|
|
private String remark;
|
|
|
|
|
|
- @Excel(name = "审核人")
|
|
|
+ @Excel(name = "审核人", sort = 37)
|
|
|
private String auditor;
|
|
|
|
|
|
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
|
|
|
- @Excel(name = "审核时间", width = 30, dateFormat = "yyyy-MM-dd HH:mm:ss")
|
|
|
+ @Excel(name = "审核时间", width = 30, dateFormat = "yyyy-MM-dd HH:mm:ss", sort = 38)
|
|
|
private Date auditTime;
|
|
|
|
|
|
- @Excel(name = "病名")
|
|
|
- private String diseaseName;
|
|
|
+ private String userPhone;
|
|
|
|
|
|
- private String province;
|
|
|
+ private BigDecimal freightPrice;
|
|
|
|
|
|
- private String city;
|
|
|
+ private Integer isPay;
|
|
|
|
|
|
- private String district;
|
|
|
+ @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
|
|
|
+ private Date payTime;
|
|
|
|
|
|
- private String township;
|
|
|
+ private String receiverPhone;
|
|
|
+
|
|
|
+ private BigDecimal returnPrice;
|
|
|
+
|
|
|
+ private Integer isReturnGoods;
|
|
|
+
|
|
|
+ private Long totalNum;
|
|
|
+
|
|
|
+ private String userAddress;
|
|
|
+
|
|
|
+ private String deliveryType;
|
|
|
+
|
|
|
+ @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
|
|
|
+ private Date deliveryUpdateTime;
|
|
|
+
|
|
|
+ @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
|
|
|
+ private Date depositReturnTime;
|
|
|
|
|
|
private String statusDesc;
|
|
|
|