自动化立体仓库 - WMS系统
#1
dubin
2025-12-23 0b892279761b47b56a1113848cd4f479cf8d00f2
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();
}