- 在 IWmsDeliveryPlanService 接口中新增 getReceivingReport 方法 - 在 WmsDeliveryPlanController 控制器中新增 /receivingReport 接口 - 在 WmsDeliveryPlanMapper 中新增收货报表相关查询方法 - 在 WmsDeliveryPlanMapper.xml 中新增收货报表的 SQL 查询语句 - 新增 WmsReceivingReportByTypeVo、WmsReceivingReportResultVo 和 WmsReceivingReportSummaryVo 三个 VO 类用于收货报表数据传输 - 完善了送货报表 SQL 查询逻辑,增加与 wms_delivery_plan 表的关联及 plan_type 过滤条件
36 lines
1.4 KiB
Java
36 lines
1.4 KiB
Java
package com.klp.mapper;
|
|
|
|
import com.klp.domain.WmsDeliveryPlan;
|
|
import com.klp.domain.vo.WmsDeliveryPlanStatisticsVo;
|
|
import com.klp.domain.vo.WmsDeliveryPlanVo;
|
|
import com.klp.common.core.mapper.BaseMapperPlus;
|
|
import com.klp.domain.vo.WmsDeliveryReportByTypeVo;
|
|
import com.klp.domain.vo.WmsDeliveryReportSummaryVo;
|
|
import com.klp.domain.vo.WmsReceivingReportByTypeVo;
|
|
import com.klp.domain.vo.WmsReceivingReportSummaryVo;
|
|
import org.apache.ibatis.annotations.Param;
|
|
|
|
import java.util.Date;
|
|
import java.util.List;
|
|
|
|
/**
|
|
* 发货计划Mapper接口
|
|
*
|
|
* @author klp
|
|
* @date 2025-11-25
|
|
*/
|
|
public interface WmsDeliveryPlanMapper extends BaseMapperPlus<WmsDeliveryPlanMapper, WmsDeliveryPlan, WmsDeliveryPlanVo> {
|
|
|
|
List<WmsDeliveryPlanStatisticsVo> selectDeliveryPlanStatistics(Long planId);
|
|
|
|
List<WmsDeliveryReportByTypeVo> selectDeliveryReportByType(@Param("startTime")Date startTime, @Param("endTime")Date endTime);
|
|
|
|
WmsDeliveryReportSummaryVo selectDeliveryReportSummary(@Param("startTime") Date startTime, @Param("endTime") Date endTime);
|
|
|
|
List<WmsReceivingReportByTypeVo> selectReceivingReportByType(@Param("startTime") Date startTime,
|
|
@Param("endTime") Date endTime);
|
|
|
|
WmsReceivingReportSummaryVo selectReceivingReportSummary(@Param("startTime") Date startTime,
|
|
@Param("endTime") Date endTime);
|
|
}
|