Commit f48b2f01 by huluobin

过滤停用的问卷问题

parent 792bf9e7
...@@ -190,12 +190,7 @@ ...@@ -190,12 +190,7 @@
<classifier>jdk15</classifier> <classifier>jdk15</classifier>
</dependency> </dependency>
<!-- &lt;!&ndash;短信模块需要的json类库&ndash;&gt;-->
<!-- <dependency>-->
<!-- <groupId>org.json</groupId>-->
<!-- <artifactId>json</artifactId>-->
<!-- <version>${json.version}</version>-->
<!-- </dependency>-->
<!--apache lang 工具包--> <!--apache lang 工具包-->
<dependency> <dependency>
......
...@@ -39,7 +39,7 @@ ...@@ -39,7 +39,7 @@
FROM ( FROM (
SELECT t2.* SELECT t2.*
FROM base_question_type t1 FROM base_question_type t1
LEFT JOIN base_question t2 ON t1.id = t2.type_id LEFT JOIN base_question t2 ON t1.id = t2.type_id and t2.show_index =1
where t2.object_oriented= 2 where t2.object_oriented= 2
ORDER BY RAND()) t3 ORDER BY RAND()) t3
GROUP BY t3.type_id GROUP BY t3.type_id
......
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