Commit 3a7967cc by yukang

增加存货档案ID

parent 68782568
...@@ -88,7 +88,7 @@ public class HPSC003 extends DaoEPBase { ...@@ -88,7 +88,7 @@ public class HPSC003 extends DaoEPBase {
private String schedule = ""; private String schedule = "";
private Integer inventRecordId = new Integer(0); private Long inventRecordId = new Long(0);
/** /**
* initialize the metadata. * initialize the metadata.
...@@ -453,7 +453,7 @@ public class HPSC003 extends DaoEPBase { ...@@ -453,7 +453,7 @@ public class HPSC003 extends DaoEPBase {
* get the inventRecordId - 项目档案ID. * get the inventRecordId - 项目档案ID.
* @return the inventRecordId * @return the inventRecordId
*/ */
public Integer getInventRecordId() { public Long getInventRecordId() {
return this.inventRecordId; return this.inventRecordId;
} }
...@@ -462,7 +462,7 @@ public class HPSC003 extends DaoEPBase { ...@@ -462,7 +462,7 @@ public class HPSC003 extends DaoEPBase {
* *
* @param inventRecordId - 项目档案ID * @param inventRecordId - 项目档案ID
*/ */
public void setInventRecordId(Integer inventRecordId) { public void setInventRecordId(Long inventRecordId) {
this.inventRecordId = inventRecordId; this.inventRecordId = inventRecordId;
} }
/** /**
...@@ -491,7 +491,7 @@ public class HPSC003 extends DaoEPBase { ...@@ -491,7 +491,7 @@ public class HPSC003 extends DaoEPBase {
setDepCode(StringUtils.defaultIfEmpty(StringUtils.toString(map.get(FIELD_DEP_CODE)), depCode)); setDepCode(StringUtils.defaultIfEmpty(StringUtils.toString(map.get(FIELD_DEP_CODE)), depCode));
setRemark(StringUtils.defaultIfEmpty(StringUtils.toString(map.get(FIELD_REMARK)), remark)); setRemark(StringUtils.defaultIfEmpty(StringUtils.toString(map.get(FIELD_REMARK)), remark));
setRemark(StringUtils.defaultIfEmpty(StringUtils.toString(map.get(FIELD_SCHEDULE)), schedule)); setRemark(StringUtils.defaultIfEmpty(StringUtils.toString(map.get(FIELD_SCHEDULE)), schedule));
setInventRecordId(NumberUtils.toInteger(StringUtils.toString(map.get(FIELD_INVENT_RECORD_ID)), inventRecordId)); setInventRecordId(NumberUtils.toLong(StringUtils.toString(map.get(FIELD_INVENT_RECORD_ID)), inventRecordId));
} }
......
...@@ -139,7 +139,7 @@ public class HPSC004 extends DaoEPBase { ...@@ -139,7 +139,7 @@ public class HPSC004 extends DaoEPBase {
private String updatedBy = " "; /* 更新人*/ private String updatedBy = " "; /* 更新人*/
private String updatedTime ; /* 更新时间*/ private String updatedTime ; /* 更新时间*/
private String remark = " "; /* 备注*/ private String remark = " "; /* 备注*/
private Integer inventRecordId = new Integer(0); private Long inventRecordId = new Long(0);
/** /**
* initialize the metadata. * initialize the metadata.
...@@ -875,7 +875,7 @@ public class HPSC004 extends DaoEPBase { ...@@ -875,7 +875,7 @@ public class HPSC004 extends DaoEPBase {
* get the inventRecordId - 项目档案ID. * get the inventRecordId - 项目档案ID.
* @return the inventRecordId * @return the inventRecordId
*/ */
public Integer getInventRecordId() { public Long getInventRecordId() {
return this.inventRecordId; return this.inventRecordId;
} }
...@@ -884,7 +884,7 @@ public class HPSC004 extends DaoEPBase { ...@@ -884,7 +884,7 @@ public class HPSC004 extends DaoEPBase {
* *
* @param inventRecordId - 项目档案ID * @param inventRecordId - 项目档案ID
*/ */
public void setInventRecordId(Integer inventRecordId) { public void setInventRecordId(Long inventRecordId) {
this.inventRecordId = inventRecordId; this.inventRecordId = inventRecordId;
} }
/** /**
...@@ -930,7 +930,7 @@ public class HPSC004 extends DaoEPBase { ...@@ -930,7 +930,7 @@ public class HPSC004 extends DaoEPBase {
setUpdatedBy(StringUtils.defaultIfEmpty(StringUtils.toString(map.get(FIELD_UPDATED_BY)), updatedBy)); setUpdatedBy(StringUtils.defaultIfEmpty(StringUtils.toString(map.get(FIELD_UPDATED_BY)), updatedBy));
setUpdatedTime(StringUtils.toString(map.get(FIELD_UPDATED_TIME))); setUpdatedTime(StringUtils.toString(map.get(FIELD_UPDATED_TIME)));
setRemark(StringUtils.defaultIfEmpty(StringUtils.toString(map.get(FIELD_REMARK)), remark)); setRemark(StringUtils.defaultIfEmpty(StringUtils.toString(map.get(FIELD_REMARK)), remark));
setInventRecordId(NumberUtils.toInteger(StringUtils.toString(map.get(FIELD_INVENT_RECORD_ID)), inventRecordId)); setInventRecordId(NumberUtils.toLong(StringUtils.toString(map.get(FIELD_INVENT_RECORD_ID)), inventRecordId));
} }
/** /**
......
...@@ -107,7 +107,7 @@ public class HPSC005 extends DaoEPBase { ...@@ -107,7 +107,7 @@ public class HPSC005 extends DaoEPBase {
private String filePath3 = " "; /* 文件地址3*/ private String filePath3 = " "; /* 文件地址3*/
private String filePath4 = " "; /* 文件地址4*/ private String filePath4 = " "; /* 文件地址4*/
private String filePath5 = " "; /* 文件地址5*/ private String filePath5 = " "; /* 文件地址5*/
private Integer inventRecordId = new Integer(0); private Long inventRecordId = new Long(0);
/** /**
* initialize the metadata. * initialize the metadata.
...@@ -636,7 +636,7 @@ public class HPSC005 extends DaoEPBase { ...@@ -636,7 +636,7 @@ public class HPSC005 extends DaoEPBase {
* get the inventRecordId - 项目档案ID. * get the inventRecordId - 项目档案ID.
* @return the inventRecordId * @return the inventRecordId
*/ */
public Integer getInventRecordId() { public Long getInventRecordId() {
return this.inventRecordId; return this.inventRecordId;
} }
...@@ -645,7 +645,7 @@ public class HPSC005 extends DaoEPBase { ...@@ -645,7 +645,7 @@ public class HPSC005 extends DaoEPBase {
* *
* @param inventRecordId - 项目档案ID * @param inventRecordId - 项目档案ID
*/ */
public void setInventRecordId(Integer inventRecordId) { public void setInventRecordId(Long inventRecordId) {
this.inventRecordId = inventRecordId; this.inventRecordId = inventRecordId;
} }
...@@ -682,7 +682,7 @@ public class HPSC005 extends DaoEPBase { ...@@ -682,7 +682,7 @@ public class HPSC005 extends DaoEPBase {
setFilePath3(StringUtils.defaultIfEmpty(StringUtils.toString(map.get(FIELD_FILE_PATH3)), filePath3)); setFilePath3(StringUtils.defaultIfEmpty(StringUtils.toString(map.get(FIELD_FILE_PATH3)), filePath3));
setFilePath4(StringUtils.defaultIfEmpty(StringUtils.toString(map.get(FIELD_FILE_PATH4)), filePath4)); setFilePath4(StringUtils.defaultIfEmpty(StringUtils.toString(map.get(FIELD_FILE_PATH4)), filePath4));
setFilePath5(StringUtils.defaultIfEmpty(StringUtils.toString(map.get(FIELD_FILE_PATH5)), filePath5)); setFilePath5(StringUtils.defaultIfEmpty(StringUtils.toString(map.get(FIELD_FILE_PATH5)), filePath5));
setInventRecordId(NumberUtils.toInteger(StringUtils.toString(map.get(FIELD_INVENT_RECORD_ID)), inventRecordId)); setInventRecordId(NumberUtils.toLong(StringUtils.toString(map.get(FIELD_INVENT_RECORD_ID)), inventRecordId));
} }
/** /**
......
...@@ -177,7 +177,7 @@ public class ServiceHPSC001 extends ServiceBase { ...@@ -177,7 +177,7 @@ public class ServiceHPSC001 extends ServiceBase {
hpsc002.put("deptCode", hpsc001.getDepCode()); hpsc002.put("deptCode", hpsc001.getDepCode());
hpsc002.put("projCode", hpsc001.getProjCode()); hpsc002.put("projCode", hpsc001.getProjCode());
hpsc002.put("projName", hpsc001.getProjName()); hpsc002.put("projName", hpsc001.getProjName());
hpsc002.put("parentId", -1); //固定写死 hpsc002.put("parentId", "root"); //固定写死
hpsc002.put("parentPrdtName", hpsc001.getProjName()); hpsc002.put("parentPrdtName", hpsc001.getProjName());
hpsc002.put("type", ""); hpsc002.put("type", "");
hpsc002.put("leaf", "0"); hpsc002.put("leaf", "0");
......
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