| package com.zy.asrs.mapper; | 
|   | 
| import com.baomidou.mybatisplus.mapper.BaseMapper; | 
| import com.zy.asrs.entity.HalfBarcode; | 
| import org.apache.ibatis.annotations.Select; | 
| import org.springframework.stereotype.Repository; | 
| import org.apache.ibatis.annotations.Mapper; | 
|   | 
| @Mapper | 
| @Repository | 
| public interface HalfBarcodeMapper extends BaseMapper<HalfBarcode> { | 
|     @Select("select top 1 * from cust_half_barcode where zpallet=#{zpallet}") | 
|     HalfBarcode selectByZpallet(String zpallet); | 
|   | 
|     boolean half(HalfBarcode halfBarcode); | 
| } |