权限功能调整
This commit is contained in:
parent
ad319c094e
commit
81c4db28a7
@ -1,7 +1,7 @@
|
|||||||
<?xml version="1.0" encoding="UTF-8"?>
|
<?xml version="1.0" encoding="UTF-8"?>
|
||||||
<!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd">
|
<!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd">
|
||||||
<mapper namespace="club.joylink.rtss.dao.SystemAbilityDAO">
|
<mapper namespace="club.joylink.rtss.dao.permission.SystemAbilityDAO">
|
||||||
<resultMap id="BaseResultMap" type="club.joylink.rtss.entity.race2.SystemAbility">
|
<resultMap id="BaseResultMap" type="club.joylink.rtss.entity.permission.SystemAbility">
|
||||||
<id column="id" jdbcType="BIGINT" property="id" />
|
<id column="id" jdbcType="BIGINT" property="id" />
|
||||||
<result column="map_id" jdbcType="BIGINT" property="mapId" />
|
<result column="map_id" jdbcType="BIGINT" property="mapId" />
|
||||||
<result column="type" jdbcType="VARCHAR" property="type" />
|
<result column="type" jdbcType="VARCHAR" property="type" />
|
||||||
@ -73,7 +73,7 @@
|
|||||||
<sql id="Base_Column_List">
|
<sql id="Base_Column_List">
|
||||||
id, map_id, `type`, ability_id, `name`, `status`, creator_id, create_time, update_time
|
id, map_id, `type`, ability_id, `name`, `status`, creator_id, create_time, update_time
|
||||||
</sql>
|
</sql>
|
||||||
<select id="selectByExample" parameterType="club.joylink.rtss.entity.race2.SystemAbilityExample" resultMap="BaseResultMap">
|
<select id="selectByExample" parameterType="club.joylink.rtss.entity.permission.SystemAbilityExample" resultMap="BaseResultMap">
|
||||||
select
|
select
|
||||||
<if test="distinct">
|
<if test="distinct">
|
||||||
distinct
|
distinct
|
||||||
@ -105,13 +105,13 @@
|
|||||||
delete from rts_system_ability
|
delete from rts_system_ability
|
||||||
where id = #{id,jdbcType=BIGINT}
|
where id = #{id,jdbcType=BIGINT}
|
||||||
</delete>
|
</delete>
|
||||||
<delete id="deleteByExample" parameterType="club.joylink.rtss.entity.race2.SystemAbilityExample">
|
<delete id="deleteByExample" parameterType="club.joylink.rtss.entity.permission.SystemAbilityExample">
|
||||||
delete from rts_system_ability
|
delete from rts_system_ability
|
||||||
<if test="_parameter != null">
|
<if test="_parameter != null">
|
||||||
<include refid="Example_Where_Clause" />
|
<include refid="Example_Where_Clause" />
|
||||||
</if>
|
</if>
|
||||||
</delete>
|
</delete>
|
||||||
<insert id="insert" parameterType="club.joylink.rtss.entity.race2.SystemAbility">
|
<insert id="insert" parameterType="club.joylink.rtss.entity.permission.SystemAbility">
|
||||||
insert into rts_system_ability (id, map_id, `type`,
|
insert into rts_system_ability (id, map_id, `type`,
|
||||||
ability_id, `name`, `status`,
|
ability_id, `name`, `status`,
|
||||||
creator_id, create_time, update_time
|
creator_id, create_time, update_time
|
||||||
@ -121,7 +121,7 @@
|
|||||||
#{creatorId,jdbcType=BIGINT}, #{createTime,jdbcType=TIMESTAMP}, #{updateTime,jdbcType=TIMESTAMP}
|
#{creatorId,jdbcType=BIGINT}, #{createTime,jdbcType=TIMESTAMP}, #{updateTime,jdbcType=TIMESTAMP}
|
||||||
)
|
)
|
||||||
</insert>
|
</insert>
|
||||||
<insert id="insertSelective" parameterType="club.joylink.rtss.entity.race2.SystemAbility">
|
<insert id="insertSelective" parameterType="club.joylink.rtss.entity.permission.SystemAbility">
|
||||||
insert into rts_system_ability
|
insert into rts_system_ability
|
||||||
<trim prefix="(" suffix=")" suffixOverrides=",">
|
<trim prefix="(" suffix=")" suffixOverrides=",">
|
||||||
<if test="id != null">
|
<if test="id != null">
|
||||||
@ -182,7 +182,7 @@
|
|||||||
</if>
|
</if>
|
||||||
</trim>
|
</trim>
|
||||||
</insert>
|
</insert>
|
||||||
<select id="countByExample" parameterType="club.joylink.rtss.entity.race2.SystemAbilityExample" resultType="java.lang.Long">
|
<select id="countByExample" parameterType="club.joylink.rtss.entity.permission.SystemAbilityExample" resultType="java.lang.Long">
|
||||||
select count(*) from rts_system_ability
|
select count(*) from rts_system_ability
|
||||||
<if test="_parameter != null">
|
<if test="_parameter != null">
|
||||||
<include refid="Example_Where_Clause" />
|
<include refid="Example_Where_Clause" />
|
||||||
@ -238,7 +238,7 @@
|
|||||||
<include refid="Update_By_Example_Where_Clause" />
|
<include refid="Update_By_Example_Where_Clause" />
|
||||||
</if>
|
</if>
|
||||||
</update>
|
</update>
|
||||||
<update id="updateByPrimaryKeySelective" parameterType="club.joylink.rtss.entity.race2.SystemAbility">
|
<update id="updateByPrimaryKeySelective" parameterType="club.joylink.rtss.entity.permission.SystemAbility">
|
||||||
update rts_system_ability
|
update rts_system_ability
|
||||||
<set>
|
<set>
|
||||||
<if test="mapId != null">
|
<if test="mapId != null">
|
||||||
@ -268,7 +268,7 @@
|
|||||||
</set>
|
</set>
|
||||||
where id = #{id,jdbcType=BIGINT}
|
where id = #{id,jdbcType=BIGINT}
|
||||||
</update>
|
</update>
|
||||||
<update id="updateByPrimaryKey" parameterType="club.joylink.rtss.entity.race2.SystemAbility">
|
<update id="updateByPrimaryKey" parameterType="club.joylink.rtss.entity.permission.SystemAbility">
|
||||||
update rts_system_ability
|
update rts_system_ability
|
||||||
set map_id = #{mapId,jdbcType=BIGINT},
|
set map_id = #{mapId,jdbcType=BIGINT},
|
||||||
`type` = #{type,jdbcType=VARCHAR},
|
`type` = #{type,jdbcType=VARCHAR},
|
||||||
@ -280,4 +280,4 @@
|
|||||||
update_time = #{updateTime,jdbcType=TIMESTAMP}
|
update_time = #{updateTime,jdbcType=TIMESTAMP}
|
||||||
where id = #{id,jdbcType=BIGINT}
|
where id = #{id,jdbcType=BIGINT}
|
||||||
</update>
|
</update>
|
||||||
</mapper>
|
</mapper>
|
||||||
|
Loading…
Reference in New Issue
Block a user