diff --git a/ruoyi-system/src/main/resources/mapper/system/SysConfigMapper.xml b/ruoyi-system/src/main/resources/mapper/system/SysConfigMapper.xml
index f33ad42..0f84e94 100644
--- a/ruoyi-system/src/main/resources/mapper/system/SysConfigMapper.xml
+++ b/ruoyi-system/src/main/resources/mapper/system/SysConfigMapper.xml
@@ -51,10 +51,10 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
AND config_key like concat('%', #{configKey}, '%')
- AND create_time >= #{params.beginTime}
+ AND create_time >= CAST(#{params.beginTime} AS TIMESTAMP)
- AND create_time <= #{params.endTime}
+ AND create_time <= CAST(#{params.endTime} AS TIMESTAMP)
diff --git a/ruoyi-system/src/main/resources/mapper/system/SysDictTypeMapper.xml b/ruoyi-system/src/main/resources/mapper/system/SysDictTypeMapper.xml
index 368f541..3b6fe9f 100644
--- a/ruoyi-system/src/main/resources/mapper/system/SysDictTypeMapper.xml
+++ b/ruoyi-system/src/main/resources/mapper/system/SysDictTypeMapper.xml
@@ -33,12 +33,11 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
AND dict_type like concat('%', #{dictType}, '%')
- AND create_time >= #{params.beginTime}
+ and create_time >= CAST(#{params.beginTime} AS TIMESTAMP)
- AND create_time <= #{params.endTime}
+ and create_time <= CAST(#{params.endTime} AS TIMESTAMP)
-
diff --git a/ruoyi-system/src/main/resources/mapper/system/SysLogininforMapper.xml b/ruoyi-system/src/main/resources/mapper/system/SysLogininforMapper.xml
index 32bb4f3..9943c55 100644
--- a/ruoyi-system/src/main/resources/mapper/system/SysLogininforMapper.xml
+++ b/ruoyi-system/src/main/resources/mapper/system/SysLogininforMapper.xml
@@ -34,10 +34,10 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
AND login_name like concat('%', #{loginName}, '%')
- AND login_time >= #{params.beginTime}
+ AND login_time >= CAST(#{params.beginTime} AS TIMESTAMP)
- AND login_time <= #{params.endTime}
+ AND login_time <= CAST(#{params.endTime} AS TIMESTAMP)
diff --git a/ruoyi-system/src/main/resources/mapper/system/SysOperLogMapper.xml b/ruoyi-system/src/main/resources/mapper/system/SysOperLogMapper.xml
index 05bb57a..68c16f9 100644
--- a/ruoyi-system/src/main/resources/mapper/system/SysOperLogMapper.xml
+++ b/ruoyi-system/src/main/resources/mapper/system/SysOperLogMapper.xml
@@ -56,10 +56,10 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
AND oper_name like concat('%', #{operName}, '%')
- AND oper_time >= #{params.beginTime}
+ AND oper_time >= CAST(#{params.beginTime} AS TIMESTAMP)
- AND oper_time <= #{params.endTime}
+ AND oper_time <= CAST(#{params.endTime} AS TIMESTAMP)
diff --git a/ruoyi-system/src/main/resources/mapper/system/SysRoleMapper.xml b/ruoyi-system/src/main/resources/mapper/system/SysRoleMapper.xml
index 353bb86..bcfcf72 100644
--- a/ruoyi-system/src/main/resources/mapper/system/SysRoleMapper.xml
+++ b/ruoyi-system/src/main/resources/mapper/system/SysRoleMapper.xml
@@ -52,10 +52,10 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
AND r.data_scope = #{dataScope}
- AND r.create_time >= #{params.beginTime}
+ and r.create_time >= CAST(#{params.beginTime} AS TIMESTAMP)
- AND r.create_time <= #{params.endTime}
+ and r.create_time <= CAST(#{params.endTime} AS TIMESTAMP)
diff --git a/ruoyi-system/src/main/resources/mapper/system/SysUserMapper.xml b/ruoyi-system/src/main/resources/mapper/system/SysUserMapper.xml
index 0f56dab..762a219 100644
--- a/ruoyi-system/src/main/resources/mapper/system/SysUserMapper.xml
+++ b/ruoyi-system/src/main/resources/mapper/system/SysUserMapper.xml
@@ -102,10 +102,10 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
AND u.phonenumber like concat('%', #{phonenumber}, '%')
- AND u.create_time >= #{params.beginTime}
+ AND u.create_time >= CAST(#{params.beginTime} AS TIMESTAMP)
- AND u.create_time <= #{params.endTime}
+ AND u.create_time <= CAST(#{params.endTime} AS TIMESTAMP)
AND (u.dept_id = #{deptId} OR u.dept_id IN ( SELECT t.dept_id FROM sys_dept t WHERE CAST(#{deptId} AS text) = ANY(string_to_array(ancestors, ','))))
diff --git a/ruoyi-system/src/main/resources/mapper/system/TdLeaveMapper.xml b/ruoyi-system/src/main/resources/mapper/system/TdLeaveMapper.xml
index d7d7666..4b760b0 100644
--- a/ruoyi-system/src/main/resources/mapper/system/TdLeaveMapper.xml
+++ b/ruoyi-system/src/main/resources/mapper/system/TdLeaveMapper.xml
@@ -27,19 +27,19 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"