From a8e56f03a22c722ccf3f67a408919e6c8f256de3 Mon Sep 17 00:00:00 2001 From: jiangqs <jiangqs> Date: 星期四, 10 八月 2023 01:45:01 +0800 Subject: [PATCH] bug --- ruoyi-modules/ruoyi-order/src/main/java/com/ruoyi/order/domain/vo/MerOrderPageVo.java | 22 +++++++++++++++++++++- 1 files changed, 21 insertions(+), 1 deletions(-) diff --git a/ruoyi-modules/ruoyi-order/src/main/java/com/ruoyi/order/domain/vo/MerOrderPageVo.java b/ruoyi-modules/ruoyi-order/src/main/java/com/ruoyi/order/domain/vo/MerOrderPageVo.java index ada646a..86efe09 100644 --- a/ruoyi-modules/ruoyi-order/src/main/java/com/ruoyi/order/domain/vo/MerOrderPageVo.java +++ b/ruoyi-modules/ruoyi-order/src/main/java/com/ruoyi/order/domain/vo/MerOrderPageVo.java @@ -1,7 +1,8 @@ package com.ruoyi.order.domain.vo; -import com.baomidou.mybatisplus.annotation.TableField; import com.fasterxml.jackson.annotation.JsonFormat; +import com.fasterxml.jackson.databind.annotation.JsonSerialize; +import com.fasterxml.jackson.databind.ser.std.ToStringSerializer; import io.swagger.annotations.ApiModelProperty; import lombok.Data; @@ -25,6 +26,9 @@ @ApiModelProperty(value = "用户姓名") private String userName; + @ApiModelProperty(value = "用户昵称") + private String nickName; + @ApiModelProperty(value = "用户电话") private String userMobile; @@ -37,22 +41,35 @@ @ApiModelProperty(value = "订单状态0.已取消1.待支付2.待核销3.已完成") private Integer orderStatus; + @ApiModelProperty(value = "支付方式1.全款2.订金") + private Integer payType; + @ApiModelProperty(value = "商品总价") + @JsonSerialize(using = ToStringSerializer.class) private BigDecimal orderGoodsMoney; @ApiModelProperty(value = "优惠券抵扣") + @JsonSerialize(using = ToStringSerializer.class) private BigDecimal couponDiscount; @ApiModelProperty(value="应收金额") + @JsonSerialize(using = ToStringSerializer.class) private BigDecimal receivableMoney; @ApiModelProperty(value="应收订金") + @JsonSerialize(using = ToStringSerializer.class) private BigDecimal receivableDeposit; @ApiModelProperty(value="订单实际支付金额") + @JsonSerialize(using = ToStringSerializer.class) private BigDecimal payMoney; + @ApiModelProperty(value="订单已收金额") + @JsonSerialize(using = ToStringSerializer.class) + private BigDecimal receiveMoney; + @ApiModelProperty(value="订单未支付金额") + @JsonSerialize(using = ToStringSerializer.class) private BigDecimal unPaidMoney; @ApiModelProperty(value="订单备注") @@ -68,6 +85,9 @@ @ApiModelProperty(value="订单来源") private String orderFromDesc; + @ApiModelProperty(value="活动名字") + private String activityName; + @ApiModelProperty(value="订单商品列表") private List<MerOrderGoodsPageVo> merOrderGoodsVoList; } -- Gitblit v1.7.1