package com.style24.batch.biz.service;

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

import com.style24.batch.biz.dao.TsbCommonDao;

import lombok.extern.slf4j.Slf4j;

/**
 * 공통 Service
 *
 * @author eskim
 * @since 2021. 01. 04
 */
@Service
@Slf4j
public class TsbCommonService {

	@Autowired
	private TsbCommonDao commonDao;
//
//	/**
//	 * 시퀀스 조회
//	 *
//	 * @param sequenceName - 시퀀스명
//	 * @return String
//	 * @author gagamel
//	 * @since 2019. 8. 25
//	 */
//	public String getNextSequence(String sequenceName) {
//		return commonDao.getNextSequence(sequenceName);
//	}

	/**
	 * WMS Sync 옵션
	 *
	 * @return
	 * @author eskim
	 * @since 2021. 01. 04
	 */
	public String getWmsSyncYn() {
		return commonDao.getWmsSyncYn();
	}

//	/**
//	 * 공통코드 목록
//	 *
//	 * @param TsbCommonCode - 공통코드
//	 * @return Collection<TsbCommonCode> - 공통코드
//	 * @author card007
//	 * @since 2020. 07. 07
//	 */
//	public Collection<TsbCommonCode> getCommonCodeList(TsbCommonCode commonCode) {
//		return commonDao.getCommonCodeList(commonCode);
//	}
}
