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

import com.sw.mes.core.base.BaseDao;
import com.sw.mes.yb.mcs.entity.CodingRecord;
import org.springframework.data.jpa.repository.Query;

import java.util.List;

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

    @Query(value = "SELECT * FROM codeing_record WHERE section_no =?1", nativeQuery = true)
    List<CodingRecord> findBySectionNo(String sectionNo);
}
