huanghongfa
2021-07-15 20265a287301b45ff7bb7de6a197b8110feaa853
springcloud_k8s_panzhihuazhihuishequ/service_community/src/main/java/com/panzhihua/service_community/dao/ComMngPopulationDAO.java
@@ -840,6 +840,15 @@
            "<if test='screenEventDTO.endTime != null and screenEventDTO.endTime != &quot;&quot;'>" +
            " AND e.create_at <![CDATA[<=]]> #{screenEventDTO.endTime} " +
            " </if> " +
            "<if test='screenEventDTO.eventProcessStatus != null'>" +
            " AND e.event_process_status = #{screenEventDTO.eventProcessStatus} " +
            " </if> " +
            "<if test='screenEventDTO.redCard != null'>" +
            " AND e.red_card = #{screenEventDTO.redCard} " +
            " </if> " +
            "<if test='screenEventDTO.yellowCard != null'>" +
            " AND e.yellow_card = #{screenEventDTO.yellowCard} " +
            " </if> " +
            "UNION ALL SELECT " +
            " IFNULL( NULL, 7 ) AS type, " +
            " id AS eventId, " +
@@ -854,6 +863,9 @@
            "<if test='screenEventDTO.endTime != null and screenEventDTO.endTime != &quot;&quot;'>" +
            " AND create_at <![CDATA[<=]]> #{screenEventDTO.endTime} " +
            " </if> " +
            "<if test='screenEventDTO.eventProcessStatus != null'>" +
            " AND handle_status = #{screenEventDTO.eventProcessStatus} " +
            " </if> " +
            " </script>")
    List<EventGridIncidentStatisticsVO> getEventScreenEventList(@Param("screenEventDTO") BigScreenEventDTO screenEventDTO);