|
@@ -224,11 +224,14 @@
|
|
|
<if test="subjectId != null and subjectId != ''">
|
|
|
AND qb.subject_id = #{subjectId}
|
|
|
</if>
|
|
|
+ <if test="type != null and type != ''">
|
|
|
+ AND q.type = #{type}
|
|
|
+ </if>
|
|
|
<if test="businessId != null and businessId != ''">
|
|
|
AND qb.business_id = #{businessId}
|
|
|
</if>
|
|
|
- <if test="type != null and type != ''">
|
|
|
- AND q.type = #{type}
|
|
|
+ <if test="publishStatus != null and publishStatus != ''">
|
|
|
+ AND q.publish_status = #{publishStatus}
|
|
|
</if>
|
|
|
<if test="prefixName != null and prefixName != ''">
|
|
|
AND q.prefix_name like concat('%', #{prefixName}, '%')
|