package com.sw.mes.mmcs.dao;

import java.util.List;

import org.springframework.data.jpa.repository.Query;

import com.sw.mes.core.base.BaseDao;
import com.sw.mes.mmcs.entity.MmcsDistributionPlan;

public interface MmcsDistributionPlanDao extends BaseDao<MmcsDistributionPlan, Long>{

	@Query(value = "select * FROM mmcs_distribution_plan where sended=false", nativeQuery = true)
	List<MmcsDistributionPlan> findByNotSend();


}