解决问题

This commit is contained in:
why 2023-04-18 10:08:49 +08:00
parent 742827006e
commit f5427555d8
2 changed files with 2 additions and 2 deletions

View File

@ -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);
} }

View File

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