| @@ -65,9 +65,13 @@ public class WxCouponOrderBVo extends WxCouponOrder { | |||||
| private String priceStr; | private String priceStr; | ||||
| @TableField(exist = false) | @TableField(exist = false) | ||||
| @Excel(name = "交易价格(元)", width = 20, orderNum = "6") | |||||
| // @Excel(name = "交易价格(元)", width = 20, orderNum = "6") | |||||
| private String salePriceStr; | private String salePriceStr; | ||||
| @Excel(name = "交易价格(元)", width = 20, orderNum = "6") | |||||
| @TableField(exist = false) | |||||
| private String couponPriceStr; | |||||
| @Excel(name = "状态", width = 20, replace = {"待使用_0", "已核销_1", "已过期_2", "已退款_3"}, orderNum = "14") | @Excel(name = "状态", width = 20, replace = {"待使用_0", "已核销_1", "已过期_2", "已退款_3"}, orderNum = "14") | ||||
| @io.swagger.annotations.ApiModelProperty(value = "状态:0,待使用 1,已核销 2,已过期 3,已作废 ", name = "couponOrderStatus") | @io.swagger.annotations.ApiModelProperty(value = "状态:0,待使用 1,已核销 2,已过期 3,已作废 ", name = "couponOrderStatus") | ||||
| private Integer couponOrderStatus; | private Integer couponOrderStatus; | ||||
| @@ -233,4 +237,12 @@ public class WxCouponOrderBVo extends WxCouponOrder { | |||||
| return priceStr; | return priceStr; | ||||
| } | } | ||||
| public String getCouponPriceStr() { | |||||
| if(couponPrice!=null) { | |||||
| DecimalFormat df=new DecimalFormat("0.00"); | |||||
| couponPriceStr = df.format((float)couponPrice/100); | |||||
| } | |||||
| return couponPriceStr; | |||||
| } | |||||
| } | } | ||||