jiawuxian преди 1 година
родител
ревизия
7727ceb780

+ 1 - 1
soc-modules/soc-modules-core/src/main/java/com/xunmei/core/board/mapper/CockpitMapper.java

@@ -29,7 +29,7 @@ public interface CockpitMapper extends BaseMapper {
 
     VisitInfoVo currentMonthVisitInfo(@Param("orgPath") String orgPath, @Param("startDate") Date startDate);
 
-    QuestionStatisticVo question(@Param("date") Date start,@Param("orgPath") String orgPath);
+//    QuestionStatisticVo question(@Param("date") Date start,@Param("orgPath") String orgPath);
 
     /**
      *

+ 11 - 11
soc-modules/soc-modules-core/src/main/resources/mapper/board/CockpitMapper.xml

@@ -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">