| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263 |
- package com.style24.front.biz.service;
- import java.util.Collection;
- import org.springframework.beans.factory.annotation.Autowired;
- import org.springframework.stereotype.Service;
- import com.style24.front.biz.dao.TsfPointDao;
- import com.style24.persistence.domain.Point;
- import lombok.extern.slf4j.Slf4j;
- /**
- * 포인트 Service
- *
- * @author gagamel
- * @since 2020. 12. 29
- */
- @Service
- @Slf4j
- public class TsfPointService {
- @Autowired
- private TsfPointDao pointDao;
-
- /**
- * 포인트정보 조회
- *
- * @param Point
- * @author csh9191
- * @since 2021. 02. 25
- */
- public Point getUsablePointInfo(Point point) {
- return pointDao.getUsablePointInfo(point);
- }
-
- public Point getExpectedPointInfo(Point point) {
- return pointDao.getExpectedPointInfo(point);
- }
- public Point getExtinctPointInfo(Point point) {
- return pointDao.getExtinctPointInfo(point);
- }
-
- /**
- * 포인트정보 내역조회
- *
- * @param Point
- * @author csh9191
- * @since 2021. 03. 03
- */
- public Collection<Point> getAccumulatePointList(Point point) {
- return pointDao.getAccumulatePointList(point);
- }
-
- public Collection<Point> getUsePointList(Point point) {
- return pointDao.getUsePointList(point);
- }
- public Collection<Point> getAllPointList(Point point) {
- return pointDao.getAllPointList(point);
- }
- }
|