package com.style24.batch.biz.service;

import java.util.Collection;

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

import com.style24.batch.biz.dao.TsbWmsDeliveryDao;
import com.style24.batch.support.env.TsbConstants;
import com.style24.persistence.domain.Delivery;

import lombok.extern.slf4j.Slf4j;

/**
 * 배치 Service
 *
 * @author moon
 * @since  2020. 12. 08
 */
@Service
@Slf4j
public class TsbWmsDeliveryService {

	@Autowired
	private TsbWmsDeliveryDao wmsDeliveryDao;


	/**
	 * WMS_IF 총알배송 권역정보 조회 
	 * @param 
	 * @return Collection<Delivery>
	 * @author moon
	 * @since  2020. 12. 08
	 */
	//@Transactional("wmsTxnManager")
	public Collection<Delivery> getWmsIfDailyDeliveryZoneList() {

		Collection<Delivery> list = null;
		
		list = wmsDeliveryDao.getWmsIfDailyDeliveryZoneList();
		
		return list ;
	}

}
