摘要: 1、 html <button class="layui-btn" id="searchStaff" data-type="reload" type="button" onclick="Staff.search()"> <i class="layui-icon"></i>查询 </button> 2 阅读全文
posted @ 2021-07-19 14:47 唏嘘- 阅读(832) 评论(0) 推荐(0) 编辑
摘要: 1、oracle 方式一: select name from staff <where> <if test="name != null"> name like '%'|| #{name} ||'%' </if> </where> 方式二: select name from staff <where> 阅读全文
posted @ 2021-07-19 11:34 唏嘘- 阅读(72) 评论(0) 推荐(0) 编辑
摘要: 1、java8 Person person1 = new Person("tom", 15); Person person2 = new Person("jack", 26); Person person3 = new Person("lucy", 12); List<Person> list = 阅读全文
posted @ 2021-07-19 09:46 唏嘘- 阅读(145) 评论(0) 推荐(0) 编辑
摘要: $("#tableId").bootstrapTable({ ... formatNoMatches:function(){ return "自定义提示内容"; } ... }) 阅读全文
posted @ 2021-07-16 14:13 唏嘘- 阅读(1022) 评论(0) 推荐(0) 编辑
摘要: 错误代码: mapper接口: List<MeetingDeploy> resultTypeList(List<String> codes); mapper.xml: select * from meeting_deploy where meeting_code IN <foreach item=" 阅读全文
posted @ 2021-07-16 11:08 唏嘘- 阅读(4169) 评论(0) 推荐(0) 编辑
摘要: File > Setting > Editor > General > Auto Import Add unambiguous imports on the fly:自动帮我们优化导入的包 Optimize imports on the fly:自动去掉一些没有用到的包 阅读全文
posted @ 2021-07-16 09:38 唏嘘- 阅读(1411) 评论(0) 推荐(0) 编辑
摘要: 1、使用LinkedHashSet删除arraylist中的重复数据 LinkedHashSet是在一个ArrayList删除重复数据的最佳方法。LinkedHashSet在内部完成两件事: 删除重复数据 保持添加到其中的数据的顺序 public static void main(String[] 阅读全文
posted @ 2021-07-15 15:21 唏嘘- 阅读(1039) 评论(0) 推荐(0) 编辑
摘要: 解决方法: 1.检查磁盘所在空间是否够用。 2.磁盘修复下 参考:https://www.cnblogs.com/ylldbk/p/5556420.html 阅读全文
posted @ 2021-06-27 23:42 唏嘘- 阅读(492) 评论(0) 推荐(0) 编辑
摘要: 1、找到tomcat \bin\catalina.bat 2、找到 :doStart 3、 将 set _EXECJAVA=start "%TITLE%" %_RUNJAVA% 修改为 set _EXECJAVA=start "myTomcat" %_RUNJAVA% 4、即可修改成功 阅读全文
posted @ 2021-06-04 16:51 唏嘘- 阅读(209) 评论(0) 推荐(0) 编辑
摘要: 1、打开 cmd 命令窗口 输入 命令 sqlplus/ as sysdba 2、窗口提示sql连接, 输入命令 alter user 用户名 account unlock; 3、将用户解锁,输入命令 alter user 用户名 identified by 新密码 ; 执行完以上命令,窗口提示用户 阅读全文
posted @ 2020-12-14 22:59 唏嘘- 阅读(166) 评论(0) 推荐(0) 编辑