From 13b22edeb1c60505be93e7af1903f7c5e00bbc6d Mon Sep 17 00:00:00 2001 From: yuxc <653031404@qq.com> Date: 星期一, 22 五月 2023 18:08:30 +0800 Subject: [PATCH] 对使用分类的主键获取表单的定义、根据模板的主键获取表格的定义、标记流程中业务数据是否通过、使用分类的主键获取业务数据等接口的移植工作,其中对以前查询平台数据的方式使用的QueryWrapper实现数据的查询 --- Source/UBCS/ubcs-service-api/ubcs-code-api/src/main/java/com/vci/ubcs/code/vo/webserviceModel/attrmap/GeneralMappingUtil.java | 30 ++++++++++++++++++++++++++++++ 1 files changed, 30 insertions(+), 0 deletions(-) diff --git a/Source/UBCS/ubcs-service-api/ubcs-code-api/src/main/java/com/vci/ubcs/code/vo/webserviceModel/attrmap/GeneralMappingUtil.java b/Source/UBCS/ubcs-service-api/ubcs-code-api/src/main/java/com/vci/ubcs/code/vo/webserviceModel/attrmap/GeneralMappingUtil.java index e69de29..7e9db1b 100644 --- a/Source/UBCS/ubcs-service-api/ubcs-code-api/src/main/java/com/vci/ubcs/code/vo/webserviceModel/attrmap/GeneralMappingUtil.java +++ b/Source/UBCS/ubcs-service-api/ubcs-code-api/src/main/java/com/vci/ubcs/code/vo/webserviceModel/attrmap/GeneralMappingUtil.java @@ -0,0 +1,30 @@ +package com.vci.ubcs.code.vo.webserviceModel.attrmap; + +public class GeneralMappingUtil { + + private static GeneralMappingUtil newInstance=null; + public static GeneralMappingUtil getNewInstance() { + if(newInstance==null){ + newInstance=new GeneralMappingUtil(); + } + return newInstance; + } + + /*** + * 閫氳繃绯荤粺鏍囪瘑鑾峰彇瀵瑰簲鐨勯泦鎴愬睘鎬ф槧灏� + * @param system + */ + private void getLibraryClsfAttrMapping(String system){ + try { + /** String fileNamePath=LocalFileUtil.getProjectFolder(); + fileNamePath+=File.separator+"mdmInMapXml"+File.separator+"clsfAttrMap.xml"; + String clasAttrXml= LocalFileUtil.readContentForFile(fileNamePath); + XStream xStream = new XStream(new DomDriver()); + xStream.processAnnotations(ApplyCodeDO.class); + xStream.autodetectAnnotations(true); + ApplyCodeDO applyCodeDO = (ApplyCodeDO) xStream.fromXML(clasAttrXml);**/ + }catch (Throwable e){ + new Throwable("璇诲彇灞炴�ф槧灏勬枃浠跺嚭閿�!"); + } + } +} -- Gitblit v1.9.3