TsfPointService.java 1.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263
  1. package com.style24.front.biz.service;
  2. import java.util.Collection;
  3. import org.springframework.beans.factory.annotation.Autowired;
  4. import org.springframework.stereotype.Service;
  5. import com.style24.front.biz.dao.TsfPointDao;
  6. import com.style24.persistence.domain.Point;
  7. import lombok.extern.slf4j.Slf4j;
  8. /**
  9. * 포인트 Service
  10. *
  11. * @author gagamel
  12. * @since 2020. 12. 29
  13. */
  14. @Service
  15. @Slf4j
  16. public class TsfPointService {
  17. @Autowired
  18. private TsfPointDao pointDao;
  19. /**
  20. * 포인트정보 조회
  21. *
  22. * @param Point
  23. * @author csh9191
  24. * @since 2021. 02. 25
  25. */
  26. public Point getUsablePointInfo(Point point) {
  27. return pointDao.getUsablePointInfo(point);
  28. }
  29. public Point getExpectedPointInfo(Point point) {
  30. return pointDao.getExpectedPointInfo(point);
  31. }
  32. public Point getExtinctPointInfo(Point point) {
  33. return pointDao.getExtinctPointInfo(point);
  34. }
  35. /**
  36. * 포인트정보 내역조회
  37. *
  38. * @param Point
  39. * @author csh9191
  40. * @since 2021. 03. 03
  41. */
  42. public Collection<Point> getAccumulatePointList(Point point) {
  43. return pointDao.getAccumulatePointList(point);
  44. }
  45. public Collection<Point> getUsePointList(Point point) {
  46. return pointDao.getUsePointList(point);
  47. }
  48. public Collection<Point> getAllPointList(Point point) {
  49. return pointDao.getAllPointList(point);
  50. }
  51. }