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