后台服务
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

60 lines
1.2 KiB

  1. package com.iformall.service;
  2. import com.github.pagehelper.PageInfo;
  3. import com.iformall.common.ResultData;
  4. import com.iformall.domain.po.base.TenantEntity;
  5. import com.iformall.domain.po.WxBusiness;
  6. import java.io.Serializable;
  7. import java.util.Collection;
  8. import java.util.List;
  9. import java.util.Map;
  10. public interface WxBusinessService {
  11. /**
  12. * 根据实体查询分页列表
  13. *
  14. * @param record
  15. * @param pageIndex
  16. * @param pageSize
  17. * @return
  18. */
  19. PageInfo<WxBusiness> listAsPage(WxBusiness record, Integer pageIndex, Integer pageSize);
  20. Map<Integer,WxBusiness> findAllMap();
  21. /**
  22. * 根据实体查询列表
  23. *
  24. * @param record
  25. * @return
  26. */
  27. List<WxBusiness> findList(WxBusiness record);
  28. /**
  29. * 查询全部列表
  30. *
  31. * @return
  32. */
  33. List<WxBusiness> findListAll(TenantEntity tenantEntity, Integer filter,Integer platCode);
  34. /**
  35. * 根据Id获得实体
  36. *
  37. * @param id
  38. * @return
  39. */
  40. WxBusiness getById(Integer id);
  41. List<WxBusiness> getByIds(Collection<? extends Serializable> ids);
  42. List<Map<String,Object>> businessDataList(WxBusiness wxBusiness,Long userid);
  43. ResultData devoteList(WxBusiness wxBusiness,Integer pageNum, Integer pageSize);
  44. }