解决问题
This commit is contained in:
parent
742827006e
commit
f5427555d8
|
@ -65,5 +65,5 @@ public interface DisasterInfoMapper extends BaseMapper<DisasterInfo> {
|
||||||
* 查询每个月响应的灾害
|
* 查询每个月响应的灾害
|
||||||
* @return
|
* @return
|
||||||
*/
|
*/
|
||||||
List<Map<String, Object>> getDisasterInfoByMouth(@Param("start") String start,@Param("end") String end,@Param("type") Integer type,@Param("chief") Long chief);
|
List<Map<String, Object>> getDisasterInfoByMouth(@Param("start") String start,@Param("end") String end,@Param("type") Integer type, @Param("chiefId") Long chiefId);
|
||||||
}
|
}
|
||||||
|
|
|
@ -229,7 +229,7 @@
|
||||||
AND di.respond_status > 1
|
AND di.respond_status > 1
|
||||||
</if>
|
</if>
|
||||||
<if test="chiefId != null" >
|
<if test="chiefId != null" >
|
||||||
di.chief_id = #{chiefId}
|
and di.chief_id = #{chiefId}
|
||||||
</if>
|
</if>
|
||||||
GROUP BY date
|
GROUP BY date
|
||||||
</select>
|
</select>
|
||||||
|
|
Loading…
Reference in New Issue