feat(wms): 添加报表结果存储功能支持JSON和横向对比

- 创建WmsReportResultStorage实体类用于存储报表结果数据
- 实现IWmsReportResultStorageService服务接口及其实现类
- 添加WmsReportResultStorageController控制器提供CRUD操作
- 创建WmsReportResultStorageMapper数据访问层
- 配置WmsReportResultStorageMapper.xml映射文件
- 定义WmsReportResultStorageBo业务对象和WmsReportResultStorageVo视图对象
- 实现报表数据按日期、类型、产线进行查询和去重逻辑
- 添加Excel导出功能支持报表数据导出
This commit is contained in:
2026-03-25 16:23:39 +08:00
parent e8568b6ec7
commit 9dc8d589f0
8 changed files with 516 additions and 0 deletions

View File

@@ -0,0 +1,22 @@
<?xml version="1.0" encoding="UTF-8" ?>
<!DOCTYPE mapper
PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
"http://mybatis.org/dtd/mybatis-3-mapper.dtd">
<mapper namespace="com.klp.mapper.WmsReportResultStorageMapper">
<resultMap type="com.klp.domain.WmsReportResultStorage" id="WmsReportResultStorageResult">
<result property="storageId" column="storage_id"/>
<result property="reportDate" column="report_date"/>
<result property="reportType" column="report_type"/>
<result property="productionLine" column="production_line"/>
<result property="reportJson" column="report_json"/>
<result property="remark" column="remark"/>
<result property="delFlag" column="del_flag"/>
<result property="createTime" column="create_time"/>
<result property="createBy" column="create_by"/>
<result property="updateTime" column="update_time"/>
<result property="updateBy" column="update_by"/>
</resultMap>
</mapper>