| | |
| | | |
| | | import com.baomidou.mybatisplus.core.mapper.BaseMapper; |
| | | import com.baomidou.mybatisplus.core.metadata.IPage; |
| | | import org.apache.ibatis.annotations.Param; |
| | | import org.springblade.jfpt.animalheat.entity.BladeAnimalHeat; |
| | | import org.springblade.jfpt.animalheat.vo.AnimalHeatVo; |
| | | import org.springblade.jfpt.animalheat.vo.StatisVo; |
| | |
| | | <if test="animalHeatVo.type==2"> |
| | | and date_format(create_time,'%Y%m') = date_format(now(),'%Y%m') |
| | | </if> |
| | | <if test="animalHeatVo.status!=null"> |
| | | and status=#{animalHeatVo.status} |
| | | </if> |
| | | ORDER BY create_time asc |
| | | </select> |
| | | |
| | |
| | | */ |
| | | @Override |
| | | public List<Map<String, Integer>> selWeekDayAnimalStatis() { |
| | | List<Map<String,Integer>> selWeekDayAnimalStatis; |
| | | return baseMapper.selWeekDayAnimalStatis(); |
| | | } |
| | | |
| | |
| | | * 状态 0: 当天时间统计数据 1: 本周内的数据统计 |
| | | */ |
| | | private Integer type; |
| | | |
| | | |
| | | } |