Commit 6cd5c01f by liulei

APP文件上传

parent 9531bcf7
......@@ -193,17 +193,10 @@ public class ServiceHPMT002 extends ServiceBase {
try {
String id = inInfo.getString("id");
String companyCode = UserSessionUtils.getCompanyCode();
String ROOT_PATH= "";
Map hashMap = new HashMap();
hashMap.put("fkey","docRootDir");
List<Map> queryPath = DaoBase.getInstance().query("EDCC03.query",hashMap);
if (queryPath.get(0).get("fvalue")!=null) {
ROOT_PATH= (String) queryPath.get(0).get("fvalue");
}
Map Map = new HashMap();
Map.put("checkId", id);
Map.put("docType",1);
List<HPZL001A> docIdlist = this.dao.query("HPZL001A.queryDev", Map);
List<HPZL001A> docIdlist = this.dao.query("HPZL001A.queryRun", Map);
List<String> imgList = new ArrayList<>();
for (int i = 0; i < docIdlist.size(); i++) {
HPZL001A hpzl001A = docIdlist.get(i);
......@@ -214,7 +207,7 @@ public class ServiceHPMT002 extends ServiceBase {
Map Map2 = new HashMap();
Map2.put("checkId", id);
Map2.put("docType",2);
List<HPZL001A> docIdlist2 = this.dao.query("HPZL001A.queryDev", Map2);
List<HPZL001A> docIdlist2 = this.dao.query("HPZL001A.queryRun", Map2);
List<String> imgList2 = new ArrayList<>();
for (int i = 0; i < docIdlist2.size(); i++) {
HPZL001A hpzl001A = docIdlist2.get(i);
......
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