Newer
Older
zq-big-sreen / src / main / java / com / casic / dao / smartwell / MapDataMapper.java
chaizhuang on 19 Oct 2022 1 KB 没有改变
package com.casic.dao.smartwell;

import com.casic.model.AlarmNowView;
import com.casic.model.BusWellInfoDto;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

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

@Mapper
public interface MapDataMapper {

    List<BusWellInfoDto> getWellList(@Param("keywords") String keywords, @Param("wellType") String deviceType, @Param("deptid") String deptid);

    List<BusWellInfoDto> getAlarmWellList(@Param("keywords") String keywords, @Param("wellType") String deviceType, @Param("deptid") String deptid);

    List<BusWellInfoDto> getNotAlarmWellList(@Param("keywords") String keywords, @Param("wellType") String deviceType, @Param("deptid") String deptid);

    List<AlarmNowView> getNowAlarmRecords();

    String getDictNameByCode(@Param("wellType") String wellType);

    Map<String, Object> getDeviceStatus(@Param("devcode") String devcode, @Param("tableName") String tableName, @Param("dataField") String dataField);
}