|
@@ -3,6 +3,10 @@ package com.ruoyi.logistics.domain;
|
|
|
import java.math.BigDecimal;
|
|
import java.math.BigDecimal;
|
|
|
import java.util.Date;
|
|
import java.util.Date;
|
|
|
import com.fasterxml.jackson.annotation.JsonFormat;
|
|
import com.fasterxml.jackson.annotation.JsonFormat;
|
|
|
|
|
+import com.ruoyi.common.core.annotation.Excels;
|
|
|
|
|
+import com.ruoyi.logistics.annotation.Dict;
|
|
|
|
|
+import com.ruoyi.system.api.domain.SysDept;
|
|
|
|
|
+import com.ruoyi.system.api.domain.SysUser;
|
|
|
import org.apache.commons.lang3.builder.ToStringBuilder;
|
|
import org.apache.commons.lang3.builder.ToStringBuilder;
|
|
|
import org.apache.commons.lang3.builder.ToStringStyle;
|
|
import org.apache.commons.lang3.builder.ToStringStyle;
|
|
|
import com.ruoyi.common.core.annotation.Excel;
|
|
import com.ruoyi.common.core.annotation.Excel;
|
|
@@ -22,15 +26,15 @@ public class BizWaybillOrder extends BaseEntity
|
|
|
private Long waybillId;
|
|
private Long waybillId;
|
|
|
|
|
|
|
|
/** 运单号 内部生成 */
|
|
/** 运单号 内部生成 */
|
|
|
- @Excel(name = "运单号 内部生成")
|
|
|
|
|
|
|
+ @Excel(name = "运单号")
|
|
|
private String waybillNo;
|
|
private String waybillNo;
|
|
|
|
|
|
|
|
/** 外部运单号 JD/SF的运单号 */
|
|
/** 外部运单号 JD/SF的运单号 */
|
|
|
- @Excel(name = "外部运单号 JD/SF的运单号")
|
|
|
|
|
|
|
+ @Excel(name = "外部运单号")
|
|
|
private String externalWaybillNo;
|
|
private String externalWaybillNo;
|
|
|
|
|
|
|
|
/** 订单类型 1-非时效件(京东),2-时效件(顺丰) */
|
|
/** 订单类型 1-非时效件(京东),2-时效件(顺丰) */
|
|
|
- @Excel(name = "订单类型 1-非时效件(京东),2-时效件(顺丰)")
|
|
|
|
|
|
|
+ @Excel(name = "订单类型", readConverterExp = "1=京东,2=顺丰")
|
|
|
private Integer orderType;
|
|
private Integer orderType;
|
|
|
|
|
|
|
|
/** 发件人姓名 */
|
|
/** 发件人姓名 */
|
|
@@ -98,36 +102,36 @@ public class BizWaybillOrder extends BaseEntity
|
|
|
private Long goodsQty;
|
|
private Long goodsQty;
|
|
|
|
|
|
|
|
/** 订单状态 */
|
|
/** 订单状态 */
|
|
|
- @Excel(name = "订单状态")
|
|
|
|
|
|
|
+ @Excel(name = "订单状态", readConverterExp = "1=待揽件,2=已揽件,3=运输中,4=派送中,5=已签收,6=已取消")
|
|
|
private Integer orderStatus;
|
|
private Integer orderStatus;
|
|
|
|
|
|
|
|
/** 取件类型 */
|
|
/** 取件类型 */
|
|
|
- @Excel(name = "取件类型")
|
|
|
|
|
|
|
+ @Excel(name = "取件类型", readConverterExp = "1=上门取件,2=自提")
|
|
|
private Integer pickupType;
|
|
private Integer pickupType;
|
|
|
|
|
|
|
|
/** 上门取件开始时间 */
|
|
/** 上门取件开始时间 */
|
|
|
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
|
|
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
|
|
|
- @Excel(name = "上门取件开始时间", width = 30, dateFormat = "yyyy-MM-dd")
|
|
|
|
|
|
|
+ @Excel(name = "上门取件开始时间", width = 30, dateFormat = "yyyy-MM-dd HH:mm:ss")
|
|
|
private Date sendStartTime;
|
|
private Date sendStartTime;
|
|
|
|
|
|
|
|
/** 上门取件结束时间 */
|
|
/** 上门取件结束时间 */
|
|
|
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
|
|
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
|
|
|
- @Excel(name = "上门取件结束时间", width = 30, dateFormat = "yyyy-MM-dd")
|
|
|
|
|
|
|
+ @Excel(name = "上门取件结束时间", width = 30, dateFormat = "yyyy-MM-dd HH:mm:ss")
|
|
|
private Date sendEndTime;
|
|
private Date sendEndTime;
|
|
|
|
|
|
|
|
/** 揽收时间 */
|
|
/** 揽收时间 */
|
|
|
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
|
|
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
|
|
|
- @Excel(name = "揽收时间", width = 30, dateFormat = "yyyy-MM-dd")
|
|
|
|
|
|
|
+ @Excel(name = "揽收时间", width = 30, dateFormat = "yyyy-MM-dd HH:mm:ss")
|
|
|
private Date pickupTime;
|
|
private Date pickupTime;
|
|
|
|
|
|
|
|
/** 派送时间 */
|
|
/** 派送时间 */
|
|
|
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
|
|
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
|
|
|
- @Excel(name = "派送时间", width = 30, dateFormat = "yyyy-MM-dd")
|
|
|
|
|
|
|
+ @Excel(name = "派送时间", width = 30, dateFormat = "yyyy-MM-dd HH:mm:ss")
|
|
|
private Date deliveryTime;
|
|
private Date deliveryTime;
|
|
|
|
|
|
|
|
/** 签收时间 */
|
|
/** 签收时间 */
|
|
|
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
|
|
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
|
|
|
- @Excel(name = "签收时间", width = 30, dateFormat = "yyyy-MM-dd")
|
|
|
|
|
|
|
+ @Excel(name = "签收时间", width = 30, dateFormat = "yyyy-MM-dd HH:mm:ss")
|
|
|
private Date signTime;
|
|
private Date signTime;
|
|
|
|
|
|
|
|
/** 取消原因 */
|
|
/** 取消原因 */
|
|
@@ -150,13 +154,19 @@ public class BizWaybillOrder extends BaseEntity
|
|
|
private String delFlag;
|
|
private String delFlag;
|
|
|
|
|
|
|
|
/** 部门ID */
|
|
/** 部门ID */
|
|
|
- @Excel(name = "部门ID")
|
|
|
|
|
|
|
+// @Excel(name = "部门ID")
|
|
|
private Long deptId;
|
|
private Long deptId;
|
|
|
|
|
|
|
|
|
|
+ @Excel(name = "部门名称")
|
|
|
|
|
+ private String deptName;
|
|
|
|
|
+
|
|
|
/** 用户ID */
|
|
/** 用户ID */
|
|
|
- @Excel(name = "用户ID")
|
|
|
|
|
|
|
+// @Excel(name = "用户ID")
|
|
|
private Long userId;
|
|
private Long userId;
|
|
|
|
|
|
|
|
|
|
+ @Excel(name = "用户昵称")
|
|
|
|
|
+ private String nickName;
|
|
|
|
|
+
|
|
|
/** 产品类型 */
|
|
/** 产品类型 */
|
|
|
@Excel(name = "产品类型")
|
|
@Excel(name = "产品类型")
|
|
|
private String productCode;
|
|
private String productCode;
|
|
@@ -518,6 +528,22 @@ public class BizWaybillOrder extends BaseEntity
|
|
|
this.addedService = addedService;
|
|
this.addedService = addedService;
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
|
|
+ public String getDeptName() {
|
|
|
|
|
+ return deptName;
|
|
|
|
|
+ }
|
|
|
|
|
+
|
|
|
|
|
+ public void setDeptName(String deptName) {
|
|
|
|
|
+ this.deptName = deptName;
|
|
|
|
|
+ }
|
|
|
|
|
+
|
|
|
|
|
+ public String getNickName() {
|
|
|
|
|
+ return nickName;
|
|
|
|
|
+ }
|
|
|
|
|
+
|
|
|
|
|
+ public void setNickName(String nickName) {
|
|
|
|
|
+ this.nickName = nickName;
|
|
|
|
|
+ }
|
|
|
|
|
+
|
|
|
@Override
|
|
@Override
|
|
|
public String toString() {
|
|
public String toString() {
|
|
|
return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
|
|
return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
|