10 2020 档案
Mybatis @Select注解,使用in传入ids数组作为参数 &&当参数为空则不添加该参数的判断
摘要:@Select({ "<script>", "select", "id, name, user_id", "from label", "where id in", "<foreach collection='ids' item='id' open='(' separator=',' close=') 阅读全文
posted @ 2020-10-26 11:49 dancser 阅读(2731) 评论(0) 推荐(0)
MyBatis 注解方式批量插入数据库
摘要:@Insert({ "<script>", "insert into table_name(column1, column2, column3) values ", "<foreach collection='Listmap' item='item' index='index' separator= 阅读全文
posted @ 2020-10-23 20:50 dancser 阅读(552) 评论(0) 推荐(0)
shell脚本执行报错:/bin/bash^M: bad interpreter: No such file or directory
摘要:shell脚本格式错误 阅读全文
posted @ 2020-10-22 12:00 dancser 阅读(171) 评论(0) 推荐(0)
删除postgresql数据库下所有的表
摘要:DO $$ DECLARE r RECORD; BEGIN -- if the schema you operate on is not"current", you will want to -- replace current_schema() in query with 'schematodel 阅读全文
posted @ 2020-10-22 10:11 dancser 阅读(3214) 评论(0) 推荐(0)
spring boot 热部署关闭
摘要:热部署的功能禁用办法如下: 在application.properties文件中设置: spring.devtools.restart.enabled=false yml文件 spring.devtools.restart.enabled: false 参考资料: spring boot 热部署关闭 阅读全文
posted @ 2020-10-14 17:26 dancser 阅读(2499) 评论(0) 推荐(1)
Centos7配置IP地址和DNS
摘要: 阅读全文
posted @ 2020-10-13 13:35 dancser 阅读(126) 评论(0) 推荐(0)
svn更新 can‘t open file 处理
摘要:vn更新报错,错误信息如下:Error: Can’t open fileError: ‘D:\Tomcat\apache-tomcat-7.0.56\webapps\BSHOW\.svn\pristine\24\2492ce6b3775e243a1d434966c0db6a3b9ab69b7.svn 阅读全文
posted @ 2020-10-13 10:38 dancser 阅读(3365) 评论(0) 推荐(0)