Commit 772a8443 authored by Quxl's avatar Quxl

x

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