|
|
@@ -91,10 +91,11 @@
|
|
|
<select id="getMaxDt" resultType="java.lang.String">
|
|
|
SELECT MAX(dt)
|
|
|
FROM content_platform_demand_video
|
|
|
- WHERE status = 1
|
|
|
- <if test="channelName != null and channelName != ''">
|
|
|
- AND channel_name = #{channelName}
|
|
|
- </if>
|
|
|
+ <where>
|
|
|
+ <if test="channelName != null and channelName != ''">
|
|
|
+ channel_name = #{channelName}
|
|
|
+ </if>
|
|
|
+ </where>
|
|
|
</select>
|
|
|
|
|
|
<select id="selectChannelNameByGh" resultType="java.lang.String">
|