fix(mapper): 修正系统配置映射器中的序列名称

- 修正 SysConfigMapper.xml 中的序列名称为 seq_z_sys_config
- 修正 SysDeptMapper.xml 中的序列名称为 seq_z_sys_dept
- 修正 SysDictDataMapper.xml 中的序列名称为 seq_z_sys_dict_data
- 修正 SysDictTypeMapper.xml 中的序列名称为 seq_z_sys_dict_type
- 修正 SysLogininforMapper.xml 中的序列名称为 seq_z_sys_logininfor
- 修正 SysMenuMapper.xml 中的序列名称为 seq_z_sys_menu
- 修正 SysNoticeMapper.xml 中的序列名称为 seq_z_sys_notice
- 修正 SysOperLogMapper.xml 中的序列名称为 seq_z_sys_oper_log
- 修正 SysPortLogMapper.xml 中的序列名称为 seq_z_sys_port_log
- 修正 SysPostMapper.xml 中的序列名称为 seq_z_sys_post
- 修正 SysRoleMapper.xml 中的序列名称为 seq_z_sys_role
- 修正 SysUserMapper.xml 中的序列名称为 seq_z_sys_user
master
zangch@mesnac.com 5 days ago
parent 9e1a881842
commit 4c790c5206

@ -71,7 +71,7 @@
<insert id="insertConfig" parameterType="SysConfig">
<selectKey keyProperty="configId" resultType="long" order="BEFORE">
SELECT seq_sys_config.NEXTVAL as configId FROM DUAL
SELECT seq_z_sys_config.NEXTVAL as configId FROM DUAL
</selectKey>
insert into Z_sys_config (
<if test="configId != null and configId != 0 ">config_id,</if>

@ -87,7 +87,7 @@
<insert id="insertDept" parameterType="SysDept">
<selectKey keyProperty="deptId" order="BEFORE" resultType="Long">
select seq_sys_dept.nextval as deptId from DUAL
select seq_z_sys_dept.nextval as deptId from DUAL
</selectKey>
insert into Z_SYS_dept(
<if test="deptId != null and deptId != 0">dept_id,</if>

@ -95,7 +95,7 @@
<insert id="insertDictData" parameterType="SysDictData">
<selectKey keyProperty="dictCode" resultType="long" order="BEFORE">
SELECT seq_sys_dict_data.NEXTVAL as dictCode FROM DUAL
SELECT seq_z_sys_dict_data.NEXTVAL as dictCode FROM DUAL
</selectKey>
insert into Z_sys_dict_data(
<if test="dictCode != null and dictCode != 0">dict_code,</if>

@ -87,7 +87,7 @@
<insert id="insertDictType" parameterType="SysDictType">
<selectKey keyProperty="dictId" resultType="long" order="BEFORE">
SELECT seq_Z_sys_dict_type.NEXTVAL as dictId FROM DUAL
SELECT seq_z_sys_dict_type.NEXTVAL as dictId FROM DUAL
</selectKey>
insert into Z_sys_dict_type(
<if test="dictId != null and dictId != 0">dict_id,</if>

@ -18,7 +18,7 @@
<insert id="insertLogininfor" parameterType="SysLogininfor">
<selectKey keyProperty="infoId" resultType="long" order="BEFORE">
SELECT seq_sys_logininfor.NEXTVAL as infoId FROM DUAL
SELECT seq_z_sys_logininfor.NEXTVAL as infoId FROM DUAL
</selectKey>
insert into Z_sys_logininfor (info_id, user_name, status, ipaddr, login_location, browser, os, msg, login_time)
values (#{infoId}, #{userName}, #{status}, #{ipaddr}, #{loginLocation}, #{browser}, #{os}, #{msg}, sysdate)

@ -157,7 +157,7 @@
<insert id="insertMenu" parameterType="SysMenu">
<selectKey keyProperty="menuId" order="BEFORE" resultType="Long">
select seq_sys_menu.nextval as menuId from DUAL
select seq_z_sys_menu.nextval as menuId from DUAL
</selectKey>
insert into Z_SYS_menu(
<if test="menuId != null and menuId != 0">menu_id,</if>

@ -44,7 +44,7 @@
<insert id="insertNotice" parameterType="SysNotice">
<selectKey keyProperty="noticeId" order="BEFORE" resultType="long">
select seq_sys_notice.nextval as noticeId from DUAL
select seq_z_sys_notice.nextval as noticeId from DUAL
</selectKey>
insert into Z_sys_notice (
<if test="noticeId != null and noticeId != '' ">notice_id, </if>

@ -31,7 +31,7 @@
<insert id="insertOperlog" parameterType="SysOperLog">
<selectKey keyProperty="operId" resultType="long" order="BEFORE">
SELECT seq_Z_sys_oper_log.NEXTVAL as operId FROM DUAL
SELECT seq_z_sys_oper_log.NEXTVAL as operId FROM DUAL
</selectKey>
insert into Z_sys_oper_log(
<if test="operId != null and operId != 0">oper_id,</if>

@ -48,7 +48,7 @@
<insert id="insertSysPortLog" parameterType="SysPortLog">
<selectKey keyProperty="objId" resultType="long" order="BEFORE">
SELECT seq_sys_port_log.NEXTVAL as objId FROM DUAL
SELECT seq_z_sys_port_log.NEXTVAL as objId FROM DUAL
</selectKey>
insert into Z_sys_port_log
<trim prefix="(" suffix=")" suffixOverrides=",">

@ -89,7 +89,7 @@
<insert id="insertPost" parameterType="SysPost" useGeneratedKeys="true" keyProperty="postId">
<selectKey keyProperty="postId" order="BEFORE" resultType="Long">
select seq_sys_post.nextval as postId from DUAL
select seq_z_sys_post.nextval as postId from DUAL
</selectKey>
insert into Z_sys_post(
<if test="postId != null and postId != 0">post_id,</if>

@ -95,7 +95,7 @@
<insert id="insertRole" parameterType="SysRole" useGeneratedKeys="true" keyProperty="roleId">
<selectKey keyProperty="roleId" order="BEFORE" resultType="Long">
select seq_sys_role.nextval as roleId from DUAL
select seq_z_sys_role.nextval as roleId from DUAL
</selectKey>
insert into Z_SYS_role(
<if test="roleId != null and roleId != 0">role_id,</if>

@ -204,7 +204,7 @@
<insert id="insertUser" parameterType="SysUser" useGeneratedKeys="true" keyProperty="userId">
<selectKey keyProperty="userId" order="BEFORE" resultType="Long">
select seq_sys_user.nextval as userId from DUAL
select seq_z_sys_user.nextval as userId from DUAL
</selectKey>
insert into Z_SYS_user(
<if test="userId != null and userId != 0">user_id,</if>

Loading…
Cancel
Save