增加 vip
This commit is contained in:
@@ -45,6 +45,9 @@ public class MusicScene extends BaseEntity
|
||||
/** 1删除 */
|
||||
@Excel(name = "1删除")
|
||||
private Long isDel;
|
||||
/** 1删除 */
|
||||
@Excel(name = "vip")
|
||||
private Long vip;
|
||||
|
||||
|
||||
}
|
||||
|
||||
@@ -15,10 +15,11 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
||||
<result property="createTime" column="create_time" />
|
||||
<result property="updateTime" column="update_time" />
|
||||
<result property="isDel" column="is_del" />
|
||||
<result property="vip" column="vip" />
|
||||
</resultMap>
|
||||
|
||||
<sql id="selectMusicSceneVo">
|
||||
select id, scene_id, scene, music_addr, creator, modify, create_time, update_time, is_del,img_addr from music_scene
|
||||
select id, scene_id, scene, music_addr, creator, modify, create_time, update_time, is_del,img_addr,vip from music_scene
|
||||
</sql>
|
||||
|
||||
<select id="selectMusicSceneList" parameterType="MusicScene" resultMap="MusicSceneResult">
|
||||
@@ -50,6 +51,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
||||
<if test="updateTime != null">update_time,</if>
|
||||
<if test="isDel != null">is_del,</if>
|
||||
<if test="imgAddr != null">img_addr,</if>
|
||||
<if test="vip != null">vip,</if>
|
||||
</trim>
|
||||
<trim prefix="values (" suffix=")" suffixOverrides=",">
|
||||
<if test="sceneId != null">#{sceneId},</if>
|
||||
@@ -61,6 +63,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
||||
<if test="updateTime != null">#{updateTime},</if>
|
||||
<if test="isDel != null">#{isDel},</if>
|
||||
<if test="imgAddr != null">#{imgAddr},</if>
|
||||
<if test="vip != null">#{vip},</if>
|
||||
</trim>
|
||||
</insert>
|
||||
|
||||
@@ -76,6 +79,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
||||
<if test="updateTime != null">update_time = #{updateTime},</if>
|
||||
<if test="isDel != null">is_del = #{isDel},</if>
|
||||
<if test="imgAddr != null">img_addr = #{imgAddr},</if>
|
||||
<if test="vip != null">vip = #{vip},</if>
|
||||
</trim>
|
||||
where id = #{id}
|
||||
</update>
|
||||
|
||||
Reference in New Issue
Block a user