package com.dcit.danger.service.impl;

import com.dcit.danger.dao.THiddenTroubleMapper;
import com.dcit.danger.model.THiddenTrouble;
import com.dcit.danger.model.THiddenTroubleExample;
import com.dcit.danger.service.THiddenTroubleService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

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

@Service
public class THiddenTroubleServiceImpl implements THiddenTroubleService {
	
	@Autowired
	private THiddenTroubleMapper tHiddenTroubleMapper;

	@Override
	public long countByExample(THiddenTroubleExample example) {
		// TODO Auto-generated method stub
		return tHiddenTroubleMapper.countByExample(example);
	}

	@Override
	public List<Map<Object, Object>> countByEnterprise() {
		return tHiddenTroubleMapper.countByEnterprise();
	}

	@Override
	public int deleteByExample(THiddenTroubleExample example) {
		// TODO Auto-generated method stub
		return tHiddenTroubleMapper.deleteByExample(example);
	}

	@Override
	public int deleteByPrimaryKey(String id) {
		// TODO Auto-generated method stub
		return tHiddenTroubleMapper.deleteByPrimaryKey(id);
	}

	@Override
	public int insert(THiddenTrouble record) {
		// TODO Auto-generated method stub
		return tHiddenTroubleMapper.insert(record);
	}

	@Override
	public int insertSelective(THiddenTrouble record) {
		// TODO Auto-generated method stub
		return tHiddenTroubleMapper.insertSelective(record);
	}

	@Override
	public List<THiddenTrouble> selectByExample(THiddenTroubleExample example) {
		// TODO Auto-generated method stub
		return tHiddenTroubleMapper.selectByExample(example);
	}

	@Override
	public THiddenTrouble selectByPrimaryKey(String id) {
		// TODO Auto-generated method stub
		return tHiddenTroubleMapper.selectByPrimaryKey(id);
	}

	@Override
	public int updateByExampleSelective(THiddenTrouble record, THiddenTroubleExample example) {
		// TODO Auto-generated method stub
		return tHiddenTroubleMapper.updateByExampleSelective(record, example);
	}

	@Override
	public int updateByExample(THiddenTrouble record, THiddenTroubleExample example) {
		// TODO Auto-generated method stub
		return tHiddenTroubleMapper.updateByExample(record, example);
	}

	@Override
	public int updateByPrimaryKeySelective(THiddenTrouble record) {
		// TODO Auto-generated method stub
		return tHiddenTroubleMapper.updateByPrimaryKeySelective(record);
	}

	@Override
	public int updateByPrimaryKey(THiddenTrouble record) {
		// TODO Auto-generated method stub
		return tHiddenTroubleMapper.updateByPrimaryKey(record);
	}

}
