package com.steerinfo.meterwork.meterworkpreprocess.mapper;

import com.steerinfo.framework.mapper.IBaseMapper;
import com.steerinfo.meterwork.meterworkpreprocess.model.MeterWorkPreProcess;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

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

@Mapper
public interface MeterWorkPreProcessMapper extends IBaseMapper<MeterWorkPreProcess, String> {

    MeterWorkPreProcess selectByType(@Param(value = "meterTypeNo") String meterTypeNo, @Param(value = "meterTypeName") String meterTypeName, @Param(value = "predictionNo") String predictionNo);

    String getNewID();

    List<MeterWorkPreProcess> findWithCondition(Map<String,Object> map);
}