ContainerService.java
1.22 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
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 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 containerCode, String locationCode, String warehouseCode);
/**
* 更新库位和状态
* @param containerCode 容器编码
* @param locationCode 库位编码
* @param status 状态
*/
void updateLocationCodeAndStatus(String containerCode, String locationCode, String status);
boolean updateStatus(String containerCode, String status);
void removeContainer(String containType, String containCode);
Container getContainerByCode(String containCode);
//获得空货架编号
List<Container> selectListShelf();
/**
* 获取空容器
* @return
*/
Container emptyContainer();
}