Commit 1a3aeff0 by 梅存智

Merge branch 'dev' into 'master'

增加上架查询条件

See merge request !6
parents cfefd9c9 fc811fc1
......@@ -208,7 +208,7 @@
left join tr_research_answer answerf on answer.research_id = tb.id and answerf.account_id = #{accountId} and answerf.finish in(0,1)
where
-- 状态、站点
tb.deleted = 0 and tb.site_id = #{siteId}
tb.deleted = 0 and tb.site_id = #{siteId} and tb.state = 1
-- 可见范围
and (tb.visible_range = 1
<if test="idsInRange != null and idsInRange.size > 0">
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment