2025/3/16 14:26:24----修改时间查询配置22
This commit is contained in:
parent
fed1404ab4
commit
e8149f1cf6
@ -195,9 +195,10 @@
|
||||
<!-- 'created_at' BETWEEN
|
||||
(SELECT to_timestamp(#{criterion.value[0]}, 'YYYY-MM-DD"T"HH24:MI:SS')) AND
|
||||
(SELECT to_timestamp(#{criterion.value[1]}, 'YYYY-MM-DD"T"HH24:MI:SS')) -->
|
||||
created_at BETWEEN
|
||||
<!-- created_at BETWEEN
|
||||
(#{criterion.value[0]}::timestamp with time zone) AND
|
||||
(#{criterion.value[1]}::timestamp with time zone)
|
||||
(#{criterion.value[1]}::timestamp with time zone) -->
|
||||
created_at BETWEEN #{criterion.value[0]} AND #{criterion.value[1]}
|
||||
</when>
|
||||
<when test="criterion.operator == 'BETWEEN' and criterion.field == 'updatedAt'">
|
||||
updated_at BETWEEN #{criterion.value[0]} AND #{criterion.value[1]}
|
||||
|
Loading…
x
Reference in New Issue
Block a user