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.
 
 
 
 
 

54 lines
1.0 KiB

  1. package com.simple.service;
  2. import java.util.*;
  3. import com.github.pagehelper.PageInfo;
  4. import com.simple.common.ResultData;
  5. import com.simple.domain.po.WxAppinfo;
  6. import com.simple.domain.po.WxOrder;
  7. import com.simple.domain.po.WxProfitSharingOrder;
  8. public interface WxProfitSharingOrderService {
  9. /**
  10. * 根据实体查询分页列表
  11. *
  12. * @param record
  13. * @param offset
  14. * @param limit
  15. * @return
  16. */
  17. PageInfo<WxProfitSharingOrder> listAsPage(WxProfitSharingOrder record, Integer pageIndex, Integer pageSize);
  18. /**
  19. * 根据Id获得实体
  20. *
  21. * @param id
  22. * @return
  23. */
  24. WxProfitSharingOrder getById(Long id);
  25. /**
  26. * 保存或更新实体
  27. *
  28. * @param record
  29. */
  30. void saveOrUpdate(WxProfitSharingOrder record);
  31. /**
  32. * 根据Id删除实体
  33. *
  34. * @param id
  35. */
  36. void deleteById(Long id);
  37. /**
  38. * 创建分账订单
  39. */
  40. public ResultData createSharingOrder(WxAppinfo appInfo, WxOrder wxOrder);
  41. }