2025/3/14 06:04:44---修改json配置
This commit is contained in:
parent
3eb2c1aee2
commit
2e893b1276
@ -182,7 +182,7 @@
|
|||||||
</when>
|
</when>
|
||||||
<!-- 在...之间 -->
|
<!-- 在...之间 -->
|
||||||
<when test="criterion.operator == 'BETWEEN' and criterion.field == 'createdAt'">
|
<when test="criterion.operator == 'BETWEEN' and criterion.field == 'createdAt'">
|
||||||
created_at BETWEEN TO_TIMESTAMP(#{criterion.value[0]}, 'yyyy-MM-dd HH:mm:ss') AND BETWEEN TO_TIMESTAMP(#{criterion.value[1]}, 'yyyy-MM-dd HH:mm:ss')
|
created_at BETWEEN TO_TIMESTAMP(#{criterion.value[0]}, 'yyyy-MM-dd"T"HH:mm:ss') AND BETWEEN TO_TIMESTAMP(#{criterion.value[1]}, 'yyyy-MM-dd"T"HH:mm:ss')
|
||||||
</when>
|
</when>
|
||||||
<when test="criterion.operator == 'BETWEEN' and criterion.field == 'updatedAt'">
|
<when test="criterion.operator == 'BETWEEN' and criterion.field == 'updatedAt'">
|
||||||
updated_at BETWEEN #{criterion.value[0]} AND #{criterion.value[1]}
|
updated_at BETWEEN #{criterion.value[0]} AND #{criterion.value[1]}
|
||||||
|
@ -1,13 +1,3 @@
|
|||||||
- restConfiguration:
|
|
||||||
component: platform-http
|
|
||||||
bindingMode: json
|
|
||||||
dataFormatProperty:
|
|
||||||
- key: prettyPrint
|
|
||||||
value: "true"
|
|
||||||
- key: dateFormatPattern
|
|
||||||
value: yyyy-MM-dd HH:mm:ss
|
|
||||||
- key: json.out.disableFeatures
|
|
||||||
value: WRITE_DATES_AS_TIMESTAMPS
|
|
||||||
- rest:
|
- rest:
|
||||||
id: rest-523c
|
id: rest-523c
|
||||||
description: 用户服务
|
description: 用户服务
|
||||||
@ -493,3 +483,13 @@
|
|||||||
id: bean-8272
|
id: bean-8272
|
||||||
ref: paginationAggregator
|
ref: paginationAggregator
|
||||||
method: setDeletedResponse
|
method: setDeletedResponse
|
||||||
|
- restConfiguration:
|
||||||
|
component: platform-http
|
||||||
|
bindingMode: json
|
||||||
|
dataFormatProperty:
|
||||||
|
- key: dateFormatPattern
|
||||||
|
value: yyyy-MM-dd HH:mm:ss
|
||||||
|
- key: json.out.disableFeatures
|
||||||
|
value: WRITE_DATES_AS_TIMESTAMPS
|
||||||
|
- key: json.in.disableFeatures
|
||||||
|
value: WRITE_DATES_AS_TIMESTAMPS
|
||||||
|
Loading…
x
Reference in New Issue
Block a user