|
|
@@ -197,17 +197,17 @@
|
|
|
where arrival_time >= #{startDate}
|
|
|
and o.path LIKE CONCAT(#{orgPath}, '%')
|
|
|
</select>
|
|
|
- <select id="question" resultType="com.xunmei.core.board.vo.web.QuestionStatisticVo">
|
|
|
- SELECT count(0) as total,
|
|
|
- sum(case confirm_status when 0 then 1 else 0 end) as unconfirm,
|
|
|
- sum(case confirm_status when 1 then 1 else 0 end) as auditing,
|
|
|
- sum(case confirm_status when 2 then 1 else 0 end) as unreform,
|
|
|
- sum(case confirm_status when 3 then (if(reform_status is null, 1, 0)) else 0 end) notQuestion,
|
|
|
- sum(case reform_status when 11 then 1 else 0 end) reformed
|
|
|
- FROM core_question
|
|
|
- WHERE submit_time >= #{date}
|
|
|
- and org_path like CONCAT(#{orgPath}, '%');
|
|
|
- </select>
|
|
|
+<!-- <select id="question" resultType="com.xunmei.core.board.vo.web.QuestionStatisticVo">-->
|
|
|
+<!-- SELECT count(0) as total,-->
|
|
|
+<!-- sum(case confirm_status when 0 then 1 else 0 end) as unconfirm,-->
|
|
|
+<!-- sum(case confirm_status when 1 then 1 else 0 end) as auditing,-->
|
|
|
+<!-- sum(case confirm_status when 2 then 1 else 0 end) as unreform,-->
|
|
|
+<!-- sum(case confirm_status when 3 then (if(reform_status is null, 1, 0)) else 0 end) notQuestion,-->
|
|
|
+<!-- sum(case reform_status when 11 then 1 else 0 end) reformed-->
|
|
|
+<!-- FROM core_question-->
|
|
|
+<!-- WHERE submit_time >= #{date}-->
|
|
|
+<!-- and org_path like CONCAT(#{orgPath}, '%');-->
|
|
|
+<!-- </select>-->
|
|
|
|
|
|
|
|
|
<select id="selectQuestion" resultType="com.xunmei.core.board.dto.web.WebSyntheticQuestionDto">
|