|
@@ -1,11 +1,14 @@
|
|
|
package com.qmth.sop.business.bean.result;
|
|
|
|
|
|
+import com.alibaba.excel.annotation.ExcelIgnore;
|
|
|
import com.alibaba.excel.annotation.ExcelProperty;
|
|
|
import com.alibaba.excel.annotation.write.style.ColumnWidth;
|
|
|
import com.alibaba.excel.annotation.write.style.HeadFontStyle;
|
|
|
import com.alibaba.excel.annotation.write.style.HeadStyle;
|
|
|
import com.fasterxml.jackson.databind.annotation.JsonSerialize;
|
|
|
import com.fasterxml.jackson.databind.ser.std.ToStringSerializer;
|
|
|
+import com.qmth.sop.business.templete.converter.DingSubmitStatusEnumConverter;
|
|
|
+import com.qmth.sop.business.templete.converter.LongLocalDateTimeConverter;
|
|
|
import com.qmth.sop.common.enums.DingSubmitStatusEnum;
|
|
|
import io.swagger.annotations.ApiModel;
|
|
|
import io.swagger.annotations.ApiModelProperty;
|
|
@@ -27,6 +30,7 @@ import java.io.Serializable;
|
|
|
public class TBDingSubmitQueryResult implements Serializable {
|
|
|
@ApiModelProperty(value = "考勤提交记录id")
|
|
|
@JsonSerialize(using = ToStringSerializer.class)
|
|
|
+ @ExcelIgnore
|
|
|
private Long id;
|
|
|
|
|
|
@ApiModelProperty(value = "服务单元")
|
|
@@ -45,10 +49,10 @@ public class TBDingSubmitQueryResult implements Serializable {
|
|
|
@ExcelProperty(value = "城市")
|
|
|
private String city;
|
|
|
@ApiModelProperty(value = "项目开始时间")
|
|
|
- @ExcelProperty(value = "项目开始时间")
|
|
|
+ @ExcelProperty(value = "项目开始时间",converter = LongLocalDateTimeConverter.class)
|
|
|
private Long examStartTime;
|
|
|
@ApiModelProperty(value = "项目结束时间")
|
|
|
- @ExcelProperty(value = "项目结束时间")
|
|
|
+ @ExcelProperty(value = "项目结束时间",converter = LongLocalDateTimeConverter.class)
|
|
|
private Long examEndTime;
|
|
|
@ApiModelProperty(value = "姓名")
|
|
|
@ExcelProperty(value = "姓名")
|
|
@@ -84,10 +88,11 @@ public class TBDingSubmitQueryResult implements Serializable {
|
|
|
@ExcelProperty(value = "提交人")
|
|
|
private String submitter;
|
|
|
@ApiModelProperty(value = "提交时间")
|
|
|
- @ExcelProperty(value = "提交时间")
|
|
|
+ @ExcelProperty(value = "提交时间",converter = LongLocalDateTimeConverter.class)
|
|
|
private Long submissionTime;
|
|
|
@ApiModelProperty(value = "状态,START:已开始,AUDITING:审核中,REJECT:已驳回,END:已终止,FINISH:已结束")
|
|
|
- @ExcelProperty(value = "提交状态")
|
|
|
+ @ExcelProperty(value = "提交状态",converter = DingSubmitStatusEnumConverter.class)
|
|
|
+
|
|
|
private DingSubmitStatusEnum status;
|
|
|
|
|
|
public Long getId() {
|