2025/3/14 06:44:39---调整日期格式11
This commit is contained in:
parent
b5801847ba
commit
b00d2f96e2
@ -182,7 +182,7 @@
|
||||
</when>
|
||||
<!-- 在...之间 -->
|
||||
<when test="criterion.operator == 'BETWEEN' and criterion.field == 'createdAt'">
|
||||
created_at BETWEEN TO_TIMESTAMP(#{criterion.value[0]}, 'YYYY-MM-DD"T"HH24:MI:SS') AND TO_TIMESTAMP(#{criterion.value[1]}, 'YYYY-MM-DD"T"HH24:MI:SS')
|
||||
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]}
|
||||
|
@ -7,7 +7,9 @@
|
||||
- key: json.out.disableFeatures
|
||||
value: WRITE_DATES_AS_TIMESTAMPS
|
||||
- key: json.in.disableFeatures
|
||||
value: WRITE_DATES_AS_TIMESTAMPS
|
||||
value: FAIL_ON_UNKNOWN_PROPERTIES
|
||||
- key: unmarshalType
|
||||
value: com.fasterxml.jackson.databind.JsonNode
|
||||
- rest:
|
||||
id: rest-523c
|
||||
description: 用户服务
|
||||
|
Loading…
x
Reference in New Issue
Block a user