feat(wms): 新增发货计划统计功能

- 在 IWmsDeliveryPlanService 接口中新增 getDeliveryPlanStatistics 方法
- 在 WmsDeliveryPlanController 中添加 /statistics 接口用于获取统计信息
- 在 WmsDeliveryPlanMapper 中新增 selectDeliveryPlanStatistics 查询方法
- 在 WmsDeliveryPlanMapper.xml 中编写对应的 SQL 查询语句
- 在 WmsDeliveryPlanServiceImpl 中实现统计方法调用 Mapper 层
- 新增 WmsDeliveryPlanStatisticsVo 类用于封装统计结果数据
- 引入相关类导入依赖以支持新功能开发
This commit is contained in:
2025-11-25 16:58:47 +08:00
parent 21a662d7d8
commit 5591d702d7
6 changed files with 119 additions and 0 deletions

View File

@@ -1,6 +1,7 @@
package com.klp.service;
import com.klp.domain.WmsDeliveryPlan;
import com.klp.domain.vo.WmsDeliveryPlanStatisticsVo;
import com.klp.domain.vo.WmsDeliveryPlanVo;
import com.klp.domain.bo.WmsDeliveryPlanBo;
import com.klp.common.core.page.TableDataInfo;
@@ -46,4 +47,6 @@ public interface IWmsDeliveryPlanService {
* 校验并批量删除发货计划信息
*/
Boolean deleteWithValidByIds(Collection<Long> ids, Boolean isValid);
List<WmsDeliveryPlanStatisticsVo> getDeliveryPlanStatistics(Long planId);
}