Commit 48400664 by wancheng

app代码优化

parent b249589f
...@@ -381,7 +381,7 @@ public class ServiceHPMT002 extends ServiceBase { ...@@ -381,7 +381,7 @@ public class ServiceHPMT002 extends ServiceBase {
int num = 0; int num = 0;
while (num < docIds.length) { while (num < docIds.length) {
HPZL001A HPZL001A = new HPZL001A(); HPZL001A HPZL001A = new HPZL001A();
HPZL001A.setDeptCode(CommonConstant.YesNo.YES); HPZL001A.setDepCode(CommonConstant.YesNo.YES);
HPZL001A.setDocType(2); HPZL001A.setDocType(2);
HPZL001A.setBizType("XJ_CL"); HPZL001A.setBizType("XJ_CL");
HPZL001A.setDocId(docIds[num]); HPZL001A.setDocId(docIds[num]);
......
...@@ -191,7 +191,7 @@ public class HPZL001A extends DaoEPBase { ...@@ -191,7 +191,7 @@ public class HPZL001A extends DaoEPBase {
* *
* @param depCode - 部门编码 预留 * @param depCode - 部门编码 预留
*/ */
public void setDeptCode(String depCode) { public void setDepCode(String depCode) {
this.depCode = depCode; this.depCode = depCode;
} }
/** /**
...@@ -380,7 +380,7 @@ public class HPZL001A extends DaoEPBase { ...@@ -380,7 +380,7 @@ public class HPZL001A extends DaoEPBase {
setId(NumberUtils.toLong(StringUtils.toString(map.get(FIELD_ID)), id)); setId(NumberUtils.toLong(StringUtils.toString(map.get(FIELD_ID)), id));
setCompanyCode(StringUtils.defaultIfEmpty(StringUtils.toString(map.get(FIELD_COMPANY_CODE)), companyCode)); setCompanyCode(StringUtils.defaultIfEmpty(StringUtils.toString(map.get(FIELD_COMPANY_CODE)), companyCode));
setDeptCode(StringUtils.defaultIfEmpty(StringUtils.toString(map.get(FIELD_DEP_CODE)), depCode)); setDepCode(StringUtils.defaultIfEmpty(StringUtils.toString(map.get(FIELD_DEP_CODE)), depCode));
setDocType(NumberUtils.toInteger(StringUtils.toString(map.get(FIELD_DOC_TYPE)), docType)); setDocType(NumberUtils.toInteger(StringUtils.toString(map.get(FIELD_DOC_TYPE)), docType));
setCheckId(NumberUtils.toLong(StringUtils.toString(map.get(FIELD_CHECK_ID)), checkId)); setCheckId(NumberUtils.toLong(StringUtils.toString(map.get(FIELD_CHECK_ID)), checkId));
setDocId(StringUtils.defaultIfEmpty(StringUtils.toString(map.get(FIELD_DOC_ID)), docId)); setDocId(StringUtils.defaultIfEmpty(StringUtils.toString(map.get(FIELD_DOC_ID)), docId));
......
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