ITeamInviteConfigService.java 1.6 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859
  1. /*
  2. * Copyright (c) 2022-present Charles7c Authors. All Rights Reserved.
  3. *
  4. * Licensed under the Apache License, Version 2.0 (the "License");
  5. * you may not use this file except in compliance with the License.
  6. * You may obtain a copy of the License at
  7. *
  8. * http://www.apache.org/licenses/LICENSE-2.0
  9. *
  10. * Unless required by applicable law or agreed to in writing, software
  11. * distributed under the License is distributed on an "AS IS" BASIS,
  12. * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
  13. * See the License for the specific language governing permissions and
  14. * limitations under the License.
  15. */
  16. package top.continew.admin.business.service;
  17. import com.baomidou.mybatisplus.extension.service.IService;
  18. import top.continew.admin.business.model.entity.TeamInviteConfig;
  19. import top.continew.admin.business.model.query.TeamInviteConfigQuery;
  20. import top.continew.admin.business.model.req.TeamInviteConfigReq;
  21. import top.continew.starter.extension.crud.model.resp.BasePageResp;
  22. /**
  23. * <p>
  24. * 团队邀请配置 服务类
  25. * </p>
  26. *
  27. * @author xudm
  28. * @since 2024-12-16
  29. */
  30. public interface ITeamInviteConfigService extends IService<TeamInviteConfig> {
  31. /**
  32. * 分页查询团队邀请配置
  33. *
  34. * @param query
  35. * @return
  36. */
  37. BasePageResp<TeamInviteConfig> getTeamInviteConfigPage(TeamInviteConfigQuery query);
  38. /**
  39. * 更新队邀请配置
  40. *
  41. * @param id
  42. * @param req
  43. */
  44. void updateTeamInviteConfig(Long id, TeamInviteConfigReq req);
  45. /**
  46. * 新增队邀请配置
  47. *
  48. * @param req
  49. * @return
  50. */
  51. Long addTeamInviteConfig(TeamInviteConfigReq req);
  52. }