feat: 老法规企标体系关联导入

This commit is contained in:
2023-12-05 14:35:45 +08:00
parent 706757f14b
commit a92e9d1869
3 changed files with 162 additions and 10 deletions
@@ -1,199 +0,0 @@
package com.jero.modules.laws.enterprise.entity;
import com.baomidou.mybatisplus.annotation.TableField;
import lombok.Data;
import org.jeecgframework.poi.excel.annotation.Excel;
import java.util.Date;
/**
* @author: Mzaxd
* @Date: 2023/10/20 16:17
*/
@Data
public class OldSystemImportDTO {
@Excel(name = "ID", width = 15, orderNum = "0")
private String id;
@Excel(name = "BZH", width = 15, orderNum = "1")
private String bzh;
@Excel(name = "STATUS", width = 15, orderNum = "2")
private String status;
@Excel(name = "CYBZH", width = 15, orderNum = "3")
private String cybzh;
@Excel(name = "BZMC", width = 15, orderNum = "4")
private String bzmc;
@Excel(name = "BZYWMC", width = 15, orderNum = "5")
private String bzywmc;
@Excel(name = "BZFL", width = 15, orderNum = "6")
private String bzfl;
@Excel(name = "国家/地区", width = 15, orderNum = "6", dicCode = "country_or_region")
private String country;
@Excel(name = "BZYYTYPE", width = 15, orderNum = "7")
private String bzyytype;
@Excel(name = "BZDJTYPE", width = 15, orderNum = "8")
private String bzdjtype;
@Excel(name = "BZLBTYPE", width = 15, orderNum = "9")
private String bzlbtype;
@Excel(name = "BZLCFJ", width = 15, orderNum = "10")
private String bzlcgj;
@Excel(name = "BZSYDW", width = 15, orderNum = "11")
private String bzsydw;
@Excel(name = "ZTC", width = 15, orderNum = "12")
private String ztc;
@Excel(name = "FBRQ", width = 15, orderNum = "13")
private String fbrq;
@Excel(name = "SSRQ", width = 15, orderNum = "14")
private String ssrq;
@Excel(name = "TY", width = 15, orderNum = "15")
private String ty;
@Excel(name = "BZZT", width = 15, orderNum = "16")
private String bzzt;
@Excel(name = "BZXZ", width = 15, orderNum = "17")
private String bzxz;
@Excel(name = "TDBZH", width = 15, orderNum = "18")
private String tdbzh;
@Excel(name = "BTDBZH", width = 15, orderNum = "19")
private String btdbzh;
@Excel(name = "BZLY", width = 15, orderNum = "20")
private String bzly;
@Excel(name = "BGFS", width = 15, orderNum = "21")
private String bgfs;
@Excel(name = "BGDD", width = 15, orderNum = "22")
private String bgdd;
@Excel(name = "FZRQ", width = 15, orderNum = "23")
private String fzrq;
@Excel(name = "LRRQ", width = 15, orderNum = "24")
private String lrrq;
@Excel(name = "LRR", width = 15, orderNum = "25")
private String lrr;
@Excel(name = "LRRID", width = 15, orderNum = "26")
private String lrrid;
@Excel(name = "LRGS", width = 15, orderNum = "27")
private String lrgs;
@Excel(name = "LRBM", width = 15, orderNum = "28")
private String lrbm;
@Excel(name = "BZ", width = 15, orderNum = "29")
private String bz;
@Excel(name = "GKYF", width = 15, orderNum = "30")
private String gkyf;
@Excel(name = "SCLJ", width = 15, orderNum = "31")
private String sclj;
@Excel(name = "SWFLJ", width = 15, orderNum = "32")
private String swflj;
@Excel(name = "DOCLJ", width = 15, orderNum = "33")
private String doclj;
@Excel(name = "BZJD", width = 15, orderNum = "34")
private String bzjd;
@Excel(name = "BZJDRQ", width = 15, orderNum = "35")
private String bzjdrq;
@Excel(name = "BZSH", width = 15, orderNum = "36")
private String bzsh;
@Excel(name = "BZSHRQ", width = 15, orderNum = "37")
private String bzshrq;
@Excel(name = "QSQC", width = 15, orderNum = "38")
private String qsqc;
@Excel(name = "QSJD", width = 15, orderNum = "39")
private String qsjd;
@Excel(name = "QSSH", width = 15, orderNum = "40")
private String qssh;
@Excel(name = "QSBZH", width = 15, orderNum = "41")
private String qsbzh;
@Excel(name = "QSHQ", width = 15, orderNum = "42")
private String qshq;
@Excel(name = "QSPZ", width = 15, orderNum = "43")
private String qspz;
@Excel(name = "QSRQ", width = 15, orderNum = "44")
private String qsrq;
@Excel(name = "SYZY", width = 15, orderNum = "45")
private String syzy;
@Excel(name = "BAZT", width = 15, orderNum = "46")
private String bazt;
@Excel(name = "BAJB", width = 15, orderNum = "47")
private String bajb;
@Excel(name = "ZRR", width = 15, orderNum = "48")
private String zrr;
@Excel(name = "ZRRID", width = 15, orderNum = "49")
private String zrrid;
@Excel(name = "ZRBM", width = 15, orderNum = "50")
private String zrbm;
@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 && 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
&& bzzt == null && bzxz == null && tdbzh == null && btdbzh == null
&& bzly == null && bgfs == null && bgdd == null && fzrq == null
&& lrrq == null && lrr == null && lrrid == null && lrgs == null
&& lrbm == null && bz == null && gkyf == null && sclj == null
&& swflj == null && doclj == null && bzjd == null && bzjdrq == null
&& bzsh == null && bzshrq == null && qsqc == null && qsjd == null
&& qssh == null && qsbzh == null && qshq == null && qspz == null
&& qsrq == null && syzy == null && bazt == null && bajb == null
&& zrr == null && zrrid == null && zrbm == null && bzcountry == null;
}
}