- 博客(2)
- 收藏
- 关注
原创 Linux服务器 java.io.IOException: Too many open files 解决方法
用 CentOS 做 API 接口服务器供其他终端调用时,并发量高会报错:java.io.IOException: Too many open files。 其原因是在 Linux 下默认的Socket最大连接数为 1024(可以通过ulimit -n查看)。 查看连接数 ulimit -a 看open files 属性值 修改配置文件 vi /etc/profile i键 移动...
2019-11-27 14:05:13 584
原创 MyBatis mapper.xml sql 的写法
1.数值为空判断 <if test="groupId !=null "> and GROUP_ID = #{groupId,jdbcType=VARCHAR} </if> 2. 字符串为空判断,like 添加拼接 <if test="name !='' and name!=null"> and DICT_NAME like concat(...
2019-11-13 15:46:25 604
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人