package com.style24.admin.biz.service;

import java.util.Collection;

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

import com.style24.admin.biz.dao.TsaWmsGoodsDao;
import com.style24.core.support.message.TscMessageByLocale;
import com.style24.persistence.domain.IfProductSku;

import lombok.extern.slf4j.Slf4j;

/**
 *  wms Service
 *
 * @author eskim
 * @since 2021. 07. 04
 */
@Service
@Slf4j
public class TsaWmsGoodsService {

	@Autowired
	private TscMessageByLocale message;

	@Autowired
	private TsaWmsGoodsDao wmsGoodsDao;

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

}
