权限功能调整
This commit is contained in:
parent
ad319c094e
commit
81c4db28a7
@ -1,7 +1,7 @@
|
||||
<?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">
|
||||
<mapper namespace="club.joylink.rtss.dao.SystemAbilityDAO">
|
||||
<resultMap id="BaseResultMap" type="club.joylink.rtss.entity.race2.SystemAbility">
|
||||
<mapper namespace="club.joylink.rtss.dao.permission.SystemAbilityDAO">
|
||||
<resultMap id="BaseResultMap" type="club.joylink.rtss.entity.permission.SystemAbility">
|
||||
<id column="id" jdbcType="BIGINT" property="id" />
|
||||
<result column="map_id" jdbcType="BIGINT" property="mapId" />
|
||||
<result column="type" jdbcType="VARCHAR" property="type" />
|
||||
@ -73,7 +73,7 @@
|
||||
<sql id="Base_Column_List">
|
||||
id, map_id, `type`, ability_id, `name`, `status`, creator_id, create_time, update_time
|
||||
</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
|
||||
<if test="distinct">
|
||||
distinct
|
||||
@ -105,13 +105,13 @@
|
||||
delete from rts_system_ability
|
||||
where id = #{id,jdbcType=BIGINT}
|
||||
</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
|
||||
<if test="_parameter != null">
|
||||
<include refid="Example_Where_Clause" />
|
||||
</if>
|
||||
</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`,
|
||||
ability_id, `name`, `status`,
|
||||
creator_id, create_time, update_time
|
||||
@ -121,7 +121,7 @@
|
||||
#{creatorId,jdbcType=BIGINT}, #{createTime,jdbcType=TIMESTAMP}, #{updateTime,jdbcType=TIMESTAMP}
|
||||
)
|
||||
</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
|
||||
<trim prefix="(" suffix=")" suffixOverrides=",">
|
||||
<if test="id != null">
|
||||
@ -182,7 +182,7 @@
|
||||
</if>
|
||||
</trim>
|
||||
</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
|
||||
<if test="_parameter != null">
|
||||
<include refid="Example_Where_Clause" />
|
||||
@ -238,7 +238,7 @@
|
||||
<include refid="Update_By_Example_Where_Clause" />
|
||||
</if>
|
||||
</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
|
||||
<set>
|
||||
<if test="mapId != null">
|
||||
@ -268,7 +268,7 @@
|
||||
</set>
|
||||
where id = #{id,jdbcType=BIGINT}
|
||||
</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
|
||||
set map_id = #{mapId,jdbcType=BIGINT},
|
||||
`type` = #{type,jdbcType=VARCHAR},
|
||||
@ -280,4 +280,4 @@
|
||||
update_time = #{updateTime,jdbcType=TIMESTAMP}
|
||||
where id = #{id,jdbcType=BIGINT}
|
||||
</update>
|
||||
</mapper>
|
||||
</mapper>
|
||||
|
Loading…
Reference in New Issue
Block a user