随笔分类 - 笔记
摘要:参考 https://blog.csdn.net/I_r_o_n_M_a_n/article/details/125266948 方式1、使用xml配置日志保存不需要pom配置slf4j依赖,starter里面已经配置了依赖了 1.1、在项目的resources目录下创建一个【logback-spr
阅读全文
摘要:cmd getmac 这样查出来会有多个,,直接从wifi 属性看到有唯一的,
阅读全文
摘要:一,nacos所在的mysql数据库需要设置允许Nacos集群电脑的ip远程连接 grant all privileges on *.* to root@192.168.1.4 identified by 'root' with grant option; flush privileges; gra
阅读全文
摘要:网上资料大多是"reset current branch to here"之后,选hard模式,然后强制push的方式。虽然能将本地及远程仓库都恢复到某次提交,但是不会产生commit记录,导致在该分支共同开发的其他人下次提交时,会把你已经回退的代码再次提交上去,你的回退失败了。 后来,按照这篇文章
阅读全文
摘要:11111111
阅读全文
摘要:<vxe-table-column field="workOrderDate" title="投入时间" min-width="200" :formatter="['formatDate','yyyy-MM-dd HH:mm:ss']"></vxe-table-column>
阅读全文
摘要:接收时间类型格式化注解 @DateTimeFormat(pattern = "yyyy-MM-dd") 返回事件类型格式化注解 @JsonFormat(pattern = "yyyy-MM-dd") 注: 如果返回时间与数据库时间不符的 @JsonFormat(pattern = "yyyy-MM-
阅读全文
摘要:create index [index_mode] on [cn_name]([car_mode]); index_mode自定义索引名 cn_name表名 car_mode列名 1.创建普通索引SQL CREATE INDEX 语法在表上创建一个简单的索引。允许使用重复的值: CREATE IND
阅读全文
摘要:https://javajgs.com/archives/28442 https://blog.csdn.net/halo_prt/article/details/124648322
阅读全文
摘要:https://blog.csdn.net/qq_38058332/article/details/83858511
阅读全文
摘要:select l.COMPLETED_DESC, case when DataLength(COMPLETED_DESC) >0 then 1 else 0 end as d from ICOM_ITEM_OF_LIST l where l.IS_DELETED='0' order by l.put
阅读全文
摘要:
阅读全文
摘要:官网插件下载地址: https://plugins.jetbrains.com/ 从本地磁盘安装插件 选择下载的插件zip文件 然后apply-ok 就可以了。
阅读全文
摘要:一般我们logger打印日志的时候需要打印参数 例: logger.info("request params:"+str);我们使用‘+’号来拼接多个需要打印的参数。 这里就存在一个问题,string ‘+’ 拼接,会创建一个新的对象。当我们的参数非常大的时候。就会消耗很多的内存。执行速度也会变慢。
阅读全文
“SqlSession[xxx] was not registered for synchronization because synchronization is not active”问题成功解决
摘要:相关链接:https://blog.csdn.net/qq_46174906/article/details/123428719 Creating a new SqlSessionSqlSession [org.apache.ibatis.session.defaults.DefaultSqlSes
阅读全文
摘要:1.首先在pom.xml文件中要有Springboot的maven依赖; <!--将应用打包成一个可以执行的jar包--> <build> <plugins> <plugin> <groupId>org.springframework.boot</groupId> <artifactId>sprin
阅读全文
摘要:spring: datasource: type: com.zaxxer.hikari.HikariDataSource url: jdbc:sqlserver://127.0.0.1:1433;DatabaseName=HCUT_MES driver-class-name: com.microso
阅读全文

浙公网安备 33010602011771号