|
@@ -10,6 +10,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
|
|
<result property="type" column="type" />
|
|
|
<result property="size" column="size" />
|
|
|
<result property="url" column="url" />
|
|
|
+ <result property="isPublic" column="is_public" />
|
|
|
<result property="remark" column="remark" />
|
|
|
<result property="createBy" column="create_by" />
|
|
|
<result property="createTime" column="create_time" />
|
|
@@ -18,7 +19,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
|
|
</resultMap>
|
|
|
|
|
|
<sql id="selectTbDemoVideoVo">
|
|
|
- select id, name, type, size, url, remark, create_by, create_time, update_by, update_time from tb_demo_video
|
|
|
+ select id, name, type, size, url, is_public, remark, create_by, create_time, update_by, update_time from tb_demo_video
|
|
|
</sql>
|
|
|
|
|
|
<select id="selectTbDemoVideoList" parameterType="TbDemoVideo" resultMap="TbDemoVideoResult">
|
|
@@ -42,6 +43,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
|
|
<if test="type != null and type != ''">type,</if>
|
|
|
<if test="size != null and size != ''">size,</if>
|
|
|
<if test="url != null and url != ''">url,</if>
|
|
|
+ <if test="isPublic != null">is_public,</if>
|
|
|
<if test="remark != null">remark,</if>
|
|
|
<if test="createBy != null">create_by,</if>
|
|
|
<if test="createTime != null">create_time,</if>
|
|
@@ -53,6 +55,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
|
|
<if test="type != null and type != ''">#{type},</if>
|
|
|
<if test="size != null and size != ''">#{size},</if>
|
|
|
<if test="url != null and url != ''">#{url},</if>
|
|
|
+ <if test="isPublic != null">#{isPublic},</if>
|
|
|
<if test="remark != null">#{remark},</if>
|
|
|
<if test="createBy != null">#{createBy},</if>
|
|
|
<if test="createTime != null">#{createTime},</if>
|
|
@@ -68,6 +71,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
|
|
<if test="type != null and type != ''">type = #{type},</if>
|
|
|
<if test="size != null and size != ''">size = #{size},</if>
|
|
|
<if test="url != null and url != ''">url = #{url},</if>
|
|
|
+ <if test="isPublic != null">is_public = #{isPublic},</if>
|
|
|
<if test="remark != null">remark = #{remark},</if>
|
|
|
<if test="createBy != null">create_by = #{createBy},</if>
|
|
|
<if test="createTime != null">create_time = #{createTime},</if>
|