wl
2022-11-30 1085fd42401762f9d5b65f137d9ab758e413e3b9
fix: 图片管理视频管理 查询bug
2个文件已修改
6 ■■■■■ 已修改文件
ycl-platform/src/main/resources/mapper/resources/ImageResourcesMapper.xml 3 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
ycl-platform/src/main/resources/mapper/resources/VideoResourcesMapper.xml 3 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
ycl-platform/src/main/resources/mapper/resources/ImageResourcesMapper.xml
@@ -34,6 +34,9 @@
            <if test="type == '03' and type != null and type !='' ">
                t1.type='03'
            </if>
            <if test="type == null and type =='' ">
                t1.type='02' or t1.type='01'
            </if>
            <if test="startTime != '' and endTime != '' and startTime != null and endTime != null">
                and t1.create_time between #{startTime} and #{endTime}
            </if>
ycl-platform/src/main/resources/mapper/resources/VideoResourcesMapper.xml
@@ -34,6 +34,9 @@
            <if test="type == '03' and type != null and type !='' ">
                t1.type='03'
            </if>
            <if test="type == null and type =='' ">
                t1.type='02' or t1.type='01'
            </if>
            <if test="startTime != '' and endTime != '' and startTime != null and endTime != null">
                and t1.create_time between #{startTime} and #{endTime}
            </if>