|
@@ -55,7 +55,7 @@
|
|
|
SELECT 1
|
|
|
FROM research_brief_report_label_relevancy lr
|
|
|
inner join research_brief_report rbr on rbr.id = lr.research_brief_report_id
|
|
|
- WHERE lr.parent_lable_id = a.id or lr.lable_id = a.id
|
|
|
+ WHERE rbr.status = '0' and (lr.parent_lable_id = a.id or lr.lable_id = a.id)
|
|
|
<if test="info.marketType != null and info.marketType != ''">
|
|
|
and rbr.market_type = #{info.marketType}
|
|
|
</if>
|