浏览代码

优化演示视频是否公开

LinWuTai 11 月之前
父节点
当前提交
e860b25847
共有 1 个文件被更改,包括 1 次插入0 次删除
  1. 1 0
      lab-admin/src/main/resources/mapper/asset/TbDemoVideoMapper.xml

+ 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>