package com.yuchen.saas.park.service.fault.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.yuchen.saas.park.api.entity.fault.EquipmentPictureAnalyse;
import com.yuchen.saas.park.api.vo.fault.EquipmentPictureAnalyseVo;
import org.apache.ibatis.annotations.Param;

import java.util.List;
import java.util.Map;

/**
 * @Author: 肖润飞
 * @CreateTime: 2022/10/18 15:13
 * @Description: 设备画像分析
 * @Version: 1.0
 */
public interface EquipmentPictureAnalyseMapper extends BaseMapper<EquipmentPictureAnalyse> {

    IPage<EquipmentPictureAnalyseVo> conditionPage(Page page, @Param("vo") EquipmentPictureAnalyseVo vo);

    List<Map<String, Object>> analyseCount(@Param("parkId") Long parkId);

    List<Map<String, Object>> analysePictureCode(@Param("parkId") Long parkId, @Param("pictureCode") String pictureCode);

}
