Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Feature] 入参localdatetime类型兼容 2025-01-01 14:22:22 格式类型 #126

Open
5 tasks done
luoqiz opened this issue Jan 13, 2025 · 5 comments
Open
5 tasks done
Labels
feature New feature or request

Comments

@luoqiz
Copy link
Contributor

luoqiz commented Jan 13, 2025

请您确认

  • 阅读使用指南
  • 查找常见问题
  • 查看需求墙计划
  • 搜索是否有其他人提交过类似的 Feature,如果对应 Feature 尚未完成,您可以先订阅关注该 Feature(为了方便后来者查找问题解决方法,请尽量避免创建重复的 Feature)
  • 您是否愿意为您提出的 Feature 提交 PR?

Feature 描述

入参localdatetime类型兼容 2025-01-01 14:22:22 格式类型

描述一下您想要的解决方案

入参localdatetime类型兼容 2025-01-01 14:22:22 格式类型

描述一下您考虑过的替代方案

No response

额外补充

No response

@luoqiz luoqiz added the feature New feature or request label Jan 13, 2025
@luoqiz
Copy link
Contributor Author

luoqiz commented Jan 13, 2025

image

@luoqiz
Copy link
Contributor Author

luoqiz commented Jan 13, 2025

放在实体类 query中的localdatetime数组,是一个开始时间、结束时间的时间范围查询。

@luoqiz
Copy link
Contributor Author

luoqiz commented Jan 13, 2025

dbbf3abcb08dbe3e71eadf44e439a9f

@luoqiz
Copy link
Contributor Author

luoqiz commented Jan 13, 2025

image

@luoqiz
Copy link
Contributor Author

luoqiz commented Jan 13, 2025

初步解决方案,字段添加注解: @DateTimeFormat(pattern = DatePattern.NORM_DATETIME_PATTERN)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant