AgentInfoService.java 1.9 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495
  1. package com.iamberry.wechat.face.agentInfo;
  2. import com.iamberry.wechat.core.entity.agentInfo.AgentConfig;
  3. import com.iamberry.wechat.core.entity.agentInfo.AgentTooth;
  4. import java.util.List;
  5. /**
  6. * Created by Administrator on 2017/10/11.
  7. */
  8. public interface AgentInfoService {
  9. /**
  10. * 查询代理商配置金额集合
  11. * @param config
  12. * @return
  13. */
  14. List<AgentConfig> listAgentConfig(AgentConfig config);
  15. /**
  16. * 查询代理商配置金额数量
  17. * @param config
  18. * @return
  19. */
  20. Integer listAgentConfigCount(AgentConfig config);
  21. /**
  22. * 查询代理商集合
  23. * @param agentTooth
  24. * @return
  25. */
  26. List<AgentTooth> listAgentTooth(AgentTooth agentTooth);
  27. /**
  28. * 批量新增代理商配置信息
  29. * @param list
  30. * @return
  31. */
  32. Integer addAgentConfigList(List<AgentConfig> list);
  33. /**
  34. * 修改代理商优惠价配置信息
  35. * @param config
  36. * @return
  37. */
  38. Integer updateAgentConfig(AgentConfig config);
  39. /**
  40. * 查询代理商
  41. * @param agentTooth
  42. * @return
  43. */
  44. AgentTooth getAgentTooth(AgentTooth agentTooth);
  45. /**
  46. * 查询代理商配置
  47. * @param config
  48. * @return
  49. */
  50. AgentConfig getAgentConfig(AgentConfig config);
  51. /**
  52. * 修改代理商信息
  53. * @param agentTooth
  54. * @return
  55. */
  56. Integer updateAgentTooth(AgentTooth agentTooth);
  57. /**
  58. * 激活代理商
  59. * @param agentTooth
  60. * @return
  61. */
  62. Integer updateAgentOpenId(AgentTooth agentTooth);
  63. /**
  64. * 查询所有代理商
  65. * @param agentTooth
  66. * @return
  67. */
  68. List<AgentTooth> selectAllAgentinfo(AgentTooth agentTooth);
  69. /**
  70. * 查询所有代理商条数
  71. * @param agentTooth
  72. * @return
  73. */
  74. Integer selectAllAgentinfoCount(AgentTooth agentTooth);
  75. /**
  76. * 新增代理商
  77. */
  78. Integer addAgentinfo(AgentTooth agentTooth);
  79. }