摘要: 五、条件列表值如果连续使用between替代in 六、无重复记录的结果集使用union all合并 MySQL数据库中使用union或union all运算符将一个或多个列数相同的查询结果集上下合并成为一个查询结果集。其中union会合并各个结果集中相同的记录行,重复记录只显示一次外加自动排序,而u 阅读全文
posted @ 2020-10-14 09:34 chunming 阅读(385) 评论(0) 推荐(0)
摘要: 1.设置索引。 MySQL索引操作:给表列创建索引: 建表时创建索引: create table t(id int,name varchar(20),index idx_name (name)); 给表追加索引: alter table t add unique index idx_id(id); 阅读全文
posted @ 2020-10-13 15:14 chunming 阅读(671) 评论(0) 推荐(0)
摘要: 1.注解接口:import com.github.wxiaoqi.security.common.constant.Constants; import java.lang.annotation.*; /** * 日志注解 */@Target(ElementType.METHOD)@Retention 阅读全文
posted @ 2019-08-09 11:46 chunming 阅读(981) 评论(0) 推荐(0)
摘要: 1.创建类实现AsyncTaskExecutor, InitializingBean, DisposableBean接口,重写方法。 阅读全文
posted @ 2019-01-11 16:12 chunming 阅读(639) 评论(0) 推荐(0)
摘要: 1.生成模板文件 工具类: public static void main(String[] args) throws Exception { /*try { new WordExportUtils().exportApplyForm("9be4606d-cd6c-4a5d-8b7e-72fc17b 阅读全文
posted @ 2018-12-26 11:58 chunming 阅读(872) 评论(0) 推荐(0)
摘要: 1.循环生成多张二维码 阅读全文
posted @ 2018-12-26 11:05 chunming 阅读(416) 评论(0) 推荐(0)
摘要: $("#id").find("option").remove(); 阅读全文
posted @ 2017-09-11 14:31 chunming 阅读(179) 评论(0) 推荐(0)
摘要: <SCRIPT LANGUAGE=javascript> function del() { var msg = "您真的确定要删除吗?\n\n请确认!"; if (confirm(msg)==true){ return true; }else{ return false; } } </SCRIPT> 阅读全文
posted @ 2017-09-08 11:11 chunming 阅读(100) 评论(0) 推荐(0)
该文被密码保护。 阅读全文
posted @ 2017-08-29 11:05 chunming 阅读(1) 评论(0) 推荐(0)
摘要: function getUrlVars() { var vars = [], hash; var hashes = window.location.href.slice(window.location.href.indexOf('?') + 1).split('&'); for(var i = 0; 阅读全文
posted @ 2017-08-29 10:56 chunming 阅读(184) 评论(1) 推荐(0)