From b00d2f96e2bd294a1b09ff6ba59173df34e2256b Mon Sep 17 00:00:00 2001 From: Date: Thu, 13 Mar 2025 22:44:51 +0000 Subject: [PATCH] =?UTF-8?q?2025/3/14=2006:44:39---=E8=B0=83=E6=95=B4?= =?UTF-8?q?=E6=97=A5=E6=9C=9F=E6=A0=BC=E5=BC=8F11?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- camel-mybatis-yml/UserMapper.xml | 2 +- camel-mybatis-yml/user-manage.camel.yaml | 4 +++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/camel-mybatis-yml/UserMapper.xml b/camel-mybatis-yml/UserMapper.xml index 7eb966d..7eadbed 100644 --- a/camel-mybatis-yml/UserMapper.xml +++ b/camel-mybatis-yml/UserMapper.xml @@ -182,7 +182,7 @@ - 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]} updated_at BETWEEN #{criterion.value[0]} AND #{criterion.value[1]} diff --git a/camel-mybatis-yml/user-manage.camel.yaml b/camel-mybatis-yml/user-manage.camel.yaml index 92ff019..cb399fa 100644 --- a/camel-mybatis-yml/user-manage.camel.yaml +++ b/camel-mybatis-yml/user-manage.camel.yaml @@ -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: 用户服务