09 2020 档案

摘要:(1)读取优先顺序 a - 命令行参数 --key=value 引用 $ mvn spring-boot:run -Drun.arguments="--server.port=9090,--server.context-path=/test" $ java -jar target/xxx.jar - 阅读全文
posted @ 2020-09-25 00:15 ls1519🎈 阅读(217) 评论(0) 推荐(0)
摘要:/** * 获取不规则多边形重心点 * * @param mPoints * @return */ public static LatLng getCenterOfGravityPoint(List<LatLng> mPoints) { double area = 0.0;//多边形面积 doubl 阅读全文
posted @ 2020-09-18 22:25 ls1519🎈 阅读(499) 评论(0) 推荐(0)
摘要:1.将数据库中的主键,设置为varchar(32)。 2.在entity中类头部写入@GenericGenerator(name = "jpa-uuid", strategy = "uuid") 3.在entity中id主键顶部写入@GeneratedValue(generator = "jpa-u 阅读全文
posted @ 2020-09-17 21:05 ls1519🎈 阅读(2470) 评论(0) 推荐(0)
摘要:一、简介 MySQL目前主要有以下几种索引类型:1.普通索引2.唯一索引3.主键索引4.组合索引5.全文索引 二、语句 CREATE TABLE table_name[col_name data type] [unique|fulltext][index|key][index_name](col_n 阅读全文
posted @ 2020-09-05 10:15 ls1519🎈 阅读(121) 评论(0) 推荐(0)
摘要:Use ByteArrayOutputStream with ZipOutputStream to accomplish the task. you can use ZipEntry to specify the files to be included into the zip file. Her 阅读全文
posted @ 2020-09-01 14:15 ls1519🎈 阅读(397) 评论(0) 推荐(0)