feat: 老法规外标导入逻辑
This commit is contained in:
+10
-5
@@ -1,5 +1,6 @@
|
||||
package com.jero.modules.laws.enterprise.entity;
|
||||
|
||||
import com.baomidou.mybatisplus.annotation.TableField;
|
||||
import lombok.Data;
|
||||
import org.jeecgframework.poi.excel.annotation.Excel;
|
||||
|
||||
@@ -51,11 +52,11 @@ public class OldSystemImportDTO {
|
||||
@Excel(name = "ZTC", width = 15, orderNum = "12")
|
||||
private String ztc;
|
||||
|
||||
@Excel(name = "FBRQ", width = 15, orderNum = "13", format = "yyyyMMdd")
|
||||
private Date fbrq;
|
||||
@Excel(name = "FBRQ", width = 15, orderNum = "13")
|
||||
private String fbrq;
|
||||
|
||||
@Excel(name = "SSRQ", width = 15, orderNum = "14", format = "yyyyMMdd")
|
||||
private Date ssrq;
|
||||
@Excel(name = "SSRQ", width = 15, orderNum = "14")
|
||||
private String ssrq;
|
||||
|
||||
@Excel(name = "TY", width = 15, orderNum = "15")
|
||||
private String ty;
|
||||
@@ -168,12 +169,16 @@ public class OldSystemImportDTO {
|
||||
@Excel(name = "BZCOUNTRY", width = 15, orderNum = "51")
|
||||
private String bzcountry;
|
||||
|
||||
@Excel(name = "错误信息", width = 35, orderNum = "52")
|
||||
@TableField(exist = false)
|
||||
private String errorInfo;
|
||||
|
||||
/**
|
||||
* 判断是否是空行
|
||||
* @return 如果所有字段都为null或空字符串,返回true,否则返回false
|
||||
*/
|
||||
public boolean isEmptyRow() {
|
||||
return id == null && bzh == null && status == null && cybzh == null
|
||||
return id == null && status == null && cybzh == null
|
||||
&& bzmc == null && bzywmc == null && bzfl == null && bzyytype == null
|
||||
&& bzdjtype == null && bzlbtype == null && bzlcgj == null && bzsydw == null
|
||||
&& ztc == null && fbrq == null && ssrq == null && ty == null
|
||||
|
||||
Reference in New Issue
Block a user