select count(lata.content_id)
from long_articles_title_audit lata
left join long_articles_text lat on lata.content_id = lat.content_id
and lata.status in
#{item}
and lata.content_id in
#{item}
and lat.article_title in
#{item}
and lata.audit_account in
#{item}
and lata.produce_plan_id in
#{item}
and lata.flow_pool_level in
#{item}
and lata.audit_timestamp #{auditTimestamp.conditionValue1}
and lata.audit_timestamp #{auditTimestamp.conditionValue1}
and lata.audit_timestamp ]]> #{auditTimestamp.conditionValue1}
and lata.audit_timestamp BETWEEN #{auditTimestamp.conditionValue1} AND #{auditTimestamp.conditionValue2}
select lata.content_id, lata.status, lat.article_title as title, lat.kimi_title,
lata.audit_account, lata.audit_timestamp, lata.flow_pool_level
from long_articles_title_audit lata
left join long_articles_text lat on lata.content_id = lat.content_id
and lata.status in
#{item}
and lata.content_id in
#{item}
and lat.article_title in
#{item}
and lata.audit_account in
#{item}
and lata.produce_plan_id in
#{item}
and lata.flow_pool_level in
#{item}
and lata.audit_timestamp #{auditTimestamp.conditionValue1}
and lata.audit_timestamp #{auditTimestamp.conditionValue1}
and lata.audit_timestamp ]]> #{auditTimestamp.conditionValue1}
and lata.audit_timestamp BETWEEN #{auditTimestamp.conditionValue1} AND #{auditTimestamp.conditionValue2}
order by lata.flow_pool_level ${poolLevelDesc}, lata.content_id desc
order by lata.audit_timestamp ${auditTimestamp.orderType}
order by lata.content_id desc
limit #{offset}, #{pageSize}
update long_articles_crawler_videos
set is_illegal = #{isIllegal}
where id in
#{id}
select content_id
from long_articles_title_audit
and content_id like concat('%', #{searchKeyword}, '%')
order by create_timestamp desc
limit 100
select distinct audit_account
from long_articles_title_audit
and audit_account like concat('%', #{searchKeyword}, '%')
order by create_timestamp desc
limit 100
select distinct long_articles_text.article_title
from long_articles_title_audit
left join long_articles_text on long_articles_title_audit.content_id = long_articles_text.content_id
and long_articles_text.article_title like concat('%', #{searchKeyword}, '%')
order by long_articles_title_audit.create_timestamp desc
limit 100
select distinct produce_plan_id
from long_articles_title_audit
select lata.content_id, lata.status, lat.article_title as title, lat.kimi_title,
lata.audit_account, lata.audit_timestamp, lata.flow_pool_level
from long_articles_title_audit lata
left join long_articles_text lat on lata.content_id = lat.content_id
and lata.status in
#{item}
and lata.content_id in
#{item}
and lat.article_title in
#{item}
and lata.audit_account in
#{item}
and lata.produce_plan_id in
#{item}
and lata.content_id not in
#{item}
and lata.flow_pool_level = #{poolLevel}
order by lata.content_id desc
limit 1
update long_articles_text
set old_article_title = article_title,
article_title = #{param.title},
article_title_update_account = #{param.updateAccount},
article_title_update_timestamp = #{updateTime}
where content_id = #{param.contentId}
update long_articles_text
set old_kimi_title = kimi_title,
kimi_title = #{param.title},
kimi_title_update_account = #{param.updateAccount},
kimi_title_update_timestamp = #{updateTime}
where content_id = #{param.contentId}
update long_articles_title_audit lat
join ( SELECT DISTINCT lamv.content_id, lamv.flow_pool_level
FROM long_articles_match_videos lamv
JOIN long_articles_title_audit lata ON lamv.content_id = lata.content_id
where lata.flow_pool_level is null) lamv ON lat.content_id = lamv.content_id
set lat.flow_pool_level = lamv.flow_pool_level
where lat.flow_pool_level is null