feat(mms-mapping): 添加ICD一致性校验功能并重构设备类型管理

- 在MappingController中新增ICD一致性校验接口checkIcdJsonConsistency
- 添加IcdConsistencyCheckService服务实现ICD映射JSON一致性校验逻辑
- 添加IcdConsistencyCheckRequest和IcdConsistencyCheckResponse相关数据传输对象
- 在CsIcdPathPO中新增icdContent字段存储ICD内容字节数组
- 在CsIcdPathMapper中新增selectIcdPathList方法支持关键词搜索
- 移除设备类型相关的控制器、服务接口及实现类(MmsDeviceTypeController等)
- 更新.gitignore文件排除特定jar包路径
- 在pom.xml中添加device-types模块依赖和JNA库依赖
- 更新README.md文档添加device-types模块说明
- 重命名steady-DataView为steady-dataView模块名统一格式
This commit is contained in:
2026-06-15 08:38:19 +08:00
parent 1edee2bf12
commit fd6e5097d7
91 changed files with 2620 additions and 882 deletions

View File

@@ -9,6 +9,7 @@
- `activate-tool`
- `add-data`
- `add-ledger`
- `device-types`
- `mms-mapping`
- `parse-pqdif`
- `wave-tool`
@@ -22,12 +23,13 @@ tools/
├── activate-tool/
├── add-data/
├── add-ledger/
├── device-types/
├── mms-mapping/
├── parse-pqdif/
└── wave-tool/
```
其中 `tools/mms-mapping` 当前 Maven `artifactId``mms-mapping`
其中 `tools/device-types` 当前 Maven `artifactId``device-types``tools/mms-mapping` 当前 Maven `artifactId``mms-mapping`
## add-data 的职责
@@ -80,6 +82,16 @@ tools/
从接口层看,当前主要围绕 `/api/mms-mapping` 路径提供能力。
## device-types 的职责
`device-types` 当前提供设备类型维护与校验入口:
- 查询设备类型列表
- 新增、编辑、删除设备类型
- 保存设备类型 ICD 唯一性校验结果
- 预留设备类型 PQDIF 校验入口
从接口层看,当前主要围绕 `/api/device-types` 路径提供能力。
## parse-pqdif 的职责
`parse-pqdif` 当前仅作为 PQDIF 文件解析工具的预留骨架,参照 `mms-mapping` 的 Controller、Service、ServiceImpl 和 VO 分层组织。
@@ -110,7 +122,7 @@ tools/
## 依赖关系
`tools/activate-tool``tools/add-data``tools/add-ledger``tools/mms-mapping``tools/parse-pqdif``tools/wave-tool` 当前主要依赖:
`tools/activate-tool``tools/add-data``tools/add-ledger``tools/device-types``tools/mms-mapping``tools/parse-pqdif``tools/wave-tool` 当前主要依赖:
- `com.njcn:njcn-common`
- `com.njcn:spingboot2.3.12`