ShipmentDetailService.java
1.58 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
package com.huaheng.pc.shipment.shipmentDetail.service;
import com.huaheng.framework.web.domain.AjaxResult;
import com.huaheng.pc.shipment.lockingWorkOrder.domain.LockingWorkOrder;
import com.huaheng.pc.shipment.shipmentDetail.domain.ShipmentDetail;
import com.baomidou.mybatisplus.extension.service.IService;
import com.huaheng.pc.shipment.shipmentHeader.domain.ShipmentHeader;
import com.huaheng.pc.task.taskDetail.domain.TaskDetail;
import java.util.List;
import java.util.Map;
public interface ShipmentDetailService extends IService<ShipmentDetail>{
/**
* 新增出库明细
*
* @param shipmentDetail
* @return
*/
AjaxResult insertDetail(ShipmentDetail shipmentDetail);
AjaxResult deleteDetail(String id);
Integer countUnCompleted(Integer shipmentId);
//选中的单据加入波次
void saveWave(String ids,String code);
Map<String,Integer> selectStatus(Integer id);
//获取7天内的出库量
List<TaskDetail> getShipmentQtyLast7Days();
//以仓库维度获取入库量
List<TaskDetail> getWarehouseShipment();
//以货主维度获取入库量
List<TaskDetail> getCompanyShipment();
Boolean insertDetails(List<ShipmentDetail> shipmentDetails);
AjaxResult updateShipmentHeader(ShipmentHeader shipmentHeader);
String insertExcelData(List<ShipmentDetail> list, boolean updateSupport, String operName);
ShipmentDetail createShipmentDetail(ShipmentHeader header, LockingWorkOrder lockingWorkOrder) throws Exception;
List<ShipmentDetail> getListByShipmentHeaderId(Integer id,String warehouseCode);
}