Browse Source

关于excel最后一列值接不到问题

master
sunyuchao 3 years ago
parent
commit
332693bab2
  1. 8
      epmet-user/epmet-user-server/src/main/java/com/epmet/excel/IcPsTripReportRecordExcel.java

8
epmet-user/epmet-user-server/src/main/java/com/epmet/excel/IcPsTripReportRecordExcel.java

@ -1,10 +1,9 @@
package com.epmet.excel;
import com.alibaba.excel.annotation.ExcelProperty;
import com.epmet.commons.tools.utils.ExcelVerifyInfo;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;
import org.hibernate.validator.constraints.Length;
import javax.validation.constraints.NotBlank;
import java.util.Date;
@ -14,7 +13,7 @@ import java.util.Date;
*
*/
@Data
public class IcPsTripReportRecordExcel extends ExcelVerifyInfo {
public class IcPsTripReportRecordExcel {
@ExcelProperty("姓名")
@NotBlank(message = "姓名不能为空")
@ -45,6 +44,7 @@ public class IcPsTripReportRecordExcel extends ExcelVerifyInfo {
@ExcelProperty("来曹事由(100字以内)")
@NotBlank(message = "来曹事由不能为空")
@Length(max = 500,message = "来曹事由不能超过100字")
private String describeContent;
@ExcelProperty("48小时核酸检测")
@ -77,6 +77,7 @@ public class IcPsTripReportRecordExcel extends ExcelVerifyInfo {
private String isolateType;
@ExcelProperty("备注(500字以内)")
@Length(max = 500,message = "备注不能超过500字")
private String remark;
@ExcelProperty("是否落实“落地检”")
@ -92,6 +93,7 @@ public class IcPsTripReportRecordExcel extends ExcelVerifyInfo {
@ExcelProperty("管控措施\n" +
"(500字以内)")
@Length(max = 500,message = "管控措施不能超过500字")
private String controlMeasures;
@ExcelProperty("类型\n" +

Loading…
Cancel
Save