08 2022 档案

摘要:01、基础类 public class VolIntegral extends BaseEntity { private static final long serialVersionUID = 1L; private Long inId; @Excel(name = "志愿者id") privat 阅读全文
posted @ 2022-08-31 15:19 张载zz 阅读(21) 评论(0) 推荐(0) 编辑
摘要:vue+element 的使用问题记录 1、下拉列表绑定值为整数 问题现象:下拉列表没有显示对应的文字,显示的是数字。 解决方法: 对应的对象的类中的数据类型是Integer value="parseInt(dict.dictValue)" <el-row> <el-col :span="24"> 阅读全文
posted @ 2022-08-31 08:44 张载zz 阅读(278) 评论(0) 推荐(0) 编辑
摘要:toString的优化 @Override public String toString() { return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE) .append("pmId", getPmId()) .append("p 阅读全文
posted @ 2022-08-25 16:17 张载zz 阅读(31) 评论(0) 推荐(0) 编辑
摘要:CPC(Communist Party of China)zhong guo gong chan dang 英语译名。 阅读全文
posted @ 2022-08-25 13:53 张载zz 阅读(56) 评论(0) 推荐(0) 编辑
摘要:1、mybatis in的使用格式 <!--获取面积 getSumAreaByForm 要使用$ 原因#字符串中的,不被识别 --> <select id="getSumAreaByForm" resultType="java.util.Map"> select * from base_house 阅读全文
posted @ 2022-08-24 09:10 张载zz 阅读(28) 评论(0) 推荐(0) 编辑
摘要:一、问题描述: Mysql排序时如果用的的字段为字符串型的,排序规则是这样的:如1,10,2,20,3,4,5,这种排序是按照字符从第一个字符开始比较出来的,但不是我想要的,我想要的是:1,2,3,4,5……,10,20这种。 二、解决方案 排序时,把相应的字段转换成整型,使用CAST函数,如下: 阅读全文
posted @ 2022-08-22 15:22 张载zz 阅读(818) 评论(0) 推荐(0) 编辑
摘要:ps ps -aux (a 显示现行终端机下的所有程序,包括其他用户的程序。 u 以用户为主的格式来显示程序状况。 x 显示所有程序,不以终端机来区分。) netstat netstat -napt (-a 显示所有连接和侦听端口,默认不显示LISTEN相关; -n 以数字形式显示地址和端口号。 - 阅读全文
posted @ 2022-08-18 13:22 张载zz 阅读(582) 评论(0) 推荐(0) 编辑
摘要:01、ide 目录常用配置 解决启动打印输出乱码serve tomcatLocalhostLog TomcatCatalinaLog 的乱码设置 01、修改tomacat下安装目录下的配置文件 conf/logging.properties ,确认编码格式为utf-8 02、idea中HELP->  阅读全文
posted @ 2022-08-15 13:37 张载zz 阅读(34) 评论(0) 推荐(0) 编辑
摘要:报错信息: Caused by: com.mysql.jdbc.exceptions.jdbc4.MySQLSyntaxErrorException: Expression #1 of ORDER BY clause is not in GROUP BY clause and contains 第一 阅读全文
posted @ 2022-08-03 14:12 张载zz 阅读(989) 评论(0) 推荐(0) 编辑

点击右上角即可分享
微信分享提示