上一页 1 2 3 4 5 6 7 ··· 11 下一页
摘要: 一、maven私服搭建 1.下载地址 https://help.sonatype.com/repomanager3/product-information/download/download-archives repository-manager-3 2.启用 tar -zxvf nexus-3.3 阅读全文
posted @ 2022-09-28 17:37 生生灯火半杯月 阅读(2603) 评论(0) 推荐(0)
摘要: (PgSQL)连字符 || -- 22.22& select 22.22||'%' as 值; 阅读全文
posted @ 2022-09-15 17:31 生生灯火半杯月 阅读(384) 评论(0) 推荐(0)
摘要: to_char 1.保留小数 格式必须是9。 小数点位数前保留位数不足则####; to_char中的第二个参数的小数点后面位数高于第一个参数,会用0补齐; to_char中的第二个参数的小数点前面位数高于第一个参数,会用空格补齐; select to_char(222.222222,'999.99 阅读全文
posted @ 2022-09-15 17:29 生生灯火半杯月 阅读(1810) 评论(0) 推荐(0)
摘要: 在https页面中,浏览器不允许请求http的连接 有些直接加入https是可以直接访问的但是被封装的比较的深无法找到,或者根本就没法更改 解决方式: index.html <header> <!--自动将http的不安全请求升级为https--> <meta http-equiv="Content 阅读全文
posted @ 2022-09-13 16:38 生生灯火半杯月 阅读(23) 评论(0) 推荐(0)
摘要: where twui.id = #{operatorId} order by FIELD(cardStatus, 2, 1, 3), tpa.create_time 阅读全文
posted @ 2022-09-07 11:10 生生灯火半杯月 阅读(29) 评论(0) 推荐(0)
摘要: /** * 判断该对象是否所有属性为空 * 返回ture表示所有属性为null,返回false表示不是所有属性都是null */ public static boolean isAllFieldNull(Object object) { boolean flag = true; if (null = 阅读全文
posted @ 2022-08-24 15:56 生生灯火半杯月 阅读(823) 评论(0) 推荐(0)
摘要: MySQL V8.0.22 [mysqld] # 跳过登录验证 skip-grant-tables use mysql; update user set authentication_string = '' where User = 'root' and Host = 'localhost'; fl 阅读全文
posted @ 2022-08-07 22:22 生生灯火半杯月 阅读(105) 评论(0) 推荐(0)
摘要: public static String getDiffDateStr(Date startTime,Date endTime){ long diff = endTime.getTime() - startTime.getTime(); long diffSeconds = diff / 1000 阅读全文
posted @ 2022-07-27 16:24 生生灯火半杯月 阅读(31) 评论(0) 推荐(0)
摘要: 一、配置 @Configuration @EnableAsync //启用异步任务 public class ThreadPoolConfig { @Bean("taskExecutor") public ThreadPoolTaskExecutor executor(){ ThreadPoolTa 阅读全文
posted @ 2022-07-14 16:24 生生灯火半杯月 阅读(328) 评论(0) 推荐(0)
摘要: @RunWith(SpringRunner.class) @SpringBootTest(classes = com.aa.Application.class, webEnvironment = SpringBootTest.WebEnvironment.RANDOM_PORT) public cl 阅读全文
posted @ 2022-07-14 15:18 生生灯火半杯月 阅读(71) 评论(0) 推荐(0)
上一页 1 2 3 4 5 6 7 ··· 11 下一页