自动化立体仓库 - WMS系统
dubin
5 天以前 b6c0ffd5380fb4c9b7324298bade1bc0210b565d
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
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> {
    MatBarcode selectByMatnr(@Param("matnr")String matnr);
 
    @Delete("delete from cust_matnr_barcode where matnr=#{matnr}")
    void deleteByMatnr(String matnr);
}