From ac4644662fd32b59e21137d29d1fd502592457a1 Mon Sep 17 00:00:00 2001 From: "jinguo24@163.com" Date: Wed, 22 Aug 2018 21:29:31 +0800 Subject: [PATCH] =?UTF-8?q?[=E4=BA=A4=E6=98=93=E9=87=91=E9=A2=9D=E6=A0=B8?= =?UTF-8?q?=E9=94=80=E9=87=91=E9=A2=9D=E8=AE=B0=E5=BD=95][=E4=BF=AE?= =?UTF-8?q?=E6=94=B9]=E6=9F=A5=E8=AF=A2=E5=88=97=E8=A1=A8=E7=9A=84?= =?UTF-8?q?=E4=BF=AE=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../com/simple/domain/vo/AmountRecordVo.java | 58 ++++++++++++++++++- 1 file changed, 55 insertions(+), 3 deletions(-) diff --git a/mallinkService/src/main/java/com/simple/domain/vo/AmountRecordVo.java b/mallinkService/src/main/java/com/simple/domain/vo/AmountRecordVo.java index cfca6e507..3ab1f4265 100644 --- a/mallinkService/src/main/java/com/simple/domain/vo/AmountRecordVo.java +++ b/mallinkService/src/main/java/com/simple/domain/vo/AmountRecordVo.java @@ -1,6 +1,7 @@ package com.simple.domain.vo; import java.io.Serializable; +import java.text.DecimalFormat; /** * 交易记录核销记录Vo * @author jinguo @@ -15,10 +16,61 @@ public class AmountRecordVo implements Serializable{ * */ private static final long serialVersionUID = 4494858079134918638L; - - List orderAmountList; + //交易金额记录 + private List orderAmountList; + //核销金额记录 + private List verifyAmountList; + + private Integer orderAmount; + + private String orderAmountStr; - List verifyAmountList; + private Integer verifyAmount; + + private String verifyAmountStr; + + public String getOrderAmountStr() { + if(orderAmount!=null) { + DecimalFormat df=new DecimalFormat("0.00"); + orderAmountStr = df.format((float)orderAmount/100); + } + return orderAmountStr; + } + + public String getVerifyAmountStr() { + if(verifyAmount!=null) { + DecimalFormat df=new DecimalFormat("0.00"); + verifyAmountStr = df.format((float)verifyAmount/100); + } + return verifyAmountStr; + } + + public Integer getOrderAmount() { + return orderAmount; + } + + public void setOrderAmount(Integer orderAmount) { + this.orderAmount = orderAmount; + } + + public Integer getVerifyAmount() { + return verifyAmount; + } + + public void setVerifyAmount(Integer verifyAmount) { + this.verifyAmount = verifyAmount; + } + + public void setOrderAmountStr(String orderAmountStr) { + this.orderAmountStr = orderAmountStr; + } + + public void setVerifyAmountStr(String verifyAmountStr) { + this.verifyAmountStr = verifyAmountStr; + } + + + public List getOrderAmountList() { return orderAmountList;