Commit 54e25f2d by guojuxing

发票管理接口

parent 92222b69
package com.gic.enterprise.web.vo;
import java.io.Serializable;
import java.text.ParseException;
import java.text.SimpleDateFormat;
import java.util.Date;
import com.gic.enterprise.constant.BuyTypeEnum;
import com.gic.enterprise.constant.PayTypeEnum;
import java.io.Serializable;
/**
* 未开票列表
* @ClassName: BillListVO

......@@ -32,6 +36,8 @@ public class BillListVO implements Serializable{
* 支付完成时间 (到账时间)
*/
private String timeEnd;
private Date timeEndDate;
/**
* 实付金额
*/
......@@ -84,4 +90,14 @@ public class BillListVO implements Serializable{
public String getBuyTypeStr() {
return BuyTypeEnum.getMessageByCode(buyType);
}
public Date getTimeEndDate() {
SimpleDateFormat format = new SimpleDateFormat("YYYYMMDDHHmmss");
try {
return format.parse(timeEnd);
} catch (ParseException e) {
e.printStackTrace();
}
return null;
}
}
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment