ReceiptDetailMapper.java 791 Bytes
package com.huaheng.pc.receipt.receiptDetail.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.huaheng.pc.receipt.receiptDetail.domain.ReceiptDetail;
import com.huaheng.pc.task.taskDetail.domain.TaskDetail;
import org.apache.ibatis.annotations.Param;

import java.util.List;
import java.util.Map;

public interface ReceiptDetailMapper extends BaseMapper<ReceiptDetail> {

    //获取7天内的入库量
    List<TaskDetail> getReceiptQtyLast7Days();

    //以仓库维度获取入库量
    List<TaskDetail> getWarehouseReceipt();

    //以货主维度获取入库量
    List<TaskDetail> getCompanyReceipt();

    List<Map<String, Object>> selectLists(@Param("code") String code, @Param("shelfNo")String shelfNo, @Param("warehouseCode")String warehouseCode);

}