| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224 |
- package com.style24.admin.biz.dao;
- import java.util.Collection;
- import org.springframework.stereotype.Repository;
- import com.style24.core.support.annotation.ShopDs;
- import com.style24.persistence.domain.Counsel;
- import com.style24.persistence.domain.Coupon;
- import com.style24.persistence.domain.CustContactHst;
- import com.style24.persistence.domain.CustGrade;
- import com.style24.persistence.domain.Customer;
- import com.style24.persistence.domain.CustomerSearch;
- import com.style24.persistence.domain.GiftCard;
- import com.style24.persistence.domain.Order;
- import com.style24.persistence.domain.Point;
- import com.style24.persistence.domain.Review;
- /**
- * 회원 Dao
- *
- * @author jsshin
- * @since 2020. 11. 3
- */
- @ShopDs
- @Repository
- public interface TsaCustomerDao {
- /**
- * 활동회원 건수
- * @param customerSearch - 검색조건
- * @return int
- * @author jsshin
- * @since 2021. 2. 01
- */
- int getCustomerActiveListCount(CustomerSearch customerSearch);
- /**
- * 활동회원 목록
- * @param customerSearch - 검색조건
- * @return Collection<Customer>
- * @author jsshin
- * @since 2021. 01. 12
- */
- Collection<Customer> getCustomerActiveList(CustomerSearch customerSearch);
- /**
- * 회원정보 수정
- * @param customer - 고객정보
- * @author jsshin
- * @since 2021. 01. 20
- */
- void updateCustomerInfo(Customer customer);
- /**
- * 회원 휴대전화번호 수정
- * @param customer - 고객정보
- * @author jsshin
- * @since 2021. 01. 25
- */
- void updateCustomerCellPhnno(Customer customer);
- /**
- * 회원 주문내역
- * @param customerSearch - 고객번호
- * @return Collection<Order>
- * @author jsshin
- * @since 2021. 01. 21
- */
- int getCustomerOrderListCount(CustomerSearch customerSearch);
- /**
- * 회원 주문내역
- * @param custNo - 고객번호
- * @return Collection<Order>
- * @author jsshin
- * @since 2021. 01. 21
- */
- Collection<Order> getCustomerOrderList(CustomerSearch customerSearch);
- /**
- * 회원상세-쿠폰내역
- *
- * @param custNo -고객일련번호
- * @return Collection<Coupon>
- * @author jsshin
- * @since 2021. 01. 21
- */
- Collection<Coupon> getCustomerCouponList(Integer custNo);
- /**
- * 회원상세-포인트
- *
- * @param custNo -고객일련번호
- * @return Point
- * @author jsshin
- * @since 2021. 01. 25
- */
- Point getCustomerPoint(Integer custNo);
- /**
- * 회원상세-포인트내역
- *
- * @param custNo -고객일련번호
- * @return Collection<Coupon>
- * @author jsshin
- * @since 2021. 01. 21
- */
- Collection<Point> getCustomerPointList(Integer custNo);
- /**
- * 회원상세-상품권내역
- *
- * @param custNo -고객일련번호
- * @return Collection<GiftCard>
- * @author jsshin
- * @since 2021. 01. 21
- */
- Collection<GiftCard> getCustomerGiftCardList(Integer custNo);
- /**
- * 회원상세-상품평내역
- *
- * @param custNo -고객일련번호
- * @return Collection<Review>
- * @author jsshin
- * @since 2021. 01. 21
- */
- Collection<Review> getCustomerReviewList(Integer custNo);
- /**
- * 회원상세- 1:1문의 내역
- *
- * @param custNo -고객일련번호
- * @return Collection<Counsel>
- * @author jsshin
- * @since 2021. 01. 21
- */
- Collection<Counsel> getCustomerCounselList(Integer custNo);
- /**
- * 회원상세- 상품문의 내역
- *
- * @param custNo -고객일련번호
- * @return Collection<Counsel>
- * @author jsshin
- * @since 2021. 01. 21
- */
- Collection<Counsel> getCustomerGoodsQnaList(Integer custNo);
- /**
- * 회원상세- 등급변경 내역
- *
- * @param custNo -고객일련번호
- * @return Collection<Counsel>
- * @author jsshin
- * @since 2021. 01. 21
- */
- Collection<CustGrade> getCustomerChangeGradeList(Integer custNo);
- /**
- * 회원상세- 접촉내역
- *
- * @param custNo -고객일련번호
- * @return Collection<Counsel>
- * @author jsshin
- * @since 2021. 01. 21
- */
- Collection<CustContactHst> getCustomerContactList(Integer custNo);
- /**
- * 탈퇴회원 목록 건수
- * @param customerSearch - 검색조건
- * @return Collection<Customer>
- * @author jsshin
- * @since 2021. 02. 01
- */
- int getCustomerSecedeListCount(CustomerSearch customerSearch);
- /**
- * 탈퇴회원 목록
- * @param customerSearch - 검색조건
- * @return Collection<Customer>
- * @author jsshin
- * @since 2021. 01. 14
- */
- Collection<Customer> getCustomerSecedeList(CustomerSearch customerSearch);
- /**
- * 휴면회원 목록 건수
- * @param customerSearch - 검색조건
- * @return Collection<Customer>
- * @author jsshin
- * @since 2021. 02. 01
- */
- int getCustomerDormantListCount(CustomerSearch customerSearch);
- /**
- * 휴면회원 목록
- * @param customerSearch - 검색조건
- * @return Collection<Customer>
- * @author jsshin
- * @since 2021. 01. 14
- */
- Collection<Customer> getCustomerDormantList(CustomerSearch customerSearch);
- /**
- * 휴대전화 번호 조회
- * @param customerSearch - 검색조건
- * @return int - 고객 수
- * @author jsshin
- * @since 2021. 02. 23
- */
- int getCustomerFindByCellPhone(CustomerSearch customerSearch);
- /**
- * 휴대전화번호와 CI 삭제
- * @param customer - 고객 정보
- * @author gagamel
- * @since 2021. 11. 22
- */
- void deleteCellPhnno(Customer customer);
- }
|