package kr.co.jinwoosi.clfd.framework.cd.service.impl;

import javax.annotation.Resource;

import kr.co.jinwoosi.clfd.framework.base.service.impl.BaseServiceImpl;
import org.springframework.stereotype.Service;

import kr.co.jinwoosi.clfd.framework.cd.mapper.CdMapper;
import kr.co.jinwoosi.clfd.framework.cd.model.Cd;
import kr.co.jinwoosi.clfd.framework.cd.service.CdService;

@Service(value="cdService")
public class CdServiceImpl extends BaseServiceImpl<Cd, Cd, CdMapper> implements CdService{

		@Override
		@Resource (name="cdMapper")
		protected void setMapper (CdMapper mapper) {
			super.setMapper(mapper);
		}

		@Override
		public Integer existCount(Cd cd) {
			return mapper.existCount(cd);
		}

}
