package com.lgx8.management.serviceImpl;
import com.lgx8.common.PageArgument;
import com.lgx8.common.PageList;
import com.lgx8.management.dao.IAccountDetailDao;
import com.lgx8.management.service.IAccountDetailService;
import com.lgx8.right.action.form.AccountDetailQueryForm;
import com.lgx8.right.entities.User;
public class AccountDetailService implements IAccountDetailService {
IAccountDetailDao dao;
public PageList queryAccountDetails(User user, PageArgument pageInfo,
AccountDetailQueryForm form) {
if(null==pageInfo) return new PageList();
return dao.queryAccountDetails(user, form, pageInfo.getCurPage(), pageInfo.getPageSize());
}
public IAccountDetailDao getDao() {
return dao;
}
public void setDao(IAccountDetailDao dao) {
this.dao = dao;
}
}