fix(mms-mapping): 修复XML资源配置加载和JSON映射提取问题

- 删除冗余注释,优化代码可读性
- 增强extractMappingJson方法中的类型安全处理,支持字符串和对象类型的mappingJson字段
- 添加对象类型转换逻辑,确保返回正确格式的JSON字符串
This commit is contained in:
周宇 蔡
2026-06-12 13:55:48 +08:00
parent b7b18dc325
commit 1edee2bf12
2 changed files with 6 additions and 3 deletions

View File

@@ -180,7 +180,7 @@ public class IcdToXmlTaskAppService {
* 加载 XML 模板和规则文件。
*/
private XmlResourceContext loadXmlResources() throws Exception {
return loadXmlResources(1);
return loadXmlResources(2);
}
private XmlResourceContext loadXmlResources(Integer configType) throws Exception {