package com.sw.mes.yb.pad.dao;

import com.sw.mes.core.base.BaseDao;
import com.sw.mes.yb.pad.entity.ProductionPaintingLineHeadTailException;
import org.springframework.data.jpa.repository.Modifying;
import org.springframework.data.jpa.repository.Query;


/**
* @Author
* @Description：
* @Date:
* @Modified By:
*/
public interface ProductionPaintingLineHeadTailExceptionDao extends BaseDao<ProductionPaintingLineHeadTailException, Long>{

    @Modifying
    @Query(value = "delete from production_painting_line_head_tail_exception where crystal_no = ?1 ",nativeQuery = true)
    void deleteByCrystalNo(String crystalNo);
}
