|
@@ -9,13 +9,13 @@
|
|
<if test="req.messageType != null">
|
|
<if test="req.messageType != null">
|
|
and b.message_type = #{req.messageType}
|
|
and b.message_type = #{req.messageType}
|
|
</if>
|
|
</if>
|
|
- <if test="req.title != null">
|
|
|
|
|
|
+ <if test="req.title != null and req.title != ''">
|
|
and b.title = #{req.title}
|
|
and b.title = #{req.title}
|
|
</if>
|
|
</if>
|
|
- <if test="req.content != null">
|
|
|
|
|
|
+ <if test="req.content != null and req.content != ''">
|
|
and b.content = #{req.content}
|
|
and b.content = #{req.content}
|
|
</if>
|
|
</if>
|
|
- <if test="req.deptCode != null">
|
|
|
|
|
|
+ <if test="req.deptCode != null and req.deptCode != ''">
|
|
and a.scope_id = #{req.deptCode}
|
|
and a.scope_id = #{req.deptCode}
|
|
</if>
|
|
</if>
|
|
<if test="req.readStatus != null">
|
|
<if test="req.readStatus != null">
|