|
@@ -13,6 +13,8 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
|
|
<result property="state" column="state" />
|
|
|
<result property="horizontal" column="horizontal" />
|
|
|
<result property="videoOrder" column="video_order" />
|
|
|
+ <result property="permission" column="permission" />
|
|
|
+ <result property="tryLookSecond" column="try_look_second" />
|
|
|
<result property="createTime" column="create_time" />
|
|
|
<result property="updateTime" column="update_time" />
|
|
|
</resultMap>
|
|
@@ -31,6 +33,8 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
|
|
<if test="state != null "> and state = #{state}</if>
|
|
|
<if test="horizontal != null "> and horizontal = #{horizontal}</if>
|
|
|
<if test="videoOrder != null "> and video_order = #{videoOrder}</if>
|
|
|
+ <if test="permission != null "> and permission = #{permission}</if>
|
|
|
+ <if test="tryLookSecond != null "> and try_look_second = #{horizontal}</if>
|
|
|
order by video_order asc
|
|
|
</where>
|
|
|
</select>
|