Procházet zdrojové kódy

couponorder

release_toaliyun_real
xhxu před 5 roky
rodič
revize
f7006f3724
1 změnil soubory, kde provedl 13 přidání a 1 odebrání
  1. +13
    -1
      mallinkService/src/main/java/com/iformall/domain/vo/WxCouponOrderBVo.java

+ 13
- 1
mallinkService/src/main/java/com/iformall/domain/vo/WxCouponOrderBVo.java Zobrazit soubor

@@ -65,9 +65,13 @@ public class WxCouponOrderBVo extends WxCouponOrder {
private String priceStr;

@TableField(exist = false)
@Excel(name = "交易价格(元)", width = 20, orderNum = "6")
// @Excel(name = "交易价格(元)", width = 20, orderNum = "6")
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")
@io.swagger.annotations.ApiModelProperty(value = "状态:0,待使用 1,已核销 2,已过期 3,已作废 ", name = "couponOrderStatus")
private Integer couponOrderStatus;
@@ -233,4 +237,12 @@ public class WxCouponOrderBVo extends WxCouponOrder {
return priceStr;
}

public String getCouponPriceStr() {
if(couponPrice!=null) {
DecimalFormat df=new DecimalFormat("0.00");
couponPriceStr = df.format((float)couponPrice/100);
}
return couponPriceStr;
}

}

Načítá se…
Zrušit
Uložit