src/main/java/com/zy/asrs/mapper/PltBarcodeMapper.java
New file @@ -0,0 +1,18 @@ package com.zy.asrs.mapper; import com.baomidou.mybatisplus.mapper.BaseMapper; import com.zy.asrs.entity.PltBarcode; import org.apache.ibatis.annotations.Mapper; import org.apache.ibatis.annotations.Select; import org.springframework.stereotype.Repository; import java.util.List; @Mapper @Repository public interface PltBarcodeMapper extends BaseMapper<PltBarcode> { @Select("select * from asr_plt_barcode where io_status>=2") List<PltBarcode> selectToBeHistoryData(); }