package com.njcn.serviceimpl.configuration;

import java.util.List;

import com.njcn.pojo.user.LogicNext;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.njcn.mapper.configuration.SubVoltageMapper;
import com.njcn.pojo.configuration.SubVoltage;
import com.njcn.service.configuration.ISubVoltageService;

@Service
public class SubVoltageServiceImpl implements ISubVoltageService {
	@Autowired
	private SubVoltageMapper subVoltageMapper;

	@Override
	public SubVoltage selectOne(SubVoltage sub) {
		return subVoltageMapper.selectOne(sub);
	}

	@Override
	public List<SubVoltage> selectIndexAll(int subIndex) {
		// TODO Auto-generated method stub
		return subVoltageMapper.selectIndexAll(subIndex);
	}

	@Override
	public List<LogicNext> selectExAll(int subvIndex, int subIndex, String tfIndex) {
		// TODO Auto-generated method stub
		return subVoltageMapper.selectExAll(subvIndex,subIndex,tfIndex);
	}

}
