ShipmentContainerHeaderService.java
1.67 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.pc.shipment.shipmentContainerHeader.service;
import com.huaheng.framework.web.domain.AjaxResult;
import com.huaheng.pc.shipment.shipmentContainerDetail.domain.ShipmentContainerDetail;
import com.huaheng.pc.shipment.shipmentContainerHeader.domain.ShipmentCombinationModel;
import com.huaheng.pc.shipment.shipmentContainerHeader.domain.ShipmentContainerHeader;
import com.baomidou.mybatisplus.extension.service.IService;
import com.huaheng.pc.shipment.shipmentDetail.domain.ShipmentDetail;
import org.apache.ibatis.annotations.Param;
import java.util.List;
import java.util.Map;
public interface ShipmentContainerHeaderService extends IService<ShipmentContainerHeader>{
Map<String,Integer> getShipmentContainerMaxAndMinStatusByShipmentID(@Param("shipmentId") int shipmentId);
//出库保存组盘
ShipmentContainerHeader combination(ShipmentCombinationModel shipmentCombination);
//取消组盘
AjaxResult cancelCombinationDetail(List<Integer> detailIds) ;
AjaxResult cancelCombinationDetailInner(List<ShipmentContainerDetail> shipmentContainerDetails) ;
AjaxResult cancelCombination(List<Integer> shipmentContainerIds) ;
AjaxResult autoCombination(String shipmentCode);
AjaxResult autoCombination(List<ShipmentDetail> shipmentDetailList);
AjaxResult checkForCancelCombination(List<Integer> shipmentContainerIds);
AjaxResult createTask(List<Integer> idList);
boolean cancelShipment(Integer combineHeaderId);
AjaxResult getShipmentInfoByCode(String code);
// 获得没有组盘完成的数量
int getUnCompleteCombineNumber(String containerCode);
List<ShipmentContainerHeader> getUnCompleteCombineList();
}