示例#1
0
 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);
 }
示例#2
0
 public int QueryFullCustomerCount(FullCustomerQueryForm form)
 {
     ISqlMapper mapper = MapperHelper.GetMapper();
     CustomerDao dao = new CustomerDao(mapper);
     return dao.QueryFullCustomerCount(form);
 }
示例#3
0
 public List<Customer> QueryFullCustomer(FullCustomerQueryForm form)
 {
     ISqlMapper mapper = MapperHelper.GetMapper();
     CustomerDao dao = new CustomerDao(mapper);
     return dao.QueryFullCustomer(form);
 }
示例#4
0
 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;
 }