自动化立体仓库 - WMS系统
#
zhou zhou
2025-12-26 da13bea76b64183790ab17775f04d43d8c7f6607
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
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.apache.ibatis.annotations.Select;
import org.springframework.stereotype.Repository;
 
import java.util.List;
 
@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);
 
    String page(Integer pageNo, Integer pageSize, String barcode, Integer spec);
 
    @Select("select top 100 * from cust_matnr_barcode where model = '' or model is null ")
    List<MatBarcode> select100();
}