|
@@ -36,6 +36,24 @@
|
|
|
#{item}
|
|
|
</foreach>
|
|
|
</if>
|
|
|
+ <if test="auditTimestamp!= null">
|
|
|
+ <if test="auditTimestamp.conditionOperator != null and auditTimestamp.conditionOperator != ''">
|
|
|
+ <choose>
|
|
|
+ <when test="auditTimestamp.conditionOperator == '早于'">
|
|
|
+ and video_pool_audit_timestamp <![CDATA[ < ]]> #{auditTimestamp.conditionValue1}
|
|
|
+ </when>
|
|
|
+ <when test="auditTimestamp.conditionOperator == '等于'">
|
|
|
+ and video_pool_audit_timestamp <![CDATA[ = ]]> #{auditTimestamp.conditionValue1}
|
|
|
+ </when>
|
|
|
+ <when test="auditTimestamp.conditionOperator == '晚于'">
|
|
|
+ and video_pool_audit_timestamp <![CDATA[ > ]]> #{auditTimestamp.conditionValue1}
|
|
|
+ </when>
|
|
|
+ <when test="auditTimestamp.conditionOperator == '介于'">
|
|
|
+ and video_pool_audit_timestamp BETWEEN #{auditTimestamp.conditionValue1} AND #{auditTimestamp.conditionValue2}
|
|
|
+ </when>
|
|
|
+ </choose>
|
|
|
+ </if>
|
|
|
+ </if>
|
|
|
</select>
|
|
|
|
|
|
<select id="articleVideoAuditList"
|
|
@@ -73,10 +91,31 @@
|
|
|
#{item}
|
|
|
</foreach>
|
|
|
</if>
|
|
|
+ <if test="auditTimestamp!= null">
|
|
|
+ <if test="auditTimestamp.conditionOperator != null and auditTimestamp.conditionOperator != ''">
|
|
|
+ <choose>
|
|
|
+ <when test="auditTimestamp.conditionOperator == '早于'">
|
|
|
+ and video_pool_audit_timestamp <![CDATA[ < ]]> #{auditTimestamp.conditionValue1}
|
|
|
+ </when>
|
|
|
+ <when test="auditTimestamp.conditionOperator == '等于'">
|
|
|
+ and video_pool_audit_timestamp <![CDATA[ = ]]> #{auditTimestamp.conditionValue1}
|
|
|
+ </when>
|
|
|
+ <when test="auditTimestamp.conditionOperator == '晚于'">
|
|
|
+ and video_pool_audit_timestamp <![CDATA[ > ]]> #{auditTimestamp.conditionValue1}
|
|
|
+ </when>
|
|
|
+ <when test="auditTimestamp.conditionOperator == '介于'">
|
|
|
+ and video_pool_audit_timestamp BETWEEN #{auditTimestamp.conditionValue1} AND #{auditTimestamp.conditionValue2}
|
|
|
+ </when>
|
|
|
+ </choose>
|
|
|
+ </if>
|
|
|
+ </if>
|
|
|
<choose>
|
|
|
<when test="poolLevelDesc != null and poolLevelDesc != ''">
|
|
|
order by flow_pool_level ${poolLevelDesc}, content_trace_id desc
|
|
|
</when>
|
|
|
+ <when test="auditTimestamp != null and auditTimestamp.orderType != null and auditTimestamp.orderType != ''">
|
|
|
+ order by video_pool_audit_timestamp ${auditTimestamp.orderType}
|
|
|
+ </when>
|
|
|
<otherwise>
|
|
|
order by content_trace_id desc
|
|
|
</otherwise>
|