diff --git a/ruoyi-generator/src/main/resources/mapper/generator/GenTableColumnMapper.xml b/ruoyi-generator/src/main/resources/mapper/generator/GenTableColumnMapper.xml
index 1bd2607062b2ef3326ec48faf27fe77f5284e0a2..07a33ce4457d820066fefdd8ae23b1c1b4bac069 100644
--- a/ruoyi-generator/src/main/resources/mapper/generator/GenTableColumnMapper.xml
+++ b/ruoyi-generator/src/main/resources/mapper/generator/GenTableColumnMapper.xml
@@ -110,17 +110,17 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
- delete from gen_table_column where table_id in
+ delete from gen_table_column where table_id::bigint in
#{tableId}
- delete from gen_table_column where column_id in
+ delete from gen_table_column where column_id::bigint in
#{item.columnId}
-
\ No newline at end of file
+
diff --git a/ruoyi-generator/src/main/resources/mapper/generator/GenTableMapper.xml b/ruoyi-generator/src/main/resources/mapper/generator/GenTableMapper.xml
index 5a6ad3077e8128cb465d2642688cd6412cf373bd..71f9a802c4aa04dfd1f7e9cc9b830b1883052dbd 100644
--- a/ruoyi-generator/src/main/resources/mapper/generator/GenTableMapper.xml
+++ b/ruoyi-generator/src/main/resources/mapper/generator/GenTableMapper.xml
@@ -27,7 +27,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
-
+
@@ -52,11 +52,11 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
-
+
select table_id, table_name, table_comment, sub_table_name, sub_table_fk_name, class_name, tpl_category, package_name, module_name, business_name, function_name, function_author, gen_type, gen_path, options, create_by, create_time, update_by, update_time, remark from gen_table
-
+
-
+
-
+
-
+
-
+
-
+
-
+
insert into gen_table (
table_name,
@@ -168,7 +168,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
current_timestamp
)
-
+
update gen_table
@@ -192,12 +192,12 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
where table_id = #{tableId}
-
+
- delete from gen_table where table_id in
+ delete from gen_table where table_id::bigint in
#{tableId}
-
\ No newline at end of file
+
diff --git a/ruoyi-quartz/src/main/resources/mapper/quartz/SysJobLogMapper.xml b/ruoyi-quartz/src/main/resources/mapper/quartz/SysJobLogMapper.xml
index 4ea2ea174720231ac7097bfd78a45da6f31c0337..2f1a9667eb51d00de54cb891704fa24b131a5a58 100644
--- a/ruoyi-quartz/src/main/resources/mapper/quartz/SysJobLogMapper.xml
+++ b/ruoyi-quartz/src/main/resources/mapper/quartz/SysJobLogMapper.xml
@@ -14,12 +14,12 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
-
+
- select job_log_id, job_name, job_group, invoke_target, job_message, status, exception_info, create_time
+ select job_log_id, job_name, job_group, invoke_target, job_message, status, exception_info, create_time
from sys_job_log
-
+
-
+
-
+
-
+
delete from sys_job_log where job_log_id = #{jobLogId}
-
+
- delete from sys_job_log where job_log_id in
+ delete from sys_job_log where job_log_id::bigint in
#{jobLogId}
-
+
-
+
truncate table sys_job_log
-
+
insert into sys_job_log(
job_log_id,
@@ -90,4 +90,4 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
)
-
\ No newline at end of file
+
diff --git a/ruoyi-quartz/src/main/resources/mapper/quartz/SysJobMapper.xml b/ruoyi-quartz/src/main/resources/mapper/quartz/SysJobMapper.xml
index 15c7a990d90b3332a435a474896505db21c67a63..d2bd8f1dc934914c7545f54387d32653b00642bb 100644
--- a/ruoyi-quartz/src/main/resources/mapper/quartz/SysJobMapper.xml
+++ b/ruoyi-quartz/src/main/resources/mapper/quartz/SysJobMapper.xml
@@ -19,12 +19,12 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
-
+
- select job_id, job_name, job_group, invoke_target, cron_expression, misfire_policy, concurrent, status, create_by, create_time, remark
+ select job_id, job_name, job_group, invoke_target, cron_expression, misfire_policy, concurrent, status, create_by, create_time, remark
from sys_job
-
+
-
+
-
+
-
+
delete from sys_job where job_id = #{jobId}
-
+
- delete from sys_job where job_id in
+ delete from sys_job where job_id::bigint in
#{jobId}
-
+
-
+
update sys_job
@@ -79,7 +79,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
where job_id = #{jobId}
-
+
insert into sys_job(
job_id,
@@ -108,4 +108,4 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
)
-
\ No newline at end of file
+
diff --git a/ruoyi-system/src/main/resources/mapper/system/SysConfigMapper.xml b/ruoyi-system/src/main/resources/mapper/system/SysConfigMapper.xml
index f6ffbf1701e3b3c63a33ecf15e504ee2afab5248..3e806b737526ad8c5307fdc0710ac3aceff27d4b 100644
--- a/ruoyi-system/src/main/resources/mapper/system/SysConfigMapper.xml
+++ b/ruoyi-system/src/main/resources/mapper/system/SysConfigMapper.xml
@@ -3,7 +3,7 @@
PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
"http://mybatis.org/dtd/mybatis-3-mapper.dtd">
-
+
@@ -15,12 +15,12 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
-
+
- select config_id, config_name, config_key, config_value, config_type, create_by, create_time, update_by, update_time, remark
+ select config_id, config_name, config_key, config_value, config_type, create_by, create_time, update_by, update_time, remark
from sys_config
-
+
@@ -32,12 +32,12 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
-
+
-
+
-
+
-
+
-
+
insert into sys_config (
config_name,
@@ -88,9 +88,9 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
current_timestamp
)
-
+
- update sys_config
+ update sys_config
config_name = #{configName},
config_key = #{configKey},
@@ -102,16 +102,16 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
where config_id = #{configId}
-
+
delete from sys_config where config_id = #{configId}
-
+
- delete from sys_config where config_id in
+ delete from sys_config where config_id::bigint in
#{configId}
-
-
\ No newline at end of file
+
+
diff --git a/ruoyi-system/src/main/resources/mapper/system/SysDictTypeMapper.xml b/ruoyi-system/src/main/resources/mapper/system/SysDictTypeMapper.xml
index 938d97276a62f789130dc269839bd0784ec37e39..3720981a1696f51647450548a31354fec0d446e8 100644
--- a/ruoyi-system/src/main/resources/mapper/system/SysDictTypeMapper.xml
+++ b/ruoyi-system/src/main/resources/mapper/system/SysDictTypeMapper.xml
@@ -14,9 +14,9 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
-
+
- select dict_id, dict_name, dict_type, status, create_by, create_time, remark
+ select dict_id, dict_name, dict_type, status, create_by, create_time, remark
from sys_dict_type
@@ -40,35 +40,35 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
-
+
-
+
-
+
-
+
-
+
delete from sys_dict_type where dict_id = #{dictId}
-
+
- delete from sys_dict_type where dict_id in
+ delete from sys_dict_type where dict_id::bigint in
#{dictId}
-
+
@@ -83,7 +83,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
where dict_id = #{dictId}
-
+
insert into sys_dict_type(
dict_name,
@@ -101,5 +101,5 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
current_timestamp
)
-
-
\ No newline at end of file
+
+
diff --git a/ruoyi-system/src/main/resources/mapper/system/SysLogininforMapper.xml b/ruoyi-system/src/main/resources/mapper/system/SysLogininforMapper.xml
index d18f0055dd2b5dcf83e8c0db82c041121851d82d..6a2bb3104e85fdd5989b15f9b8d15bcbe4910afd 100644
--- a/ruoyi-system/src/main/resources/mapper/system/SysLogininforMapper.xml
+++ b/ruoyi-system/src/main/resources/mapper/system/SysLogininforMapper.xml
@@ -20,7 +20,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
insert into sys_logininfor (user_name, status, ipaddr, login_location, browser, os, msg, login_time)
values (#{userName}, #{status}, #{ipaddr}, #{loginLocation}, #{browser}, #{os}, #{msg}, current_timestamp)
-
+
-
+
- delete from sys_logininfor where info_id in
+ delete from sys_logininfor where info_id::bigint in
#{infoId}
-
+
-
+
truncate table sys_logininfor
-
-
\ No newline at end of file
+
+
diff --git a/ruoyi-system/src/main/resources/mapper/system/SysNoticeMapper.xml b/ruoyi-system/src/main/resources/mapper/system/SysNoticeMapper.xml
index b7af1625175df464fb1dc879c2ed9c312ef38df7..37287839332e4ae2dd9a19ffa07ba919ba87bbda 100644
--- a/ruoyi-system/src/main/resources/mapper/system/SysNoticeMapper.xml
+++ b/ruoyi-system/src/main/resources/mapper/system/SysNoticeMapper.xml
@@ -3,7 +3,7 @@
PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
"http://mybatis.org/dtd/mybatis-3-mapper.dtd">
-
+
@@ -16,17 +16,17 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
-
+
select notice_id, notice_title, notice_type, notice_content, status, create_by, create_time, update_by, update_time, remark
from sys_notice
-
+
-
+
-
+
insert into sys_notice (
notice_title,
@@ -61,9 +61,9 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
current_timestamp
)
-
+
- update sys_notice
+ update sys_notice
notice_title = #{noticeTitle},
notice_type = #{noticeType},
@@ -74,16 +74,16 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
where notice_id = #{noticeId}
-
+
delete from sys_notice where notice_id = #{noticeId}
-
+
- delete from sys_notice where notice_id in
+ delete from sys_notice where notice_id::bigint in
#{noticeId}
-
+
diff --git a/ruoyi-system/src/main/resources/mapper/system/SysOperLogMapper.xml b/ruoyi-system/src/main/resources/mapper/system/SysOperLogMapper.xml
index 23b814e56857d6152fe47508e554c5c7d1c3c539..721b3c11eb50ed1253b1056b6cd8ba775751558d 100644
--- a/ruoyi-system/src/main/resources/mapper/system/SysOperLogMapper.xml
+++ b/ruoyi-system/src/main/resources/mapper/system/SysOperLogMapper.xml
@@ -28,12 +28,12 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
select oper_id, title, business_type, method, request_method, operator_type, oper_name, dept_name, oper_url, oper_ip, oper_location, oper_param, json_result, status, error_msg, oper_time, cost_time
from sys_oper_log
-
+
insert into sys_oper_log(title, business_type, method, request_method, operator_type, oper_name, dept_name, oper_url, oper_ip, oper_location, oper_param, json_result, status, error_msg, cost_time, oper_time)
values (#{title}, #{businessType}, #{method}, #{requestMethod}, #{operatorType}, #{operName}, #{deptName}, #{operUrl}, #{operIp}, #{operLocation}, #{operParam}, #{jsonResult}, #{status}, #{errorMsg}, #{costTime}, current_timestamp)
-
+
-
+
- delete from sys_oper_log where oper_id in
+ delete from sys_oper_log where oper_id::bigint in
#{operId}
-
+
-
+
-
+
truncate table sys_oper_log
-
\ No newline at end of file
+
diff --git a/ruoyi-system/src/main/resources/mapper/system/SysPostMapper.xml b/ruoyi-system/src/main/resources/mapper/system/SysPostMapper.xml
index bf227a7d90f7e5a0e319dbc79912c98b88e80d78..a89a197ceef97de6226e2adfed20447258c17099 100644
--- a/ruoyi-system/src/main/resources/mapper/system/SysPostMapper.xml
+++ b/ruoyi-system/src/main/resources/mapper/system/SysPostMapper.xml
@@ -16,12 +16,12 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
-
+
- select post_id, post_code, post_name, post_sort, status, create_by, create_time, remark
+ select post_id, post_code, post_name, post_sort, status, create_by, create_time, remark
from sys_post
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
update sys_post
@@ -85,7 +85,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
where post_id = #{postId}
-
+
insert into sys_post(
post_id,
@@ -107,16 +107,16 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
current_timestamp
)
-
+
delete from sys_post where post_id = #{postId}
-
+
- delete from sys_post where post_id in
+ delete from sys_post where post_id::bigint in
#{postId}
-
+
-
\ No newline at end of file
+
diff --git a/ruoyi-system/src/main/resources/mapper/system/SysRoleDeptMapper.xml b/ruoyi-system/src/main/resources/mapper/system/SysRoleDeptMapper.xml
index 700671e154c5ff1b6830b77cf2622000ee64ebe1..cde4330327ca65688a476405473190f155b71c39 100644
--- a/ruoyi-system/src/main/resources/mapper/system/SysRoleDeptMapper.xml
+++ b/ruoyi-system/src/main/resources/mapper/system/SysRoleDeptMapper.xml
@@ -12,23 +12,23 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
delete from sys_role_dept where role_id=#{roleId}
-
+
-
+
- delete from sys_role_dept where role_id in
+ delete from sys_role_dept where role_id::bigint in
#{roleId}
-
+
-
+
insert into sys_role_dept(role_id, dept_id) values
(#{item.roleId},#{item.deptId})
-
-
\ No newline at end of file
+
+
diff --git a/ruoyi-system/src/main/resources/mapper/system/SysRoleMenuMapper.xml b/ruoyi-system/src/main/resources/mapper/system/SysRoleMenuMapper.xml
index e75bb174400fa43788edf7aef2d415825eea0812..3beb099b16db5d03bcf4e4f790181a4122e0cdf4 100644
--- a/ruoyi-system/src/main/resources/mapper/system/SysRoleMenuMapper.xml
+++ b/ruoyi-system/src/main/resources/mapper/system/SysRoleMenuMapper.xml
@@ -8,7 +8,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
-
+
@@ -16,19 +16,19 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
-
+
-
+
-
-
\ No newline at end of file
+
+
diff --git a/ruoyi-system/src/main/resources/mapper/system/SysUserPostMapper.xml b/ruoyi-system/src/main/resources/mapper/system/SysUserPostMapper.xml
index 21c40981b1af4c82e1222aa71e19b63cfa42d7dd..d9ff79ef4789ee510fdaa0029e2753e35ce1b218 100644
--- a/ruoyi-system/src/main/resources/mapper/system/SysUserPostMapper.xml
+++ b/ruoyi-system/src/main/resources/mapper/system/SysUserPostMapper.xml
@@ -12,23 +12,23 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
delete from sys_user_post where user_id=#{userId}
-
+
-
+
- delete from sys_user_post where user_id in
+ delete from sys_user_post where user_id::bigint in
#{userId}
-
+
-
+
insert into sys_user_post(user_id, post_id) values
(#{item.userId},#{item.postId})
-
-
\ No newline at end of file
+
+
diff --git a/ruoyi-system/src/main/resources/mapper/system/SysUserRoleMapper.xml b/ruoyi-system/src/main/resources/mapper/system/SysUserRoleMapper.xml
index 95e07adb12915a9c67702bd97589268d4bfe6fa3..ec7849c8c423f92ae89e03ce0304c9abe99a0f82 100644
--- a/ruoyi-system/src/main/resources/mapper/system/SysUserRoleMapper.xml
+++ b/ruoyi-system/src/main/resources/mapper/system/SysUserRoleMapper.xml
@@ -12,33 +12,33 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
delete from sys_user_role where user_id=#{userId}
-
+
-
+
- delete from sys_user_role where user_id in
+ delete from sys_user_role where user_id::bigint in
#{userId}
-
+
-
+
insert into sys_user_role(user_id, role_id) values
(#{item.userId},#{item.roleId})
-
+
delete from sys_user_role where user_id=#{userId} and role_id=#{roleId}
-
+
- delete from sys_user_role where role_id=#{roleId} and user_id in
+ delete from sys_user_role where role_id=#{roleId} and user_id::bigint in
#{userId}
-
+
-
\ No newline at end of file
+