zss
2024-12-05 05304315b53a2c8ef1d4384607d854364493570e
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
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
package com.yuanchu.mom.service;
 
import com.yuanchu.mom.dto.WarehouseCellAndSampleDto;
import com.yuanchu.mom.dto.WarehouseDto;
import com.yuanchu.mom.pojo.InsSample;
import com.yuanchu.mom.pojo.Warehouse;
import com.baomidou.mybatisplus.extension.service.IService;
import com.yuanchu.mom.pojo.WarehouseShelf;
 
import java.util.List;
import java.util.Map;
 
/**
* @author z1292
* @description 针对表【warehouse(仓库)】的数据库操作Service
* @createDate 2024-04-06 12:13:57
*/
public interface WarehouseService extends IService<Warehouse> {
 
    int addWarehouse(String name);
 
    List<WarehouseDto> selectWarehouse();
 
    int addShelf(WarehouseShelf warehouseShelf);
 
    int delWarehouse(Integer id);
 
    int upWarehouse(Warehouse warehouse);
 
    int delShelf(Integer id);
 
    int upShelf(WarehouseShelf warehouseShelf);
 
    List<WarehouseCellAndSampleDto> getWarehouse(Integer shelfId,String sampleCode);
 
    int inWarehouse(String trees, String sampleCode,String entrustCode);
 
    int outWarehouse(String sampleCode, boolean a,String entrustCode);
 
    Map<String, Object> getSampleRecord(Integer id);
 
}