mirror of
https://gitee.com/dromara/RuoYi-Vue-Plus.git
synced 2026-09-18 17:38:48 +08:00
修改订单明细
This commit is contained in:
parent
c6859d0ee9
commit
21d1518aa1
@ -5,6 +5,8 @@ import com.baomidou.mybatisplus.annotation.*;
|
|||||||
import lombok.Data;
|
import lombok.Data;
|
||||||
import lombok.EqualsAndHashCode;
|
import lombok.EqualsAndHashCode;
|
||||||
import org.dromara.common.translation.annotation.Translation;
|
import org.dromara.common.translation.annotation.Translation;
|
||||||
|
|
||||||
|
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 org.dromara.common.translation.constant.TransConstant;
|
import org.dromara.common.translation.constant.TransConstant;
|
||||||
@ -26,7 +28,7 @@ public class Order extends TenantEntity {
|
|||||||
private static final long serialVersionUID = 1L;
|
private static final long serialVersionUID = 1L;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
@TableId(value = "id")
|
@TableId(value = "id")
|
||||||
private Long id;
|
private Long id;
|
||||||
@ -59,27 +61,27 @@ public class Order extends TenantEntity {
|
|||||||
/**
|
/**
|
||||||
* 销售价格
|
* 销售价格
|
||||||
*/
|
*/
|
||||||
private Long sellingPrice;
|
private BigDecimal sellingPrice;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* 邮费
|
* 邮费
|
||||||
*/
|
*/
|
||||||
private Long mailPrice;
|
private BigDecimal mailPrice;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* 实收价格
|
* 实收价格
|
||||||
*/
|
*/
|
||||||
private Long actualPrice;
|
private BigDecimal actualPrice;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* 订单总额
|
* 订单总额
|
||||||
*/
|
*/
|
||||||
private Long totalPrice;
|
private BigDecimal totalPrice;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* 退款金额
|
* 退款金额
|
||||||
*/
|
*/
|
||||||
private Long refundMoney;
|
private BigDecimal refundMoney;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* 订单状态(0未收款,1已收款,2已发货,3已签收,4已完成,5已取消,6申请退款,7申请退货,8退货已发货,9退货已签收,10退货成功)
|
* 订单状态(0未收款,1已收款,2已发货,3已签收,4已完成,5已取消,6申请退款,7申请退货,8退货已发货,9退货已签收,10退货成功)
|
||||||
|
|||||||
@ -9,6 +9,8 @@ import lombok.Data;
|
|||||||
import lombok.EqualsAndHashCode;
|
import lombok.EqualsAndHashCode;
|
||||||
import jakarta.validation.constraints.*;
|
import jakarta.validation.constraints.*;
|
||||||
import org.dromara.common.translation.annotation.Translation;
|
import org.dromara.common.translation.annotation.Translation;
|
||||||
|
|
||||||
|
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 org.dromara.common.translation.constant.TransConstant;
|
import org.dromara.common.translation.constant.TransConstant;
|
||||||
@ -25,7 +27,7 @@ import org.dromara.common.translation.constant.TransConstant;
|
|||||||
public class OrderBo extends BaseEntity {
|
public class OrderBo extends BaseEntity {
|
||||||
|
|
||||||
/**
|
/**
|
||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
private Long id;
|
private Long id;
|
||||||
|
|
||||||
@ -38,19 +40,16 @@ public class OrderBo extends BaseEntity {
|
|||||||
/**
|
/**
|
||||||
* 顾客电话
|
* 顾客电话
|
||||||
*/
|
*/
|
||||||
@NotBlank(message = "顾客电话不能为空", groups = { AddGroup.class, EditGroup.class })
|
|
||||||
private String customerPhone;
|
private String customerPhone;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* 顾客id
|
* 顾客id
|
||||||
*/
|
*/
|
||||||
@NotNull(message = "顾客id不能为空", groups = { AddGroup.class, EditGroup.class })
|
|
||||||
private Long customerId;
|
private Long customerId;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* 产品名称
|
* 产品名称
|
||||||
*/
|
*/
|
||||||
@NotBlank(message = "产品名称不能为空", groups = { AddGroup.class, EditGroup.class })
|
|
||||||
private String productName;
|
private String productName;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
@ -63,36 +62,31 @@ public class OrderBo extends BaseEntity {
|
|||||||
* 销售价格
|
* 销售价格
|
||||||
*/
|
*/
|
||||||
@NotNull(message = "销售价格不能为空", groups = { AddGroup.class, EditGroup.class })
|
@NotNull(message = "销售价格不能为空", groups = { AddGroup.class, EditGroup.class })
|
||||||
private Long sellingPrice;
|
private BigDecimal sellingPrice;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* 邮费
|
* 邮费
|
||||||
*/
|
*/
|
||||||
@NotNull(message = "邮费不能为空", groups = { AddGroup.class, EditGroup.class })
|
private BigDecimal mailPrice;
|
||||||
private Long mailPrice;
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* 实收价格
|
* 实收价格
|
||||||
*/
|
*/
|
||||||
@NotNull(message = "实收价格不能为空", groups = { AddGroup.class, EditGroup.class })
|
private BigDecimal actualPrice;
|
||||||
private Long actualPrice;
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* 订单总额
|
* 订单总额
|
||||||
*/
|
*/
|
||||||
@NotNull(message = "订单总额不能为空", groups = { AddGroup.class, EditGroup.class })
|
private BigDecimal totalPrice;
|
||||||
private Long totalPrice;
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* 退款金额
|
* 退款金额
|
||||||
*/
|
*/
|
||||||
@NotNull(message = "退款金额不能为空", groups = { AddGroup.class, EditGroup.class })
|
private BigDecimal refundMoney;
|
||||||
private Long refundMoney;
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* 订单状态(0未收款,1已收款,2已发货,3已签收,4已完成,5已取消,6申请退款,7申请退货,8退货已发货,9退货已签收,10退货成功)
|
* 订单状态(0未收款,1已收款,2已发货,3已签收,4已完成,5已取消,6申请退款,7申请退货,8退货已发货,9退货已签收,10退货成功)
|
||||||
*/
|
*/
|
||||||
@NotBlank(message = "订单状态(0未收款,1已收款,2已发货,3已签收,4已完成,5已取消,6申请退款,7申请退货,8退货已发货,9退货已签收,10退货成功)不能为空", groups = { AddGroup.class, EditGroup.class })
|
|
||||||
private String orderStatus;
|
private String orderStatus;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
@ -104,31 +98,26 @@ public class OrderBo extends BaseEntity {
|
|||||||
/**
|
/**
|
||||||
* 支付时间
|
* 支付时间
|
||||||
*/
|
*/
|
||||||
@NotNull(message = "支付时间不能为空", groups = { AddGroup.class, EditGroup.class })
|
|
||||||
private Date payTime;
|
private Date payTime;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* 发货时间
|
* 发货时间
|
||||||
*/
|
*/
|
||||||
@NotNull(message = "发货时间不能为空", groups = { AddGroup.class, EditGroup.class })
|
|
||||||
private Date shipmentTime;
|
private Date shipmentTime;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* 发货图片
|
* 发货图片
|
||||||
*/
|
*/
|
||||||
@NotBlank(message = "发货图片不能为空", groups = { AddGroup.class, EditGroup.class })
|
|
||||||
private String shipmentImage;
|
private String shipmentImage;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* 快递单号
|
* 快递单号
|
||||||
*/
|
*/
|
||||||
@NotBlank(message = "快递单号不能为空", groups = { AddGroup.class, EditGroup.class })
|
|
||||||
private String trackingNumber;
|
private String trackingNumber;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* 备注
|
* 备注
|
||||||
*/
|
*/
|
||||||
@NotBlank(message = "备注不能为空", groups = { AddGroup.class, EditGroup.class })
|
|
||||||
private String remark;
|
private String remark;
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
@ -1,6 +1,8 @@
|
|||||||
package org.dromara.system.domain.vo;
|
package org.dromara.system.domain.vo;
|
||||||
|
|
||||||
import org.dromara.common.translation.annotation.Translation;
|
import org.dromara.common.translation.annotation.Translation;
|
||||||
|
|
||||||
|
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 org.dromara.common.translation.constant.TransConstant;
|
import org.dromara.common.translation.constant.TransConstant;
|
||||||
@ -33,7 +35,7 @@ public class OrderVo implements Serializable {
|
|||||||
private static final long serialVersionUID = 1L;
|
private static final long serialVersionUID = 1L;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
@ExcelProperty(value = "")
|
@ExcelProperty(value = "")
|
||||||
private Long id;
|
private Long id;
|
||||||
@ -77,31 +79,31 @@ public class OrderVo implements Serializable {
|
|||||||
* 销售价格
|
* 销售价格
|
||||||
*/
|
*/
|
||||||
@ExcelProperty(value = "销售价格")
|
@ExcelProperty(value = "销售价格")
|
||||||
private Long sellingPrice;
|
private BigDecimal sellingPrice;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* 邮费
|
* 邮费
|
||||||
*/
|
*/
|
||||||
@ExcelProperty(value = "邮费")
|
@ExcelProperty(value = "邮费")
|
||||||
private Long mailPrice;
|
private BigDecimal mailPrice;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* 实收价格
|
* 实收价格
|
||||||
*/
|
*/
|
||||||
@ExcelProperty(value = "实收价格")
|
@ExcelProperty(value = "实收价格")
|
||||||
private Long actualPrice;
|
private BigDecimal actualPrice;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* 订单总额
|
* 订单总额
|
||||||
*/
|
*/
|
||||||
@ExcelProperty(value = "订单总额")
|
@ExcelProperty(value = "订单总额")
|
||||||
private Long totalPrice;
|
private BigDecimal totalPrice;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* 退款金额
|
* 退款金额
|
||||||
*/
|
*/
|
||||||
@ExcelProperty(value = "退款金额")
|
@ExcelProperty(value = "退款金额")
|
||||||
private Long refundMoney;
|
private BigDecimal refundMoney;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* 订单状态(0未收款,1已收款,2已发货,3已签收,4已完成,5已取消,6申请退款,7申请退货,8退货已发货,9退货已签收,10退货成功)
|
* 订单状态(0未收款,1已收款,2已发货,3已签收,4已完成,5已取消,6申请退款,7申请退货,8退货已发货,9退货已签收,10退货成功)
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user