Commit 796b3800 by lyy

Merge branch 'dev' of http://129.211.46.84:8800/platform/hp-smart into dev-sx

parents 73712050 106dff4b
......@@ -209,7 +209,9 @@ public class ServiceHPBI003 extends ServiceBase {
if (params.containsKey("date")){
params.put("date", DateUtils.formatShort(params.get("date")));
}
return super.query(inInfo, "HPBI003.queryDayWt");
List<Map> listMap = DaoBase.getInstance().query("HPBI003.queryDayWt", params, 0,100);
inInfo.set(EiConstant.resultBlock, listMap);
return inInfo;
}
/**
......@@ -222,7 +224,9 @@ public class ServiceHPBI003 extends ServiceBase {
if (params.containsKey("date")){
params.put("date", DateUtils.formatShort(params.get("date")));
}
return super.query(inInfo, "HPBI003.queryMonthWt");
List<Map> listMap = DaoBase.getInstance().query("HPBI003.queryMonthWt", params, 0,100);
inInfo.set(EiConstant.resultBlock, listMap);
return inInfo;
}
/**
......@@ -235,7 +239,9 @@ public class ServiceHPBI003 extends ServiceBase {
if (params.containsKey("date")){
params.put("date", DateUtils.formatShort(params.get("date")));
}
return super.query(inInfo, "HPBI003.queryYearWt");
List<Map> listMap = DaoBase.getInstance().query("HPBI003.queryYearWt", params, 0,100);
inInfo.set(EiConstant.resultBlock, listMap);
return inInfo;
}
/**
......@@ -248,7 +254,9 @@ public class ServiceHPBI003 extends ServiceBase {
if (params.containsKey("date")){
params.put("date", DateUtils.formatShort(params.get("date")));
}
return super.query(inInfo, "HPBI003.queryZCL");
List<Map> listMap = DaoBase.getInstance().query("HPBI003.queryZCL", params, 0,100);
inInfo.set(EiConstant.resultBlock, listMap);
return inInfo;
}
/**
......@@ -272,7 +280,7 @@ public class ServiceHPBI003 extends ServiceBase {
}
result.add(map);
}
inInfo.set("result", result);
inInfo.set(EiConstant.resultBlock, result);
return inInfo;
}
......@@ -286,7 +294,9 @@ public class ServiceHPBI003 extends ServiceBase {
if (params.containsKey("date")){
params.put("date", DateUtils.formatShort(params.get("date")));
}
return super.query(inInfo, "HPBI003.queryProducItem");
List<Map> listMap = DaoBase.getInstance().query("HPBI003.queryProducItem", params, 0,100);
inInfo.set(EiConstant.resultBlock, listMap);
return inInfo;
}
/**
......@@ -299,7 +309,9 @@ public class ServiceHPBI003 extends ServiceBase {
if (params.containsKey("date")){
params.put("date", DateUtils.formatShort(params.get("date")));
}
return super.query(inInfo, "HPBI003.queryProjNameWt");
List<Map> listMap = DaoBase.getInstance().query("HPBI003.queryProjNameWt", params, 0,100);
inInfo.set(EiConstant.resultBlock, listMap);
return inInfo;
}
/**
......@@ -330,7 +342,7 @@ public class ServiceHPBI003 extends ServiceBase {
}
inInfo.set("date", listMap2);
inInfo.set("name", listMap1.keySet());
inInfo.set("result", result);
inInfo.set(EiConstant.resultBlock, result);
return inInfo;
}
......
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