From 3becad2a3f683b4c67aff0724a3a06a99372c0ee Mon Sep 17 00:00:00 2001 From: yinq <1345442242@qq.com> Date: Tue, 26 Sep 2023 14:17:08 +0800 Subject: [PATCH] =?UTF-8?q?change=20-=20=E4=BB=A3=E7=A0=81=E7=94=9F?= =?UTF-8?q?=E6=88=90.xml?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- aucma-generator/src/main/resources/vm/xml/mapper.xml.vm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/aucma-generator/src/main/resources/vm/xml/mapper.xml.vm b/aucma-generator/src/main/resources/vm/xml/mapper.xml.vm index 0a9e40f..84009a2 100644 --- a/aucma-generator/src/main/resources/vm/xml/mapper.xml.vm +++ b/aucma-generator/src/main/resources/vm/xml/mapper.xml.vm @@ -51,7 +51,7 @@ #elseif($queryType == "LIKE") and $columnName like concat(concat('%', #{$javaField}), '%') #elseif($queryType == "BETWEEN") - and $columnName between #{params.begin$AttrName} and #{params.end$AttrName} + and $columnName between to_date(#{params.begin$AttrName}, 'yyyy-mm-dd hh24:mi:ss') and to_date(#{params.end$AttrName}, 'yyyy-mm-dd hh24:mi:ss') #end #end #end