yangzian 4 lat temu
rodzic
commit
fb8b56d8ba

+ 6 - 6
jeecg-boot-bytedance/src/main/java/org/jeecg/modules/bytedance/advertise/mapper/xml/ByteDanceVideoInfoMapper.xml

@@ -161,10 +161,10 @@
             and image.type = '1'
         </if>
         <if test="imageMode == '2'.toString()">
-            and (image.type = '2' or image.type = '4')
+            and (image.type = '2' or image.type = '3')
         </if>
         <if test="imageMode == '3'.toString()">
-            and (image.type = '3' or image.type = '4')
+            and image.type = '3'
         </if>
         and image.image_create_time &gt;= #{startTime}
         and image.image_create_time &lt;= #{endTime}
@@ -201,10 +201,10 @@
             and a.type = '1'
         </if>
         <if test="imageMode == '2'.toString()">
-            and (a.type = '2' or a.type = '4')
+            and (a.type = '2' or a.type = '3')
         </if>
         <if test="imageMode == '3'.toString()">
-            and (a.type = '3' or a.type = '4')
+            and a.type = '3'
         </if>)as image
         on a.material_id = image.material_id
         where 1=1
@@ -243,10 +243,10 @@
             and a.type = '1'
         </if>
         <if test="imageMode == '2'.toString()">
-            and (a.type = '2' or a.type = '4')
+            and (a.type = '2' or a.type = '3')
         </if>
         <if test="imageMode == '3'.toString()">
-            and (a.type = '3' or a.type = '4')
+            and a.type = '3'
         </if>) as image
         on a.material_id = image.material_id
         where 1=1