improve sql

This commit is contained in:
wenshao
2013-07-31 19:14:18 +08:00
parent b559684c9f
commit c8697e213d
4 changed files with 55 additions and 21 deletions
@@ -164,7 +164,7 @@ public class WallTableStatValue {
public void setFetchRowCount(long fetchRowCount) {
this.fetchRowCount = fetchRowCount;
}
public Map<String, Object> toMap() {
Map<String, Object> map = new LinkedHashMap<String, Object>();
toMap(map);
@@ -172,6 +172,8 @@ public class WallTableStatValue {
}
public Map<String, Object> toMap(Map<String, Object> map) {
map.put("name", name);
if (selectCount > 0) {
map.put("selectCount", selectCount);
}