ShipmentDetailMapper.java
1.89 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
59
60
61
62
63
64
65
66
package com.huaheng.pc.shipment.shipmentDetail.mapper;
import com.huaheng.api.U8.domain.ICSShipmentDetail;
import com.huaheng.framework.web.domain.AjaxResult;
import com.huaheng.pc.shipment.shipmentDetail.domain.ShipmentDetail;
import org.apache.ibatis.annotations.Param;
import java.util.List;
import java.util.Map;
/**
* 出库明细 数据层
*
* @author huaheng
* @date 2018-08-19
*/
public interface ShipmentDetailMapper {
List<Map<String,Integer>> SelectFirstStatus(String ids);
Integer batchDelete(String[] ids);
Integer countUnCompleted(Integer shipmentId);
List<ShipmentDetail> getShipmentDetailListByLike(ShipmentDetail shipmentDetail);
Map<String,String> StatisticalByReceiptId(Integer headerId);
//查询子单
ICSShipmentDetail selectModel(ICSShipmentDetail condition);
//查询子单列表
List<ICSShipmentDetail> selectList(ICSShipmentDetail condition);
//添加出库下发子单
int insertModel(ICSShipmentDetail record);
List<ShipmentDetail> selectListDetail(ShipmentDetail condition);
List<ShipmentDetail> selectListAgvDetail(ShipmentDetail condition);
Map<String, Object> selectEntity(ShipmentDetail condition);
//查询非agv子单
List<Map<String, Object>> selectListEntity(ShipmentDetail condition);
Map<String, Object> getAvgShipping(ShipmentDetail condition);
//查询agv子单
List<Map<String, Object>> getAvgShippings(ShipmentDetail condition);
List<Map<String, Object>> selectLists(@Param("code") String code, @Param("shelfNo")String shelfNo,@Param("warehouseCode")String warehouseCode);
//批量修改
int updateDetails(String code);
//获取7天内的出库量
List<ShipmentDetail> getShipmentQtyLast7Days();
//以仓库维度获取入库量
List<ShipmentDetail> getWarehouseShipment();
//以货主维度获取入库量
List<ShipmentDetail> getCompanyShipment();
}