package com.iamberry.wechat.service.drp.dao.impl;

import java.util.List;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Repository;

import com.iamberry.wechat.core.entity.drp.PlaceRoleInfo;
import com.iamberry.wechat.service.drp.dao.DrpRoleInfoDao;
import com.iamberry.wechat.service.mapper.DrpRoleInfoMapper;

@Repository
public class DrpRoleInfoDaoImpl implements DrpRoleInfoDao {
	
	@Autowired
	private DrpRoleInfoMapper drpRoleInfoMapper;

	@Override
	public List<PlaceRoleInfo> getDrpRoleList(PlaceRoleInfo drpRoleInfo) {
		// TODO Auto-generated method stub
		return drpRoleInfoMapper.getDrpRoleList(drpRoleInfo);
	}

	@Override
	public int selectDrpRoleCount(PlaceRoleInfo drpRoleInfo) {
		// TODO Auto-generated method stub
		return drpRoleInfoMapper.selectDrpRoleCount(drpRoleInfo);
	}

	@Override
	public Integer addDrpRoleInfo(PlaceRoleInfo drpRoleInfo) {
		// TODO Auto-generated method stub
		return drpRoleInfoMapper.addDrpRoleInfo(drpRoleInfo);
	}

	@Override
	public PlaceRoleInfo selectDrpRoleInfo(PlaceRoleInfo drpRoleInfo) {
		// TODO Auto-generated method stub
		return this.drpRoleInfoMapper.selectDrpRoleInfo(drpRoleInfo);
	}

	@Override
	public Integer updateDrpRoleInfo(PlaceRoleInfo placeRoleInfo) {
		// TODO Auto-generated method stub
		return this.drpRoleInfoMapper.updateDrpRoleInfo(placeRoleInfo);
	}

	@Override
	public Integer updateDrpRoleStatus(PlaceRoleInfo drpRoleInfo) {
		// TODO Auto-generated method stub
		return drpRoleInfoMapper.updateDrpRoleStatus(drpRoleInfo);
	}

	@Override
	public List<PlaceRoleInfo> getDrpRoleList2() {
		// TODO Auto-generated method stub
		return drpRoleInfoMapper.getDrpRoleList2();
	}

	@Override
	public List<PlaceRoleInfo> getDrpRoleListByState() {
		// TODO Auto-generated method stub
		return drpRoleInfoMapper.getDrpRoleListByState();
	}

	
}
