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.TsfReinboundDao;
import com.style24.persistence.domain.ReinboundInform;

import lombok.extern.slf4j.Slf4j;

/**
 * 재입고알림 Service
 *
 * @author gagamel
 * @since 2021. 4. 13
 */
@Service
@Slf4j
public class TsfReinboundService {

	@Autowired
	private TsfReinboundDao reinboundDao;

	/**
	 * 재입고알림 목록
	 * @param custNo - 고객번호
	 * @return
	 * @author gagamel
	 * @date 2021. 4. 13
	 */
	public Collection<ReinboundInform> getReinboundInformList(Integer custNo) {
		return reinboundDao.getReinboundInformList(custNo);
	}

	/**
	 * 재입고알림 연장 처리
	 * @param params - 재입고알림 정보
	 * @author gagamel
	 * @date 2021. 4. 13
	 */
	public void updateReinboundInformContinue(ReinboundInform params) {
		reinboundDao.updateReinboundInformContinue(params);
	}

}
