摘要:
private static void ListSort(List list) { //用Collections这个工具类传list进来排序 Collections.sort(list, new Comparator() { @Override public int compare(HdCase o 阅读全文
摘要:
Oracle中 COUNT(count(*))语法 是统计分组后的总数 oracle 例:select count(count(*)) from s_name group by type mysql 例:select count(*) from (select count(*) from s_nam 阅读全文
摘要:
/* 获取当前时间*/ function getNow(s) { return s < 10 ? '0' + s: s; } var myDate = new Date(); //获取当前年 var year=myDate.getFullYear(); //获取当前月 var month=myDat 阅读全文
摘要:
MySql 数据库 SQLException: The user specified as a definer ('root'@'%') does not exist 和 java.sql.SQLException: Access denied for user 'root'@'****' (usi 阅读全文