package com.jisco.dynamicweight.dynamicbasereciever.service.impl;

import com.jisco.dynamicweight.dynamicbasereciever.mapper.DynamicBaseRecieverMapper;
import com.jisco.dynamicweight.dynamicbasereciever.model.DynamicBaseReciever;
import com.jisco.dynamicweight.dynamicbasereciever.service.IDynamicBaseRecieverService;
import com.steerinfo.baseinfo.meterbasecalibrarelation.model.MeterBaseCalibraRelation;
import com.steerinfo.framework.mapper.IBaseMapper;
import com.steerinfo.framework.service.impl.BaseServiceImpl;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.HashMap;
import java.util.List;

/**
 * DynamicBaseReciever服务实现：
 * @author generator
 * @version 1.0-SNAPSHORT 2021-12-31 02:55
 * 类描述
 * 修订历史：
 * 日期：2021-12-31
 * 作者：generator
 * 参考：
 * 描述：DynamicBaseReciever服务实现
 * @see null
 * @Copyright 湖南视拓信息技术股份有限公司. All rights reserved.
 */
@Service(value = "dynamicBaseRecieverService")
public class DynamicBaseRecieverServiceImpl extends BaseServiceImpl<DynamicBaseReciever, String> implements IDynamicBaseRecieverService {

    @Autowired
    private DynamicBaseRecieverMapper dynamicBaseRecieverMapper;

    @Override
    protected IBaseMapper<DynamicBaseReciever, String> getMapper() {
        return dynamicBaseRecieverMapper;
    }

    @Override
    public List<MeterBaseCalibraRelation> queryall(HashMap parmas) {
        return dynamicBaseRecieverMapper.selectByParameters(parmas);
    }
}
