Files
klp-oa/klp-wms/src/main/java/com/klp/mapper/WmsCoilWarehouseOperationLogMapper.java

56 lines
3.4 KiB
Java
Raw Normal View History

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<WmsCoilWarehouseOperationLogMapper, WmsCoilWarehouseOperationLog, WmsCoilWarehouseOperationLogVo> {
List<WmsCoilWarehouseOperationLogVo> selectVoListWithJoin(@Param("warehouseIds") List<Long> 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<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);
}