07 2021 档案

摘要:// 获取当前的日期时间 LocalDateTime currentTime = LocalDateTime.now(); System.out.println("当前时间: " + currentTime); //以年月日输出 LocalDate date1 = currentTime.toLoc 阅读全文
posted @ 2021-07-27 10:58 彼时流年似流水 阅读(483) 评论(0) 推荐(0)
摘要:with recursive census (select c1.* from census_unit c1 where c1.id=# union select c2.* from census_unit c2 inner join census c3 on c3.id=c2.p_id ) sel 阅读全文
posted @ 2021-07-27 10:05 彼时流年似流水 阅读(228) 评论(0) 推荐(0)
摘要:三种解决办法: 解决方法一: 在接收的字段上面,添加下面的注解 就可以了 @JsonFormat(pattern="yyyy-MM-dd HH:mm:ss",timezone = "GMT+8") //返回时间类型(使用JsonFormat时,一定要加上timezone ,否则会导致前端显示时间和数 阅读全文
posted @ 2021-07-15 15:57 彼时流年似流水 阅读(2596) 评论(0) 推荐(0)
摘要:mybaites plus使用分页插件(IPage) contoller层 @RequestMapping("/*****") @ApiOPeration(value="XXXXXX",httpMethod="POST") @ApiImplicitParams(values={@ApiImplici 阅读全文
posted @ 2021-07-14 08:59 彼时流年似流水 阅读(77) 评论(0) 推荐(0)