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

import org.springframework.transaction.annotation.Transactional;

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


@Transactional
@Service(version ="1.0")
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);
	}

}
