@JsonFormat 在处理 LocalDateTime 时,无法直接解析带有 UTC 时区标识的日期时间字符串(如 2025-03-21 10:03:36 UTC),因为 LocalDateTime 本身不包含时区信息。分析:LocalDateTime 是一个不带时区的日期时间类。输入字符串 2
//模糊查询 案例1 regex相当于MySQL中模糊查询关键字 like query.addCriteria(new Criteria ().orOperator( Criteria.where(“userCode”).regex(queryVO.getKeyWord()) ,Criteria.where(“userName”).regex(queryVO.getKeyWord())
Copyright © 2005-2025 51CTO.COM 版权所有 京ICP证060544号