Blame view

src/main/java/com/huaheng/pc/shipment/shipmentDetail/mapper/ShipmentDetailMapper.java 1.01 KB
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
tongzhonghao authored
8
import java.math.BigDecimal;
pengcheng authored
9
10
11
import java.util.List;
import java.util.Map;
12
public interface ShipmentDetailMapper extends BaseMapper<ShipmentDetail> {
pengcheng authored
13
14
15
16
17
18
19
20
21

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

    Integer batchDelete(String[] ids);

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

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

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