摘要:
1 /** 2 * list分页展示 3 */ 4 public List getListPage(int page, int pageSize, List list) { 5 if (list == null || list.size() == 0) { 6 throw new ServiceExcepti... 阅读全文
摘要:
SELECT 字段名, count(*) AS 列别名 FROM 表名 GROUP BY 字段名 阅读全文
摘要:
1 List str = new ArrayList(); 2 str.add("a"); 3 str.add("a"); 4 str.add("b"); 5 6 Map map = new HashMap(); 7 8 for(String obj: str){ 9 ... 阅读全文