feat(wms): 新增收货报表统计功能
- 在 IWmsDeliveryPlanService 接口中新增 getReceivingReport 方法 - 在 WmsDeliveryPlanController 控制器中新增 /receivingReport 接口 - 在 WmsDeliveryPlanMapper 中新增收货报表相关查询方法 - 在 WmsDeliveryPlanMapper.xml 中新增收货报表的 SQL 查询语句 - 新增 WmsReceivingReportByTypeVo、WmsReceivingReportResultVo 和 WmsReceivingReportSummaryVo 三个 VO 类用于收货报表数据传输 - 完善了送货报表 SQL 查询逻辑,增加与 wms_delivery_plan 表的关联及 plan_type 过滤条件
This commit is contained in:
@@ -6,6 +6,8 @@ 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;
|
||||
@@ -24,4 +26,10 @@ public interface WmsDeliveryPlanMapper extends BaseMapperPlus<WmsDeliveryPlanMap
|
||||
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);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user