Blame view

src/main/java/com/huaheng/pc/shipment/shipmentDetail/mapper/ShipmentDetailMapper.java 1008 Bytes
1
2
3
4
package com.huaheng.pc.shipment.shipmentDetail.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.huaheng.pc.shipment.shipmentDetail.domain.ShipmentDetail;
pengcheng authored
5
import com.huaheng.pc.task.taskDetail.domain.TaskDetail;
pengcheng authored
6
import org.apache.ibatis.annotations.Param;
7
pengcheng authored
8
9
10
import java.util.List;
import java.util.Map;
11
public interface ShipmentDetailMapper extends BaseMapper<ShipmentDetail> {
pengcheng authored
12
13
14
15
16
17
18
19
20

    List<Map<String,Integer>> SelectFirstStatus(String ids);

    Integer batchDelete(String[] ids);

    Map<String,String> StatisticalByReceiptId(Integer headerId);

    Integer countUnCompleted(Integer shipmentId);
pengcheng authored
21
22
    Map<String,Integer> selectStatus(Integer id);
23
    //获取7天内的出库量
pengcheng authored
24
    List<TaskDetail> getShipmentQtyLast7Days();
pengcheng authored
25
26
    int insertDetails(@Param("shipmentDetails") List<ShipmentDetail> shipmentDetails);
pengcheng authored
27
28
    //以仓库维度获取入库量
pengcheng authored
29
    List<TaskDetail> getWarehouseShipment();
30
31

    //以货主维度获取入库量
pengcheng authored
32
    List<TaskDetail> getCompanyShipment();
33
}