ContainerService.java
2.03 KB
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
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
package com.huaheng.pc.config.container.service;
import com.huaheng.framework.web.domain.AjaxResult;
import com.huaheng.pc.config.container.domain.Container;
import com.baomidou.mybatisplus.extension.service.IService;
import com.huaheng.pc.config.location.domain.Location;
import com.huaheng.pc.receipt.receiptContainerHeader.domain.ReceiptContainerView;
import java.util.List;
public interface ContainerService extends IService<Container>{
AjaxResult<List<Container>> insertContainer(String type, Integer quantity);
String importContainer(List<Container> containerList, Boolean updateSupport, String operName);
List<Location> getEmptyContainerInLocation(String zoneCode, String containerCode, String locationCode,String locationType, String warehouseCode);
/**
* 更新库位和状态
* @param containerCode 容器编码
* @param locationCode 库位编码
* @param status 状态
*/
void updateLocationCodeAndStatus(String containerCode, String locationCode, String status);
void updateLocationCodeAndStatus(String containerCode, String locationCode,
String status, String warehouseCode);
boolean updateStatus(String containerCode, String status, String wareohuseCode);
void removeContainer(String containType, String containCode);
Container getContainerByCode(String containCode);
Container getContainerByCode(String containCode, String warehouseCode);
//获得空货架编号
List<Container> selectListShelf(String warehouseCode);
Container findContainerByCodeType(String containerCode, String containerType, String warehouseCode);
/**
* 获取空容器
* @return
*/
Container emptyContainer(String warehouseCode);
public List<Container> selectEmptyList(Container container);
public Container selectFirstEntity(Container condition);
public List<Container> selectListEntityByEqual(Container condition);
public ReceiptContainerView check(ReceiptContainerView receiptContainerView, Container container);
}