| | |
| | | import org.springframework.transaction.annotation.Transactional; |
| | | |
| | | import javax.validation.Valid; |
| | | import java.util.HashMap; |
| | | import java.util.List; |
| | | import java.util.Map; |
| | | import static org.springblade.core.tool.utils.DateUtil.now; |
| | |
| | | List<Map<String,Integer>> selWeekDayAnimalStatis; |
| | | return baseMapper.selWeekDayAnimalStatis(); |
| | | } |
| | | |
| | | /** |
| | | * 统计7天内每天体温异常的的总人数 |
| | | * @return |
| | | */ |
| | | @Override |
| | | public Map<String, Object> selectAnimalData() { |
| | | //创建map对象 |
| | | Map<String, Object> map = new HashMap<>(); |
| | | //查询统计数据 |
| | | List<Integer> list = baseMapper.selectAnimalHeatDataStatis(); |
| | | //封装数据 |
| | | map.put("animalData",list); |
| | | //返回数据 |
| | | return map; |
| | | } |
| | | } |