package com.nantian.cloud.jljc.service.impl;

import com.nantian.cloud.jljc.entity.TSupervisionUnitItem;
import com.nantian.cloud.jljc.mapper.TSupervisionUnitItemMapper;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.nantian.cloud.jljc.service.TSupervisionUnitItemService;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * 节能监察单位产品项目 服务实现类
 * @since 2020-10-29
 */
@Service("tSupervisionUnitItemService")
public class TSupervisionUnitItemServiceImpl extends ServiceImpl<TSupervisionUnitItemMapper, TSupervisionUnitItem> implements TSupervisionUnitItemService {

    @Override
    public List<TSupervisionUnitItem> getByUnitEnergyId(String monitorId) {
        return baseMapper.getByUnitEnergyId(monitorId);
    }
}
