IUserIncrementService.java 1.2 KB

123456789101112131415161718192021222324252627282930313233343536373839
  1. package com.fdkankan.user.service;
  2. import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
  3. import com.baomidou.mybatisplus.extension.service.IService;
  4. import com.fdkankan.goods.entity.CameraDetail;
  5. import com.fdkankan.user.entity.UserIncrement;
  6. import com.fdkankan.user.request.RequestUserIncrement;
  7. import com.fdkankan.user.vo.ResponseUserIncrement;
  8. import java.util.List;
  9. /**
  10. * <p>
  11. * 用户增值权益表 服务类
  12. * </p>
  13. *
  14. * @author
  15. * @since 2021-12-24
  16. */
  17. public interface IUserIncrementService extends IService<UserIncrement> {
  18. Integer getCountByUserId(Long userId, int status);
  19. Integer getCountBindByUserId(Long userId);
  20. UserIncrement getByCameraId(Long cameraId);
  21. List<UserIncrement> getByChildName(String childName);
  22. String unbindCamera(Long userId, Long id, boolean unbind, CameraDetail cameraDetail, UserIncrement userIncrement);
  23. String unbindCamera(RequestUserIncrement param, String token);
  24. String bindCamera(RequestUserIncrement param, String token);
  25. Page<ResponseUserIncrement> findIncrementList(RequestUserIncrement param, String token);
  26. ResponseUserIncrement findById(RequestUserIncrement param, String token);
  27. }