Commit 772a8443 authored by Quxl's avatar Quxl

x

parent cf3ce8df
...@@ -35,17 +35,17 @@ public class ActivityServiceImpl implements ActivityService { ...@@ -35,17 +35,17 @@ public class ActivityServiceImpl implements ActivityService {
String sql = projectSql(orgNo, ""); String sql = projectSql(orgNo, "");
List<Map<String,Object>> list = jdbcTemplate.limit(sql, page); List<Map<String,Object>> list = jdbcTemplate.limit(sql, page);
if(list != null && list.size()>0) { // if(list != null && list.size()>0) {
for(Map<String,Object> map:list) { // for(Map<String,Object> map:list) {
String projectId = map.get("ProjectID")+""; // String projectId = map.get("ProjectID")+"";
String orderSql = orderSql(projectId); // String orderSql = orderSql(projectId);
Map<String,Object> orderMap = jdbcTemplate.queryForMap(orderSql); // Map<String,Object> orderMap = jdbcTemplate.queryForMap(orderSql);
System.out.println(orderMap); // System.out.println(orderMap);
if(orderMap != null) { // if(orderMap != null) {
map.putAll(orderMap); // map.putAll(orderMap);
} // }
} // }
} // }
return list; return list;
} }
......
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