package com.ssj.service.kmt.kmt.service.impl;

import com.ssj.bean.kmt.kmt.domain.KmtPlanDetail;
import com.ssj.dao.kmt.kmt.dao.KmtPlanDetailDao;
import com.ssj.framework.core.common.service.BaseServiceImpl;
import com.ssj.service.kmt.service.KmtPlanDetailService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.data.repository.PagingAndSortingRepository;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;


@Transactional
@Service
public class KmtPlanDetailServiceImpl extends BaseServiceImpl<KmtPlanDetail, String> implements KmtPlanDetailService {

	@Autowired
	private KmtPlanDetailDao dao;
	
	@Override
	public PagingAndSortingRepository<KmtPlanDetail, String> getDao() {
		return dao;
	}

	@Override
	public void deletePlanDetailByTempId(String planTempId) {
		dao.deletePlanDetailByTempId(planTempId);
	}

}
