package com.tarena.oss.selfservice.service;

import java.util.Collection;

import com.tarena.oss.dms.Detailmonths;
import com.tarena.oss.selfservice.dao.UserSelfserviceMgmtDAO;
import com.tarena.oss.userservice.pojo.UserService;

public class UserSelfserviceServiceImpl implements UserSelfserviceService {

	private UserSelfserviceMgmtDAO dao;
	
	public UserSelfserviceMgmtDAO getDao() {
		return dao;
	}

	public void setDao(UserSelfserviceMgmtDAO dao) {
		this.dao = dao;
	}

	public UserService queryBill() {
		// TODO Auto-generated method stub
		return dao.queryBill();
	}

	public Collection<UserService> queryBillByLoginname(String loginname) {
		// TODO Auto-generated method stub
		return dao.queryBillByLoginname(loginname);
	}

	public UserService queryBillByUserid(Integer userid) {
		// TODO Auto-generated method stub
		return null;
	}

	public Collection<UserService> queryBills() {
		// TODO Auto-generated method stub
		return dao.queryBills();
	}

	public Collection<UserService> queryBills(Integer userid) {
		// TODO Auto-generated method stub
		return null;
	}

	public Collection<UserService> queryBills(String labip) {
		// TODO Auto-generated method stub
		return null;
	}


	public Collection<Detailmonths> queryDetailmonths_intByMonth(int year,int month,int currentPage) {
		// TODO Auto-generated method stub
		return dao.queryDetailmonths_intByMonth(year, month,currentPage);
	}


	public int queryUserServicesCnts() {
		
		return dao.queryUserServicesCnts();
	}

	public int queryUserServicesCnts(String loginName) {
		// TODO Auto-generated method stub
		return dao.queryUserServicesCnts(loginName);
	}

	public Collection<UserService> queryUserServiceList(String cond, int currentPage) {
		// TODO Auto-generated method stub
		return dao.queryUserServiceList(cond, currentPage);
	}

	public Collection<Detailmonths> queryDetailmonths_intByMonth(int year, int month) {
		// TODO Auto-generated method stub
		return dao.queryDetailmonths_intByMonth(year, month);
	}

	

	

}
