package com.klp.mapper; import com.klp.domain.WmsCoilWarehouseOperationLog; import com.klp.domain.vo.WmsCoilWarehouseOperationLogVo; import com.klp.domain.vo.WmsCoilWarehouseOperationLogStatisticsVo; import com.klp.common.core.mapper.BaseMapperPlus; import org.apache.ibatis.annotations.Param; import java.util.Date; import java.util.List; /** * 钢卷库区操作记录Mapper接口 * * @author klp * @date 2026-03-05 */ public interface WmsCoilWarehouseOperationLogMapper extends BaseMapperPlus { List selectVoListWithJoin(@Param("warehouseIds") List warehouseIds, @Param("operationType") Integer operationType, @Param("inOutType") Integer inOutType, @Param("startTime") Date startTime, @Param("endTime") Date endTime); /** * 吞吐报表统计 —— 汇总指标(总数、总重量、涉及库位数) */ WmsCoilWarehouseOperationLogStatisticsVo selectStatisticsSummary(@Param("actualWarehouseId") Long actualWarehouseId, @Param("operationType") Integer operationType, @Param("inOutType") Integer inOutType, @Param("createBy") String createBy, @Param("startTime") Date startTime, @Param("endTime") Date endTime); /** * 吞吐报表统计 —— 按操作人汇总 */ List selectUserSummary(@Param("actualWarehouseId") Long actualWarehouseId, @Param("operationType") Integer operationType, @Param("inOutType") Integer inOutType, @Param("createBy") String createBy, @Param("startTime") Date startTime, @Param("endTime") Date endTime); /** * 吞吐报表统计 —— 按日趋势 */ List selectTrendData(@Param("actualWarehouseId") Long actualWarehouseId, @Param("operationType") Integer operationType, @Param("inOutType") Integer inOutType, @Param("createBy") String createBy, @Param("startTime") Date startTime, @Param("endTime") Date endTime); }