Kaynağa Gözat

优化演示视频是否公开

LinWuTai 11 ay önce
ebeveyn
işleme
e860b25847

+ 1 - 0
lab-admin/src/main/resources/mapper/asset/TbDemoVideoMapper.xml

@@ -28,6 +28,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
             <if test="name != null  and name != ''"> and name like concat('%', #{name}, '%')</if>
             <if test="type != null  and type != ''"> and type = #{type}</if>
             <if test="size != null  and size != ''"> and size &lt;= #{size}</if>
+            <if test="isPublic != null"> and is_public = #{isPublic}</if>
         </where>
     </select>