package com.zy.asrs.mapper; import com.baomidou.mybatisplus.mapper.BaseMapper; import com.zy.asrs.entity.MatBarcode; import org.apache.ibatis.annotations.Delete; import org.apache.ibatis.annotations.Mapper; import org.apache.ibatis.annotations.Param; import org.springframework.stereotype.Repository; @Mapper @Repository public interface MatBarcodeMapper extends BaseMapper { MatBarcode selectByMatnr(@Param("matnr")String matnr); @Delete("delete from cust_matnr_barcode where matnr=#{matnr}") void deleteByMatnr(String matnr); }