09 2021 档案
Spring mail 邮件发送
摘要:1.pom引入依赖包 <dependency> <groupId>org.springframework.boot</groupId> <artifactId>spring-boot-starter-mail</artifactId> </dependency> 2.配置文件配置 #发件人邮箱服务器 阅读全文
posted @ 2021-09-30 11:11 汤姆猫8 阅读(590) 评论(0) 推荐(0)
mybati的xml中sql 当传入多个类型不同的参数
摘要: 阅读全文
posted @ 2021-09-30 00:04 汤姆猫8 阅读(94) 评论(0) 推荐(0)
sql查询不在这个范围内的。例如,a不在b中出现的
摘要:解释:此处查询id不在pid出现,以/qwe开头,userId为15的数据。子查询加上where是为了加快查询效率。 SELECT * from file where filePath like concat( "/qwe", '%') and userId =15 and id NOT IN(SE 阅读全文
posted @ 2021-09-29 13:50 汤姆猫8 阅读(1985) 评论(0) 推荐(0)
sql中的替换某属性的一部分值。(匹配替换)
摘要:update file set filePath = REPLACE(filePath, "asd", "qqq") where filePath like concat('%', "asd", '/%') 其中filePath为属性,asd为原先的,qqq为替换后的。 concat那部分是匹配 a 阅读全文
posted @ 2021-09-28 20:42 汤姆猫8 阅读(199) 评论(0) 推荐(0)
Boostrap根据返回的值判断显示
摘要:<script> $(function () { $('#msgTable').bootstrapTable({ url: '[[${#request.getContextPath()}]]/msg/getMessages', cache: false, sidePagination: 'serve 阅读全文
posted @ 2021-09-26 00:51 汤姆猫8 阅读(361) 评论(0) 推荐(0)
SweetAlert弹窗优化技术
摘要:SweetAlert中文 (mishengqiang.com) 阅读全文
posted @ 2021-09-23 13:57 汤姆猫8 阅读(30) 评论(0) 推荐(0)
Boostrap table如何传参数
摘要:$(function () { // 文件类型图标 var images = [ 'md md-image', 'md md-insert-drive-file', 'md md-headset', 'md md-local-movies', 'md md-folder-open', 'md md- 阅读全文
posted @ 2021-09-23 12:38 汤姆猫8 阅读(744) 评论(0) 推荐(0)
boostrap语法
摘要:Bootstrap 中文网:http://www.bootcss.com/ Bootstrap Table Demo:http://issues.wenzhixin.net.cn/bootstrap-table/index.html Bootstrap Table API:http://bootst 阅读全文
posted @ 2021-09-23 11:29 汤姆猫8 阅读(31) 评论(0) 推荐(0)
Thymeleaf3语法详解
摘要:参照博文连接:https://www.cnblogs.com/itdragon/archive/2018/04/13/8724291.html 阅读全文
posted @ 2021-09-23 00:51 汤姆猫8 阅读(20) 评论(0) 推荐(0)
Thymeleaf @{}和${}嵌套使用的问题解决
摘要://错误的写法 <img th:src="@{/getImage/${attDesc.identityImgN}" alt="身份证反面"> //正确的写法 <img th:src="@{/getImage/{filename}(filename=${attDesc.identityImgN})}" 阅读全文
posted @ 2021-09-22 19:07 汤姆猫8 阅读(229) 评论(0) 推荐(0)
Thymeleaf中ajax发送数据接收不到问题
摘要:正常情况下: web接口 倘若通过表单提交或者地址栏传值都能接收实体类封装的参数 成功: 传值失败的情况: 这样写的data数据无法被实体类对象接收,也就无法传递数据。 阅读全文
posted @ 2021-09-22 18:44 汤姆猫8 阅读(384) 评论(0) 推荐(0)
IDEA如何将本地jar包,添加到maven仓库
摘要:-- Intellj idea如何将本地的jar包,添加到本地meavn库mvn install:install-file -Dfile=D:\soft\esdk-obs-java-3.19.7.jar -DgroupId=com.huawei.storage groupId -DartifactI 阅读全文
posted @ 2021-09-22 15:25 汤姆猫8 阅读(1303) 评论(0) 推荐(0)
MySQL报错:com.mysql.cj.jdbc.exceptions.CommunicationsException: Communications link failure
摘要:由于报错信息中含有SSL问题,尝试添加一个选项。 &useSSL=false 解决! 阅读全文
posted @ 2021-09-21 13:50 汤姆猫8 阅读(1607) 评论(0) 推荐(1)
boostrap table
摘要:boostrapTable函数:参数 $(function () { //1.初始化Table var oTable = new TableInit(); oTable.Init(); //2.初始化Button的点击事件 var oButtonInit = new ButtonInit(); oB 阅读全文
posted @ 2021-09-21 11:39 汤姆猫8 阅读(104) 评论(0) 推荐(0)
boostrap的弹窗——dialog
摘要:<div class="modal fade" id="myModal" tabindex="-1" role="dialog" aria-labelledby="myModalLabel"> <div class="modal-dialog" role="document"> <div class 阅读全文
posted @ 2021-09-19 21:45 汤姆猫8 阅读(76) 评论(0) 推荐(0)
1.Linux系统忘记登录密码解决办法
摘要:参考:https://blog.csdn.net/weixin_41975471/article/details/87736124 阅读全文
posted @ 2021-09-06 18:24 汤姆猫8 阅读(98) 评论(0) 推荐(0)