2025/3/14 06:04:44---修改json配置
This commit is contained in:
parent
3eb2c1aee2
commit
2e893b1276
@ -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 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 test="criterion.operator == 'BETWEEN' and criterion.field == 'updatedAt'">
|
||||
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:
|
||||
id: rest-523c
|
||||
description: 用户服务
|
||||
@ -493,3 +483,13 @@
|
||||
id: bean-8272
|
||||
ref: paginationAggregator
|
||||
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