package com.style24.scm.biz.service;

import java.util.Collection;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.style24.core.support.message.TscMessageByLocale;
import com.style24.persistence.domain.IfProductSku;
import com.style24.scm.biz.dao.TssWmsGoodsDao;

import lombok.extern.slf4j.Slf4j;

/**
 *  wms Service
 *
 * @author eskim
 * @since 2021. 05. 28
 */
@Service
@Slf4j
public class TssWmsGoodsService {

	@Autowired
	private TscMessageByLocale message;

	@Autowired
	private TssWmsGoodsDao wmsGoodsDao;

	/**
	 * wms 상품 색상 , 사이즈별 재고 정보 조회
	 *
	 * @param goodsCd
	 * @return
	 * @author eskim
	 * @since 2021. 05. 29
	 */
	public Collection<IfProductSku> getGoodsWmsSizeList(String goodsCd) {
		return wmsGoodsDao.getGoodsWmsSizeList(goodsCd);
	}

}
