Commit 5dd83e45 by wuwenlong

项目人员-附件详情dev;

parent c880522f
......@@ -25,6 +25,7 @@ public class HGSC099 extends DaoEPBase {
public static final String FIELD_account_code = "accountCode"; /* 帐套*/
public static final String FIELD_mat_id = "matId"; /* 物料ID*/
public static final String FIELD_doc_id = "docId"; /* 文件ID*/
public static final String FIELD_doc_name = "docName"; /* 文件名称*/
public static final String FIELD_created_by = "createdBy"; /* 创建人*/
public static final String FIELD_created_name = "createdName"; /* 创建人名称*/
public static final String FIELD_created_time = "createdTime"; /* 创建时间*/
......@@ -38,6 +39,7 @@ public class HGSC099 extends DaoEPBase {
public static final String COL_account_code = "account_code"; /* 帐套*/
public static final String COL_mat_id = "mat_id"; /* 物料ID*/
public static final String COL_doc_id = "doc_id"; /* 文件ID*/
public static final String COL_doc_name = "doc_name"; /* 文件文件*/
public static final String COL_created_by = "created_by"; /* 创建人*/
public static final String COL_created_name = "created_name"; /* 创建人名称*/
public static final String COL_created_time = "created_time"; /* 创建时间*/
......@@ -57,6 +59,7 @@ public class HGSC099 extends DaoEPBase {
private String accountCode = " "; /* 帐套*/
private Long matId = new Long(0); /* 物料ID*/
private String docId = " "; /* 文件ID*/
private String docName = " "; /* 文件名称*/
private String createdBy = " "; /* 创建人*/
private String createdName = " "; /* 创建人名称*/
private String createdTime = " "; /* 创建时间*/
......@@ -89,6 +92,10 @@ public class HGSC099 extends DaoEPBase {
eiColumn.setDescName("文件ID");
eiMetadata.addMeta(eiColumn);
eiColumn = new EiColumn(FIELD_doc_name);
eiColumn.setDescName("文件名称");
eiMetadata.addMeta(eiColumn);
eiColumn = new EiColumn(FIELD_created_by);
eiColumn.setDescName("创建人");
eiMetadata.addMeta(eiColumn);
......@@ -195,6 +202,16 @@ public class HGSC099 extends DaoEPBase {
public void setDocId(String docId) {
this.docId = docId;
}
/**
* set the docName - 文件名称.
*
* @param docName - 文件名称
*/
public void setDocName(String docName) {
this.docName = docName;
}
/**
* get the createdBy - 创建人.
* @return the createdBy
......@@ -335,6 +352,7 @@ public class HGSC099 extends DaoEPBase {
setAccountCode(StringUtils.defaultIfEmpty(StringUtils.toString(map.get(FIELD_account_code)), accountCode));
setMatId(NumberUtils.toLong(StringUtils.toString(map.get(FIELD_mat_id)), matId));
setDocId(StringUtils.defaultIfEmpty(StringUtils.toString(map.get(FIELD_doc_id)), docId));
setDocName(StringUtils.defaultIfEmpty(StringUtils.toString(map.get(FIELD_doc_name)), docName));
setCreatedBy(StringUtils.defaultIfEmpty(StringUtils.toString(map.get(FIELD_created_by)), createdBy));
setCreatedName(StringUtils.defaultIfEmpty(StringUtils.toString(map.get(FIELD_created_name)), createdName));
setCreatedTime(StringUtils.defaultIfEmpty(StringUtils.toString(map.get(FIELD_created_time)), createdTime));
......@@ -356,6 +374,7 @@ public class HGSC099 extends DaoEPBase {
map.put(FIELD_account_code, StringUtils.toString(accountCode, eiMetadata.getMeta(FIELD_account_code)));
map.put(FIELD_mat_id, StringUtils.toString(matId, eiMetadata.getMeta(FIELD_mat_id)));
map.put(FIELD_doc_id, StringUtils.toString(docId, eiMetadata.getMeta(FIELD_doc_id)));
map.put(FIELD_doc_name, StringUtils.toString(docName, eiMetadata.getMeta(FIELD_doc_name)));
map.put(FIELD_created_by, StringUtils.toString(createdBy, eiMetadata.getMeta(FIELD_created_by)));
map.put(FIELD_created_name, StringUtils.toString(createdName, eiMetadata.getMeta(FIELD_created_name)));
map.put(FIELD_created_time, StringUtils.toString(createdTime, eiMetadata.getMeta(FIELD_created_time)));
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment