package com.sw.mes.fb.aio.dao;

import com.sw.mes.core.base.BaseDao;
import com.sw.mes.fb.aio.entity.ReCut;
import org.springframework.data.jpa.repository.Query;


public interface FbReCutDAO extends BaseDao<ReCut, Long> {


    @Query(value = "SELECT * FROM zhxx_operate_re_cut WHERE segment_no=?1 limit 1", nativeQuery = true)
    ReCut findBySectionNo(String segmentNo);
}
