摘要: 在使用mybatis-generator 自动生成代码是带selective的方法针对字符串类型的字段,只做了判空的处理,并没有对 ' ' 进行判断 <if test="record.updateBy != null"> update_by = #{record.updateBy,jdbcType= 阅读全文
posted @ 2024-08-21 17:04 不想被举的栗子 阅读(0) 评论(0) 推荐(0) 编辑
摘要: $ sudo chmod a+rwx /var/run/docker.sock $ sudo chmod a+rwx /var/run/docker.pid 原文地址: https://intellij-support.jetbrains.com/hc/en-us/community/posts/3 阅读全文
posted @ 2024-07-16 14:02 不想被举的栗子 阅读(0) 评论(0) 推荐(0) 编辑
摘要: 1.将list转jsonString过程中,属性为null会导致对应key丢失,但是可以设置SerializerFeature.WriteMapNullValue解决 JSON.toJSONString(list, SerializerFeature.WriteMapNullValue) 2.使用J 阅读全文
posted @ 2024-01-05 16:33 不想被举的栗子 阅读(3) 评论(0) 推荐(0) 编辑
摘要: public class JsonTransformation { public static void main(String[] args) throws Exception { // 原始 JSON 数据 String s = "jsonStr"; String jsonString = JS 阅读全文
posted @ 2023-12-11 20:49 不想被举的栗子 阅读(38) 评论(0) 推荐(0) 编辑
摘要: /** * @author xiong_l602 * @date 2023/8/15 10:56 */ @FeignClient(name = "ZsClient",url = "${iot.zs.ip}"+"${iot.zs.api}") @Headers({ "Content-Type: app 阅读全文
posted @ 2023-08-21 15:09 不想被举的栗子 阅读(386) 评论(0) 推荐(0) 编辑
摘要: Node-red 初识 首先是安装mqtt和node-red服务,我这里的系统是腾讯云轻量服务器,装的是centos7,这里两个服务都是采用的docker部署 一,安装EMQX(官网:https://www.emqx.io/zh) 1.1 运行以下命令获取 Docker 镜像: docker pul 阅读全文
posted @ 2023-07-27 13:51 不想被举的栗子 阅读(138) 评论(0) 推荐(0) 编辑
摘要: 将mapper文件和xml文件放于同一包下,然后再pom文件添加如下代码即可 <resource> <directory>src/main/java</directory> <includes> <include>**/*.xml</include> </includes> <filtering>f 阅读全文
posted @ 2023-06-19 19:43 不想被举的栗子 阅读(339) 评论(0) 推荐(0) 编辑
摘要: package com.dji.sample.common.util; import com.dji.sample.hzsk.model.entity.Area; import com.dji.sample.hzsk.model.entity.WaylinePoint; import org.spr 阅读全文
posted @ 2023-06-19 19:26 不想被举的栗子 阅读(14) 评论(0) 推荐(0) 编辑
摘要: 原博主博客链接:Docker&Nginx-安装与配置 - 微笑刺客D - 博客园 (cnblogs.com)1.在虚拟机创建要需要挂载容器的文件夹 mkdir -p /docker/nginx mkdir -p /docker/nginx/conf mkdir -p /docker/nginx/ww 阅读全文
posted @ 2023-02-12 13:27 不想被举的栗子 阅读(917) 评论(0) 推荐(0) 编辑
摘要: 明里,我们一直在转学,都习惯了呢。明里,看到你给我来信的那一天,我好高兴,连樱花飘落的样子,都变得那么美好。明里,我真后悔,那时候我没能安慰你,只顾及到自己的心情。你应该比我更不安吧?明里,我要来找你了,说实话,这还是我第一次走这段路线呢,希望一切都能顺利。明里,一向准时的电车误点了,希望你不要在那 阅读全文
posted @ 2021-05-18 21:09 不想被举的栗子 阅读(220) 评论(0) 推荐(0) 编辑