拆分功能代码
This commit is contained in:
+522
@@ -0,0 +1,522 @@
|
||||
package com.jero.modules.entity;
|
||||
|
||||
import com.fasterxml.jackson.annotation.JsonFormat;
|
||||
|
||||
import java.util.Date;
|
||||
import java.util.List;
|
||||
|
||||
/**
|
||||
* <b>功能:</b>SAR_FILE_SPLIT_ITEMS SarFileSplitItemsEOEntity<br>
|
||||
* <b>作者:</b>code generator<br>
|
||||
* <b>日期:</b> 2020-01-03 <br>
|
||||
* <b>版权所有:<b>版权归北京卡达克数据技术中心所有。<br>
|
||||
*/
|
||||
public class SarFileSplitItemsEO {
|
||||
|
||||
private String id;
|
||||
private String infoId;
|
||||
private String itemsNum;
|
||||
private String itemsName;
|
||||
private String itermsConditions;
|
||||
@JsonFormat(timezone = "GMT+8", pattern = "yyyy-MM-dd HH:mm:ss")
|
||||
private Date newcarPutTime;
|
||||
@JsonFormat(timezone = "GMT+8", pattern = "yyyy-MM-dd HH:mm:ss")
|
||||
private Date productPutTime;
|
||||
private String menuId;
|
||||
private String svpps;
|
||||
private String applyArctic;
|
||||
private String referenceStand;
|
||||
private String specialRequest;
|
||||
private String relevanceFile;
|
||||
private String remarks;
|
||||
private Integer validFlag;
|
||||
private String creationUser;
|
||||
@JsonFormat(timezone = "GMT+8", pattern = "yyyy-MM-dd HH:mm:ss")
|
||||
private Date creationTime;
|
||||
@JsonFormat(timezone = "GMT+8", pattern = "yyyy-MM-dd HH:mm:ss")
|
||||
private Date modifyTime;
|
||||
private String modifyUser;
|
||||
private String[] infoIdList;
|
||||
private String[] idList;
|
||||
// private List<SarFileSplitItemsValEO> itemValEOList;
|
||||
// 前台删除的VAL表条目内容ID
|
||||
private String delItemIds;
|
||||
private String sMenuId;
|
||||
//特殊参数要求
|
||||
// private List<SarFileSplitItemsParamsEO> paramsList;
|
||||
private String relevanceFileAttid;
|
||||
|
||||
//新加字段 SVPPS在前边已经存在
|
||||
private String fo;//FO
|
||||
private String dutyEngineer;//责任工程师
|
||||
private String claimType;//要求类型
|
||||
private String busStandCover;//企标覆盖关系
|
||||
private String fileType;//文件类型
|
||||
|
||||
//新加字段带show
|
||||
private String foShow;//FO
|
||||
private String dutyEngineerShow;//责任工程师
|
||||
private String svppsShow;//SVPPS
|
||||
private String claimTypeShow;//要求类型
|
||||
private String busStandCoverShow;//企标覆盖关系
|
||||
private String fileTypeShow;//文件类型
|
||||
|
||||
private String responsibleUnit;//责任部门
|
||||
private String responsibleUnitShow;
|
||||
/**
|
||||
* java字段名转换为原始数据库列名。<b>如果不存在则返回null</b><br>
|
||||
* <p>字段列表:</p>
|
||||
* <li>id -> id</li>
|
||||
* <li>infoId -> info_id</li>
|
||||
* <li>itemsNum -> items_num</li>
|
||||
* <li>itemsName -> items_name</li>
|
||||
* <li>itermsConditions -> iterms_conditions</li>
|
||||
* <li>newcarPutTime -> newcar_put_time</li>
|
||||
* <li>productPutTime -> product_put_time</li>
|
||||
* <li>menuId -> menu_id</li>
|
||||
* <li>svpps -> svpps</li>
|
||||
* <li>applyArctic -> apply_arctic</li>
|
||||
* <li>referenceStand -> reference_stand</li>
|
||||
* <li>specialRequest -> special_request</li>
|
||||
* <li>relevanceFile -> relevance_file</li>
|
||||
* <li>remarks -> remarks</li>
|
||||
* <li>validFlag -> valid_flag</li>
|
||||
* <li>creationUser -> creation_user</li>
|
||||
* <li>creationTime -> creation_time</li>
|
||||
* <li>modifyTime -> modify_time</li>
|
||||
* <li>modifyUser -> modify_user</li>
|
||||
*/
|
||||
public static String fieldToColumn(String fieldName) {
|
||||
if (fieldName == null) return null;
|
||||
switch (fieldName) {
|
||||
case "id": return "id";
|
||||
case "infoId": return "info_id";
|
||||
case "itemsNum": return "items_num";
|
||||
case "itemsName": return "items_name";
|
||||
case "itermsConditions": return "iterms_conditions";
|
||||
case "newcarPutTime": return "newcar_put_time";
|
||||
case "productPutTime": return "product_put_time";
|
||||
case "menuId": return "menu_id";
|
||||
case "svpps": return "svpps";
|
||||
case "applyArctic": return "apply_arctic";
|
||||
case "referenceStand": return "reference_stand";
|
||||
case "specialRequest": return "special_request";
|
||||
case "relevanceFile": return "relevance_file";
|
||||
case "remarks": return "remarks";
|
||||
case "validFlag": return "valid_flag";
|
||||
case "creationUser": return "creation_user";
|
||||
case "creationTime": return "creation_time";
|
||||
case "modifyTime": return "modify_time";
|
||||
case "modifyUser": return "modify_user";
|
||||
default: return null;
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* 原始数据库列名转换为java字段名。<b>如果不存在则返回null</b><br>
|
||||
* <p>字段列表:</p>
|
||||
* <li>id -> id</li>
|
||||
* <li>info_id -> infoId</li>
|
||||
* <li>items_num -> itemsNum</li>
|
||||
* <li>items_name -> itemsName</li>
|
||||
* <li>iterms_conditions -> itermsConditions</li>
|
||||
* <li>newcar_put_time -> newcarPutTime</li>
|
||||
* <li>product_put_time -> productPutTime</li>
|
||||
* <li>menu_id -> menuId</li>
|
||||
* <li>svpps -> svpps</li>
|
||||
* <li>apply_arctic -> applyArctic</li>
|
||||
* <li>reference_stand -> referenceStand</li>
|
||||
* <li>special_request -> specialRequest</li>
|
||||
* <li>relevance_file -> relevanceFile</li>
|
||||
* <li>remarks -> remarks</li>
|
||||
* <li>valid_flag -> validFlag</li>
|
||||
* <li>creation_user -> creationUser</li>
|
||||
* <li>creation_time -> creationTime</li>
|
||||
* <li>modify_time -> modifyTime</li>
|
||||
* <li>modify_user -> modifyUser</li>
|
||||
*/
|
||||
public static String columnToField(String columnName) {
|
||||
if (columnName == null) return null;
|
||||
switch (columnName) {
|
||||
case "id": return "id";
|
||||
case "info_id": return "infoId";
|
||||
case "items_num": return "itemsNum";
|
||||
case "items_name": return "itemsName";
|
||||
case "iterms_conditions": return "itermsConditions";
|
||||
case "newcar_put_time": return "newcarPutTime";
|
||||
case "product_put_time": return "productPutTime";
|
||||
case "menu_id": return "menuId";
|
||||
case "svpps": return "svpps";
|
||||
case "apply_arctic": return "applyArctic";
|
||||
case "reference_stand": return "referenceStand";
|
||||
case "special_request": return "specialRequest";
|
||||
case "relevance_file": return "relevanceFile";
|
||||
case "remarks": return "remarks";
|
||||
case "valid_flag": return "validFlag";
|
||||
case "creation_user": return "creationUser";
|
||||
case "creation_time": return "creationTime";
|
||||
case "modify_time": return "modifyTime";
|
||||
case "modify_user": return "modifyUser";
|
||||
default: return null;
|
||||
}
|
||||
}
|
||||
|
||||
/** **/
|
||||
public String getId() {
|
||||
return this.id;
|
||||
}
|
||||
|
||||
/** **/
|
||||
public void setId(String id) {
|
||||
this.id = id;
|
||||
}
|
||||
|
||||
/** **/
|
||||
public String getInfoId() {
|
||||
return this.infoId;
|
||||
}
|
||||
|
||||
/** **/
|
||||
public void setInfoId(String infoId) {
|
||||
this.infoId = infoId;
|
||||
}
|
||||
|
||||
/** **/
|
||||
public String getItemsNum() {
|
||||
return this.itemsNum;
|
||||
}
|
||||
|
||||
/** **/
|
||||
public void setItemsNum(String itemsNum) {
|
||||
this.itemsNum = itemsNum;
|
||||
}
|
||||
|
||||
/** **/
|
||||
public String getItemsName() {
|
||||
return this.itemsName;
|
||||
}
|
||||
|
||||
/** **/
|
||||
public void setItemsName(String itemsName) {
|
||||
this.itemsName = itemsName;
|
||||
}
|
||||
|
||||
public String getItermsConditions() {
|
||||
return itermsConditions;
|
||||
}
|
||||
|
||||
public void setItermsConditions(String itermsConditions) {
|
||||
this.itermsConditions = itermsConditions;
|
||||
}
|
||||
|
||||
/** **/
|
||||
public Date getNewcarPutTime() {
|
||||
return this.newcarPutTime;
|
||||
}
|
||||
|
||||
/** **/
|
||||
public void setNewcarPutTime(Date newcarPutTime) {
|
||||
this.newcarPutTime = newcarPutTime;
|
||||
}
|
||||
|
||||
/** **/
|
||||
public Date getProductPutTime() {
|
||||
return this.productPutTime;
|
||||
}
|
||||
|
||||
/** **/
|
||||
public void setProductPutTime(Date productPutTime) {
|
||||
this.productPutTime = productPutTime;
|
||||
}
|
||||
|
||||
/** **/
|
||||
public String getMenuId() {
|
||||
return this.menuId;
|
||||
}
|
||||
|
||||
/** **/
|
||||
public void setMenuId(String menuId) {
|
||||
this.menuId = menuId;
|
||||
}
|
||||
|
||||
/** **/
|
||||
public String getSvpps() {
|
||||
return this.svpps;
|
||||
}
|
||||
|
||||
/** **/
|
||||
public void setSvpps(String svpps) {
|
||||
this.svpps = svpps;
|
||||
}
|
||||
|
||||
/** **/
|
||||
public String getApplyArctic() {
|
||||
return this.applyArctic;
|
||||
}
|
||||
|
||||
/** **/
|
||||
public void setApplyArctic(String applyArctic) {
|
||||
this.applyArctic = applyArctic;
|
||||
}
|
||||
|
||||
/** **/
|
||||
public String getReferenceStand() {
|
||||
return this.referenceStand;
|
||||
}
|
||||
|
||||
/** **/
|
||||
public void setReferenceStand(String referenceStand) {
|
||||
this.referenceStand = referenceStand;
|
||||
}
|
||||
|
||||
/** **/
|
||||
public String getSpecialRequest() {
|
||||
return this.specialRequest;
|
||||
}
|
||||
|
||||
/** **/
|
||||
public void setSpecialRequest(String specialRequest) {
|
||||
this.specialRequest = specialRequest;
|
||||
}
|
||||
|
||||
/** **/
|
||||
public String getRelevanceFile() {
|
||||
return this.relevanceFile;
|
||||
}
|
||||
|
||||
/** **/
|
||||
public void setRelevanceFile(String relevanceFile) {
|
||||
this.relevanceFile = relevanceFile;
|
||||
}
|
||||
|
||||
/** **/
|
||||
public String getRemarks() {
|
||||
return this.remarks;
|
||||
}
|
||||
|
||||
/** **/
|
||||
public void setRemarks(String remarks) {
|
||||
this.remarks = remarks;
|
||||
}
|
||||
|
||||
/** **/
|
||||
public Integer getValidFlag() {
|
||||
return this.validFlag;
|
||||
}
|
||||
|
||||
/** **/
|
||||
public void setValidFlag(Integer validFlag) {
|
||||
this.validFlag = validFlag;
|
||||
}
|
||||
|
||||
/** **/
|
||||
public String getCreationUser() {
|
||||
return this.creationUser;
|
||||
}
|
||||
|
||||
/** **/
|
||||
public void setCreationUser(String creationUser) {
|
||||
this.creationUser = creationUser;
|
||||
}
|
||||
|
||||
/** **/
|
||||
public Date getCreationTime() {
|
||||
return this.creationTime;
|
||||
}
|
||||
|
||||
/** **/
|
||||
public void setCreationTime(Date creationTime) {
|
||||
this.creationTime = creationTime;
|
||||
}
|
||||
|
||||
/** **/
|
||||
public Date getModifyTime() {
|
||||
return this.modifyTime;
|
||||
}
|
||||
|
||||
/** **/
|
||||
public void setModifyTime(Date modifyTime) {
|
||||
this.modifyTime = modifyTime;
|
||||
}
|
||||
|
||||
/** **/
|
||||
public String getModifyUser() {
|
||||
return this.modifyUser;
|
||||
}
|
||||
|
||||
/** **/
|
||||
public void setModifyUser(String modifyUser) {
|
||||
this.modifyUser = modifyUser;
|
||||
}
|
||||
|
||||
|
||||
List<String> itemsCondi;
|
||||
|
||||
public List<String> getItemsCondi() {
|
||||
return itemsCondi;
|
||||
}
|
||||
|
||||
public void setItemsCondi(List<String> itemsCondi) {
|
||||
this.itemsCondi = itemsCondi;
|
||||
}
|
||||
|
||||
public String[] getInfoIdList() {
|
||||
return infoIdList;
|
||||
}
|
||||
|
||||
public void setInfoIdList(String[] infoIdList) {
|
||||
this.infoIdList = infoIdList;
|
||||
}
|
||||
|
||||
public String[] getIdList() {
|
||||
return idList;
|
||||
}
|
||||
|
||||
public void setIdList(String[] idList) {
|
||||
this.idList = idList;
|
||||
}
|
||||
|
||||
// public List<SarFileSplitItemsValEO> getItemValEOList() {
|
||||
// return itemValEOList;
|
||||
// }
|
||||
//
|
||||
// public void setItemValEOList(List<SarFileSplitItemsValEO> itemValEOList) {
|
||||
// this.itemValEOList = itemValEOList;
|
||||
// }
|
||||
|
||||
public String getDelItemIds() {
|
||||
return delItemIds;
|
||||
}
|
||||
|
||||
public void setDelItemIds(String delItemIds) {
|
||||
this.delItemIds = delItemIds;
|
||||
}
|
||||
|
||||
public String getsMenuId() {
|
||||
return sMenuId;
|
||||
}
|
||||
|
||||
public void setsMenuId(String sMenuId) {
|
||||
this.sMenuId = sMenuId;
|
||||
}
|
||||
|
||||
// public List<SarFileSplitItemsParamsEO> getParamsList() {
|
||||
// return paramsList;
|
||||
// }
|
||||
//
|
||||
// public void setParamsList(List<SarFileSplitItemsParamsEO> paramsList) {
|
||||
// this.paramsList = paramsList;
|
||||
// }
|
||||
|
||||
public String getRelevanceFileAttid() {
|
||||
return relevanceFileAttid;
|
||||
}
|
||||
|
||||
public void setRelevanceFileAttid(String relevanceFileAttid) {
|
||||
this.relevanceFileAttid = relevanceFileAttid;
|
||||
}
|
||||
|
||||
public String getFo() {
|
||||
return fo;
|
||||
}
|
||||
|
||||
public void setFo(String fo) {
|
||||
this.fo = fo;
|
||||
}
|
||||
|
||||
public String getDutyEngineer() {
|
||||
return dutyEngineer;
|
||||
}
|
||||
|
||||
public void setDutyEngineer(String dutyEngineer) {
|
||||
this.dutyEngineer = dutyEngineer;
|
||||
}
|
||||
|
||||
public String getClaimType() {
|
||||
return claimType;
|
||||
}
|
||||
|
||||
public void setClaimType(String claimType) {
|
||||
this.claimType = claimType;
|
||||
}
|
||||
|
||||
public String getBusStandCover() {
|
||||
return busStandCover;
|
||||
}
|
||||
|
||||
public void setBusStandCover(String busStandCover) {
|
||||
this.busStandCover = busStandCover;
|
||||
}
|
||||
|
||||
public String getFileType() {
|
||||
return fileType;
|
||||
}
|
||||
|
||||
public void setFileType(String fileType) {
|
||||
this.fileType = fileType;
|
||||
}
|
||||
|
||||
public String getFoShow() {
|
||||
return foShow;
|
||||
}
|
||||
|
||||
public void setFoShow(String foShow) {
|
||||
this.foShow = foShow;
|
||||
}
|
||||
|
||||
public String getDutyEngineerShow() {
|
||||
return dutyEngineerShow;
|
||||
}
|
||||
|
||||
public void setDutyEngineerShow(String dutyEngineerShow) {
|
||||
this.dutyEngineerShow = dutyEngineerShow;
|
||||
}
|
||||
|
||||
public String getSvppsShow() {
|
||||
return svppsShow;
|
||||
}
|
||||
|
||||
public void setSvppsShow(String svppsShow) {
|
||||
this.svppsShow = svppsShow;
|
||||
}
|
||||
|
||||
public String getClaimTypeShow() {
|
||||
return claimTypeShow;
|
||||
}
|
||||
|
||||
public void setClaimTypeShow(String claimTypeShow) {
|
||||
this.claimTypeShow = claimTypeShow;
|
||||
}
|
||||
|
||||
public String getBusStandCoverShow() {
|
||||
return busStandCoverShow;
|
||||
}
|
||||
|
||||
public void setBusStandCoverShow(String busStandCoverShow) {
|
||||
this.busStandCoverShow = busStandCoverShow;
|
||||
}
|
||||
|
||||
public String getFileTypeShow() {
|
||||
return fileTypeShow;
|
||||
}
|
||||
|
||||
public void setFileTypeShow(String fileTypeShow) {
|
||||
this.fileTypeShow = fileTypeShow;
|
||||
}
|
||||
|
||||
public String getResponsibleUnit() {
|
||||
return responsibleUnit;
|
||||
}
|
||||
|
||||
public void setResponsibleUnit(String responsibleUnit) {
|
||||
this.responsibleUnit = responsibleUnit;
|
||||
}
|
||||
|
||||
public String getResponsibleUnitShow() {
|
||||
return responsibleUnitShow;
|
||||
}
|
||||
|
||||
public void setResponsibleUnitShow(String responsibleUnitShow) {
|
||||
this.responsibleUnitShow = responsibleUnitShow;
|
||||
}
|
||||
}
|
||||
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
Reference in New Issue
Block a user