package com.steerinfo.baseinfo.meterbasespecialunit.service.impl;

import com.steerinfo.framework.mapper.IBaseMapper;
import com.steerinfo.framework.service.impl.BaseServiceImpl;
import com.steerinfo.baseinfo.meterbasespecialunit.model.MeterBaseSpecialUnit;
import com.steerinfo.baseinfo.meterbasespecialunit.mapper.MeterBaseSpecialUnitMapper;
import com.steerinfo.baseinfo.meterbasespecialunit.service.IMeterBaseSpecialUnitService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;
import java.util.Date;
import java.math.BigDecimal;
import java.util.HashMap;
import java.util.List;

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

    @Resource
    private MeterBaseSpecialUnitMapper meterBaseSpecialUnitMapper;

    @Override
    protected IBaseMapper<MeterBaseSpecialUnit, String> getMapper() {
        return meterBaseSpecialUnitMapper;
    }

    @Override
    public List<MeterBaseSpecialUnit> likeByDesc(HashMap<String, Object> parmas) {
        List<MeterBaseSpecialUnit> rows = meterBaseSpecialUnitMapper.likeByDesc(parmas);

        return rows;
    }
}
