|
@@ -240,6 +240,10 @@
|
|
|
<if test="readStatus != null and readStatus != ''">
|
|
<if test="readStatus != null and readStatus != ''">
|
|
|
AND read_status = #{readStatus}
|
|
AND read_status = #{readStatus}
|
|
|
</if>
|
|
</if>
|
|
|
|
|
+ <if test="status != null and status != ''">
|
|
|
|
|
+ AND status = #{status}
|
|
|
|
|
+ </if>
|
|
|
|
|
+
|
|
|
</where>
|
|
</where>
|
|
|
ORDER BY upload_time DESC
|
|
ORDER BY upload_time DESC
|
|
|
LIMIT #{pageSize} OFFSET #{offset}
|
|
LIMIT #{pageSize} OFFSET #{offset}
|
|
@@ -267,6 +271,9 @@
|
|
|
<if test="readStatus != null and readStatus != ''">
|
|
<if test="readStatus != null and readStatus != ''">
|
|
|
AND read_status = #{readStatus}
|
|
AND read_status = #{readStatus}
|
|
|
</if>
|
|
</if>
|
|
|
|
|
+ <if test="status != null and status != ''">
|
|
|
|
|
+ AND status = #{status}
|
|
|
|
|
+ </if>
|
|
|
</where>
|
|
</where>
|
|
|
</select>
|
|
</select>
|
|
|
|
|
|