2026-03-05 11:12:44 +08:00
|
|
|
|
package com.klp.mapper;
|
|
|
|
|
|
|
|
|
|
|
|
import com.klp.domain.WmsCoilWarehouseOperationLog;
|
|
|
|
|
|
import com.klp.domain.vo.WmsCoilWarehouseOperationLogVo;
|
2026-06-22 17:27:08 +08:00
|
|
|
|
import com.klp.domain.vo.WmsCoilWarehouseOperationLogStatisticsVo;
|
2026-03-05 11:12:44 +08:00
|
|
|
|
import com.klp.common.core.mapper.BaseMapperPlus;
|
2026-03-24 10:35:57 +08:00
|
|
|
|
import org.apache.ibatis.annotations.Param;
|
|
|
|
|
|
|
|
|
|
|
|
import java.util.Date;
|
|
|
|
|
|
import java.util.List;
|
2026-03-05 11:12:44 +08:00
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
|
* 钢卷库区操作记录Mapper接口
|
|
|
|
|
|
*
|
|
|
|
|
|
* @author klp
|
|
|
|
|
|
* @date 2026-03-05
|
|
|
|
|
|
*/
|
|
|
|
|
|
public interface WmsCoilWarehouseOperationLogMapper extends BaseMapperPlus<WmsCoilWarehouseOperationLogMapper, WmsCoilWarehouseOperationLog, WmsCoilWarehouseOperationLogVo> {
|
|
|
|
|
|
|
2026-03-24 10:35:57 +08:00
|
|
|
|
List<WmsCoilWarehouseOperationLogVo> selectVoListWithJoin(@Param("warehouseIds") List<Long> warehouseIds,
|
|
|
|
|
|
@Param("operationType") Integer operationType,
|
|
|
|
|
|
@Param("inOutType") Integer inOutType,
|
|
|
|
|
|
@Param("startTime") Date startTime,
|
|
|
|
|
|
@Param("endTime") Date endTime);
|
2026-06-22 17:27:08 +08:00
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
|
* 吞吐报表统计 —— 汇总指标(总数、总重量、涉及库位数)
|
|
|
|
|
|
*/
|
|
|
|
|
|
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<WmsCoilWarehouseOperationLogStatisticsVo.UserSummary> 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<WmsCoilWarehouseOperationLogStatisticsVo.TrendItem> 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);
|
2026-03-05 11:12:44 +08:00
|
|
|
|
}
|