摘要: 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... 阅读全文
posted @ 2018-11-07 13:50 骏杰 阅读(4268) 评论(0) 推荐(0) 编辑
摘要: SELECT 字段名, count(*) AS 列别名 FROM 表名 GROUP BY 字段名 阅读全文
posted @ 2018-11-07 12:00 骏杰 阅读(6985) 评论(0) 推荐(0) 编辑
摘要: 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 ... 阅读全文
posted @ 2018-11-07 11:04 骏杰 阅读(1770) 评论(0) 推荐(0) 编辑