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

当逻辑删除值为now()(时间戳)时支持i18n #5111

Open
yl-yue opened this issue Feb 7, 2023 · 2 comments
Open

当逻辑删除值为now()(时间戳)时支持i18n #5111

yl-yue opened this issue Feb 7, 2023 · 2 comments

Comments

@yl-yue
Copy link

yl-yue commented Feb 7, 2023

当前使用版本

3.5.2

需求

当逻辑删除值为now()(时间戳)时支持i18n,由于now()函数,是数据库函数,获取的是当前时间,不支持动态设置时区。

思路

方式一:支持传入动态值,由业务处理,像填充一样
方式二:支持表达式规则
方式三:支持传入字符串,通过反射代码获得动态值

实现

  1. 待官方支持
  2. 待通过PR提交(如果接受此特性,我将考虑在某些时候,去实现)
@cuihj
Copy link

cuihj commented Feb 16, 2023

希望支持uuid或者时间戳

@qingkediguo
Copy link

赞成

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

No branches or pull requests

4 participants