|
@@ -27,8 +27,10 @@
|
|
|
and create_timestamp < #{param.createTimestampEnd}
|
|
|
</if>
|
|
|
<if test="param.title != null and param.title != ''">
|
|
|
- and id in (select plan_id from content_platform_gzh_plan_video where title like concat('%', #{param.title},
|
|
|
- '%'))
|
|
|
+ and id in (select plan_id
|
|
|
+ from content_platform_gzh_plan_video
|
|
|
+ where title like concat('%', #{param.title}, '%')
|
|
|
+ or custom_title like concat('%', #{param.title}, '%'))
|
|
|
</if>
|
|
|
</select>
|
|
|
|
|
@@ -50,8 +52,10 @@
|
|
|
and create_timestamp < #{param.createTimestampEnd}
|
|
|
</if>
|
|
|
<if test="param.title != null and param.title != ''">
|
|
|
- and id in (select plan_id from content_platform_gzh_plan_video where title like concat('%', #{param.title},
|
|
|
- '%'))
|
|
|
+ and id in (select plan_id
|
|
|
+ from content_platform_gzh_plan_video
|
|
|
+ where title like concat('%', #{param.title}, '%')
|
|
|
+ or custom_title like concat('%', #{param.title}, '%'))
|
|
|
</if>
|
|
|
order by create_timestamp desc
|
|
|
limit #{offset}, #{pageSize}
|