07 2021 档案
摘要:// 获取当前的日期时间 LocalDateTime currentTime = LocalDateTime.now(); System.out.println("当前时间: " + currentTime); //以年月日输出 LocalDate date1 = currentTime.toLoc
阅读全文
摘要: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
阅读全文
摘要:三种解决办法: 解决方法一: 在接收的字段上面,添加下面的注解 就可以了 @JsonFormat(pattern="yyyy-MM-dd HH:mm:ss",timezone = "GMT+8") //返回时间类型(使用JsonFormat时,一定要加上timezone ,否则会导致前端显示时间和数
阅读全文
摘要:mybaites plus使用分页插件(IPage) contoller层 @RequestMapping("/*****") @ApiOPeration(value="XXXXXX",httpMethod="POST") @ApiImplicitParams(values={@ApiImplici
阅读全文

浙公网安备 33010602011771号