Commit 661b0c4b authored by chenzhao's avatar chenzhao

修改bug

parent c603b347
......@@ -49,6 +49,11 @@ public interface AlertCalledMapper extends BaseMapper<AlertCalled> {
String data,
String lift);
int selectAllCount(Integer alertStatus,
String alertTypeCode ,
String alertSourceCode,
String startTime,
String endTime);
Integer AlertCalledcount(@Param("alertStatus")int alertStatus);
......
......@@ -111,8 +111,7 @@
a.rescue_grid,
a.coordinate_x,
a.coordinate_y,
a.response_level,
COUNT (*) AS total
a.response_level
FROM
jc_alert_called a
<where>
......@@ -149,11 +148,11 @@
<select id="selectAllCount" resultType="int">
SELECT
COUNT (*)
COUNT(*)
FROM
jc_alert_called a
jc_alert_called
<where>
a.is_delete = 0
is_delete = 0
<if test="alertStatus!= null ">
and alert_status = #{alertStatus}
</if>
......
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