From 9f14a435039c4159cdc015bb567adc6a3f84306f Mon Sep 17 00:00:00 2001
From: xiaoyong931011 <15274802129@163.com>
Date: Wed, 22 Dec 2021 15:35:29 +0800
Subject: [PATCH] 20211216

---
 src/main/resources/mapper/video/VideoMasterInfoMapper.xml |   10 ++++++++++
 1 files changed, 10 insertions(+), 0 deletions(-)

diff --git a/src/main/resources/mapper/video/VideoMasterInfoMapper.xml b/src/main/resources/mapper/video/VideoMasterInfoMapper.xml
index 0ffcb3d..92238e5 100644
--- a/src/main/resources/mapper/video/VideoMasterInfoMapper.xml
+++ b/src/main/resources/mapper/video/VideoMasterInfoMapper.xml
@@ -14,6 +14,12 @@
         <if test="record.title != null and record.title != ''">
             and a.title like concat('%', #{record.title}, '%')
         </if>
+        <if test="record.isUp != null">
+            and a.is_up = #{record.isUp}
+        </if>
+        <if test="record.isFree != null">
+            and a.is_free = #{record.isFree}
+        </if>
         group by a.id
     </select>
 
@@ -32,6 +38,8 @@
             <result property="thumb" column="item_thumb" />
             <result property="sourceId" column="source_id" />
             <result property="sourceName" column="sourceName" />
+            <result property="timeLength" column="item_time_length" />
+            <result property="seq" column="seq" />
         </collection>
     </resultMap>
 
@@ -42,6 +50,8 @@
             b.name,
             b.thumb item_thumb,
             b.source_id,
+            b.time_length item_time_length,
+            b.seq,
             c.name sourceName
         from video_master_info a, video_master_items b, video_master_source c
         where a.id=b.master_id and a.id=#{id} and b.source_id=c.id

--
Gitblit v1.9.1