IDzAgentService.java 1.3 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162
  1. package com.ruoyi.dz.service;
  2. import java.util.List;
  3. import com.ruoyi.dz.domain.DzAgent;
  4. /**
  5. * 机构代理Service接口
  6. *
  7. * @author ruoyi
  8. * @date 2025-09-12
  9. */
  10. public interface IDzAgentService
  11. {
  12. /**
  13. * 查询机构代理
  14. *
  15. * @param agentId 机构代理主键
  16. * @return 机构代理
  17. */
  18. public DzAgent selectDzAgentByAgentId(Long agentId);
  19. public DzAgent selectDzAgentByUserId(Long userId);
  20. /**
  21. * 查询机构代理列表
  22. *
  23. * @param dzAgent 机构代理
  24. * @return 机构代理集合
  25. */
  26. public List<DzAgent> selectDzAgentList(DzAgent dzAgent);
  27. /**
  28. * 新增机构代理
  29. *
  30. * @param dzAgent 机构代理
  31. * @return 结果
  32. */
  33. public int insertDzAgent(DzAgent dzAgent);
  34. /**
  35. * 修改机构代理
  36. *
  37. * @param dzAgent 机构代理
  38. * @return 结果
  39. */
  40. public int updateDzAgent(DzAgent dzAgent);
  41. /**
  42. * 批量删除机构代理
  43. *
  44. * @param agentIds 需要删除的机构代理主键集合
  45. * @return 结果
  46. */
  47. public int deleteDzAgentByAgentIds(Long[] agentIds);
  48. /**
  49. * 删除机构代理信息
  50. *
  51. * @param agentId 机构代理主键
  52. * @return 结果
  53. */
  54. public int deleteDzAgentByAgentId(Long agentId);
  55. }