| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124 |
- 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.TsfPlanningDao;
- import com.style24.front.support.env.TsfConstants;
- import com.style24.persistence.domain.Cate4Srch;
- import com.style24.persistence.domain.Plan;
- import com.style24.persistence.domain.Point;
- import lombok.extern.slf4j.Slf4j;
- /**
- * 기획전 Service
- *
- * @author gagamel
- * @since 2020. 12. 29
- */
- @Service
- @Slf4j
- public class TsfPlanningService {
- @Autowired
- private TsfPlanningDao planningDao;
-
- /**
- * 기획전 카테고리 1deth 조회
- *
- * @param Cate4Srch
- * @author sowon
- * @since 2021. 03. 05
- */
- public Collection<Cate4Srch> getPlanCate1(Cate4Srch cate) {
- return planningDao.getPlanCate1(cate);
- }
-
- /**
- * 기획전 갯수 조회
- *
- * @param Plan
- * @author sowon
- * @since 2021.03.05
- */
- public int getPlanAllCount(Plan plan) {
- return planningDao.getPlanAllCount(plan);
- }
-
- /**
- * 기획전 목록
- *
- * @param
- * @return
- * @author sowon
- * @since 2021. 3. 8
- */
- public Collection<Plan> getPlanList(Plan plan) {
- //plan.setSiteCd(TsfConstants.SITE_CD);
- return planningDao.getPlanList(plan);
- }
-
- /**
- * 기획전 상품 목록
- *
- * @param
- * @return
- * @author sowon
- * @since 2021. 3. 8
- */
- public Collection<Plan> getPlanGoodsList(Plan plan) {
- //plan.setSiteCd(TsfConstants.SITE_CD);
- return planningDao.getPlanGoodsList(plan);
- }
-
- /**
- * 기획전 고객등급 목록
- *
- * @param
- * @return
- * @author sowon
- * @since 2021. 3. 9
- */
- public Collection<Plan>planCustGrade(Plan plan) {
- return planningDao.planCustGrade(plan);
- }
-
- /**
- * 기획전 상세 정보
- *
- * @param
- * @return
- * @author sowon
- * @since 2021. 3. 8
- */
- public Plan getPlanDetailInfo(Plan plan) {
- return planningDao.getPlanDetailInfo(plan);
- }
- /**
- * 이벤트 갯수 조회
- *
- * @param Plan
- * @author sowon
- * @since 2021.03.08
- */
- public int getEvnetAllCount(Plan plan) {
- return planningDao.getEventAllCount(plan);
- }
-
- /**
- * 이벤트 목록
- *
- * @param
- * @return
- * @author sowon
- * @since 2021. 3. 9
- */
- public Collection<Plan> getPlanEventList(Plan plan) {
- return planningDao.getPlanEventList(plan);
- }
- }
|