Commit 62870f83 by 崔彦峰

modify:列表。

1 parent 7e6e361c
package cn.com.glsx.dj.staff.vo.excel.excel; package cn.com.glsx.dj.staff.vo.excel.excel;
import com.alibaba.excel.annotation.ExcelProperty; import com.alibaba.excel.annotation.ExcelProperty;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data; import lombok.Data;
import org.oreframework.commons.office.easyexcel.annotation.ExcelMergeRow; import org.oreframework.commons.office.easyexcel.annotation.ExcelMergeRow;
import org.oreframework.commons.office.easyexcel.annotation.ExcelValueReplace; import org.oreframework.commons.office.easyexcel.annotation.ExcelValueReplace;
import org.oreframework.commons.office.easyexcel.converter.ReplaceByteToStringConvert; import org.oreframework.commons.office.easyexcel.converter.ReplaceByteToStringConvert;
import org.springframework.format.annotation.DateTimeFormat;
/** /**
* @Title: 有效引荐复核导出VO * @Title: 有效引荐复核导出VO
...@@ -25,9 +27,9 @@ public class EffectiveReferralReviewAuditExportVO { ...@@ -25,9 +27,9 @@ public class EffectiveReferralReviewAuditExportVO {
private String merchantName; private String merchantName;
/** /**
* 业务场景 * 业务场景 1-精品升级(轻改);2-会员权益(广联权益);3-单延保;
*/ */
@ExcelValueReplace(replace={"待复核_0","已复核_1","已失效_2"},repeatValue=true) @ExcelValueReplace(replace={"轻改_1","广联权益_2","单延保_3"},repeatValue=true)
@ExcelProperty(value = "业务场景",converter= ReplaceByteToStringConvert.class) @ExcelProperty(value = "业务场景",converter= ReplaceByteToStringConvert.class)
@ExcelMergeRow(columIndex = 2) @ExcelMergeRow(columIndex = 2)
private Byte sceneType; private Byte sceneType;
...@@ -78,6 +80,8 @@ public class EffectiveReferralReviewAuditExportVO { ...@@ -78,6 +80,8 @@ public class EffectiveReferralReviewAuditExportVO {
* 区域经理-提交时间 * 区域经理-提交时间
*/ */
@ExcelProperty(value = "提交时间") @ExcelProperty(value = "提交时间")
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
@DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
@ExcelMergeRow(columIndex = 9) @ExcelMergeRow(columIndex = 9)
private String managerCommitTime; private String managerCommitTime;
......
...@@ -28,11 +28,12 @@ public class EffectiveReferralReviewExportVO { ...@@ -28,11 +28,12 @@ public class EffectiveReferralReviewExportVO {
private String merchantName; private String merchantName;
/** /**
* 业务场景 * 业务场景 1-精品升级(轻改);2-会员权益(广联权益);3-单延保;
*/ */
@ExcelProperty(value = "业务场景") @ExcelValueReplace(replace={"轻改_1","广联权益_2","单延保_3"},repeatValue=true)
@ExcelProperty(value = "业务场景",converter= ReplaceByteToStringConvert.class)
@ExcelMergeRow(columIndex = 2) @ExcelMergeRow(columIndex = 2)
private String sceneTypeName; private Byte sceneType;
/** /**
* 二级品牌名称 * 二级品牌名称
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!