public List<Customer> QueryOurHouseOwner(FullCustomerQueryForm form) { if (form == null) form = new FullCustomerQueryForm(); form.Type = (int)CustomerType.业主; form.IsDeleted = 0; form.IsOurs = 1; List<string> userids = Common.GetDataAuthorityUserIDList(); form.Creators = userids; return bll.QueryFullCustomer(form); }
public int QueryFullCustomerCount(FullCustomerQueryForm form) { ISqlMapper mapper = MapperHelper.GetMapper(); CustomerDao dao = new CustomerDao(mapper); return dao.QueryFullCustomerCount(form); }
public List<Customer> QueryFullCustomer(FullCustomerQueryForm form) { ISqlMapper mapper = MapperHelper.GetMapper(); CustomerDao dao = new CustomerDao(mapper); return dao.QueryFullCustomer(form); }
public PagingEntity<Customer> QueryOurHouseOwnerPaging(FullCustomerQueryForm form) { PagingEntity<Customer> result = new PagingEntity<Customer>(); if (form == null) form = new FullCustomerQueryForm(); form.Type = (int)CustomerType.业主; form.IsDeleted = 0; form.IsOurs = 1; List<string> userids = Common.GetDataAuthorityUserIDList(); form.Creators = userids; result.Record = bll.QueryFullCustomer(form); result.RecordCount = bll.QueryFullCustomerCount(form); return result; }