解决问题
This commit is contained in:
parent
742827006e
commit
f5427555d8
|
@ -65,5 +65,5 @@ public interface DisasterInfoMapper extends BaseMapper<DisasterInfo> {
|
|||
* 查询每个月响应的灾害
|
||||
* @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
|
||||
</if>
|
||||
<if test="chiefId != null" >
|
||||
di.chief_id = #{chiefId}
|
||||
and di.chief_id = #{chiefId}
|
||||
</if>
|
||||
GROUP BY date
|
||||
</select>
|
||||
|
|
Loading…
Reference in New Issue