AgvPortService.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
42
43
44
45
46
package com.huaheng.api.acs.service;
import com.baomidou.mybatisplus.extension.service.IService;
import com.huaheng.api.acs.domain.AgvPort;
import com.huaheng.framework.web.domain.AjaxResult;
import org.springframework.stereotype.Service;
import java.util.List;
/**
* 【请填写功能名称】 服务层
*
* @author huaheng
* @date 2022-07-27
*/
@Service
public interface AgvPortService extends IService<AgvPort> {
List<AgvPort> getListByContainerCode(String containerCode);
AgvPort getByContainerCode(String containerCode);
boolean lockById(Long id);
boolean unlockById(Long id);
boolean clearContainerCodeById(Long id);
boolean setContainerCodeById(Long id, String containerCode);
boolean containerInPort(String containerCode);
int addAgvPort(String startNum,String endNum,String name,String workStationId,String containerCode,String type,String area);
public AgvPort getAgvportByCode(String code);
void updateStatus(String agvport,String status);
void setContainerCode(String agvport,String containerCode);
AjaxResult<List<AgvPort>> insertAgvport(String portType, Integer quantity);
boolean clearContainerCodeByCode(String code);
List<String> getSize2Code(Long id);
}