ShipmentDetailMapper.java
1008 Bytes
package com.huaheng.pc.shipment.shipmentDetail.mapper;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.huaheng.pc.shipment.shipmentDetail.domain.ShipmentDetail;
import com.huaheng.pc.task.taskDetail.domain.TaskDetail;
import org.apache.ibatis.annotations.Param;
import java.util.List;
import java.util.Map;
public interface ShipmentDetailMapper extends BaseMapper<ShipmentDetail> {
List<Map<String,Integer>> SelectFirstStatus(String ids);
Integer batchDelete(String[] ids);
Map<String,String> StatisticalByReceiptId(Integer headerId);
Integer countUnCompleted(Integer shipmentId);
Map<String,Integer> selectStatus(Integer id);
//获取7天内的出库量
List<TaskDetail> getShipmentQtyLast7Days();
int insertDetails(@Param("shipmentDetails") List<ShipmentDetail> shipmentDetails);
//以仓库维度获取入库量
List<TaskDetail> getWarehouseShipment();
//以货主维度获取入库量
List<TaskDetail> getCompanyShipment();
}