¶Ô±ÈÐÂÎļþ |
| | |
| | | package org.jeecg.modules.mdc.mapper; |
| | | |
| | | import com.baomidou.mybatisplus.core.mapper.BaseMapper; |
| | | import org.apache.ibatis.annotations.Param; |
| | | import org.jeecg.modules.mdc.dto.MdcEquipmentStatisticalDto; |
| | | import org.jeecg.modules.mdc.entity.MdcEquipmentStatisticalInfo; |
| | | |
| | | import java.util.List; |
| | | |
| | | /** |
| | | * @Description: 设å¤åæ¥è¿è¡æ°æ®è¡¨ |
| | | * @Author: jeecg-boot |
| | | * @Date: 2023-04-14 |
| | | * @Version: V1.0 |
| | | */ |
| | | public interface MdcEquipmentStatisticalInfoMapper extends BaseMapper<MdcEquipmentStatisticalInfo> { |
| | | |
| | | /** |
| | | * è·åè®¾å¤ææ°æ¥æçè¿è¡æ°æ® |
| | | */ |
| | | MdcEquipmentStatisticalInfo getMaxStaticsData(@Param("equipmentId") String equipmentId); |
| | | |
| | | /** |
| | | * æ¥è¯¢è®¾å¤è¿è¡æ¶é´ |
| | | * |
| | | * @param equipmentId |
| | | * @param validDate |
| | | * @return |
| | | */ |
| | | Integer selectProcessLong(@Param("equipmentId") String equipmentId, @Param("validDate") String validDate); |
| | | |
| | | MdcEquipmentStatisticalDto findByEquipmentAndMonth(@Param("equipmentId") String equipmentId, @Param("date") String date); |
| | | |
| | | MdcEquipmentStatisticalInfo findByEquIdsAndMonth(@Param("equipmentIdList") List<String> equipmentIdList, @Param("month") String month); |
| | | |
| | | List<MdcEquipmentStatisticalInfo> findByEquipmentAndDate(@Param("equipmentIdList") List<String> equipmentIdList, @Param("date") String date); |
| | | } |