|
@@ -20,6 +20,95 @@ public class TransUtil {
|
|
|
put("8a0aa647278548fa9edba59b78c4", 1892759789419626529L);
|
|
|
}};
|
|
|
|
|
|
+
|
|
|
+ public static final Map<String, String> LABEL_MAPPING = new LinkedHashMap<String, String>() {{
|
|
|
+ // 聚合层次
|
|
|
+ put("aggregation_name", "聚合层次");
|
|
|
+
|
|
|
+ // 来源
|
|
|
+ put("fonds_name", "全宗名称");
|
|
|
+ put("unit_name", "立档单位名称");
|
|
|
+ put("electronic_record_code", "电子文件号");
|
|
|
+
|
|
|
+ // 文件联
|
|
|
+ put("catalogue", "目录文件");
|
|
|
+ put("item_number", "文件件数");
|
|
|
+ put("page_number", "文件页数");
|
|
|
+ put("metadata_catalogues", "元数据目录文件");
|
|
|
+ put("check_code", "验证码");
|
|
|
+
|
|
|
+ // 内容描述
|
|
|
+ put("title", "题名");
|
|
|
+ put("keyword", "关键词");
|
|
|
+ put("digest", "摘要");
|
|
|
+ put("creation_way", "生成方式");
|
|
|
+ put("author", "责任者");
|
|
|
+ put("file_time", "文件日期");//文件创建日期
|
|
|
+
|
|
|
+ // 组件
|
|
|
+ put("ip_address", "IP地址");
|
|
|
+ put("pile_number", "桩号");
|
|
|
+ put("upload_time", "上传时间");
|
|
|
+
|
|
|
+ // 文件标识码
|
|
|
+ put("document_number", "文号");
|
|
|
+ put("form_identifier", "表单标识码");
|
|
|
+
|
|
|
+ // 竣工图
|
|
|
+ put("figure_number", "图号");
|
|
|
+ put("pic_size", "图幅");
|
|
|
+ put("fileSource", "图表来源");
|
|
|
+ put("change_order_num", "引用变更令编号");
|
|
|
+
|
|
|
+ // 照片文件
|
|
|
+ put("theme", "主题");
|
|
|
+ put("filming_time", "拍摄时间");
|
|
|
+ put("filming_address", "拍摄地点");
|
|
|
+ put("shooter", "摄影者");
|
|
|
+ put("description", "背景");
|
|
|
+ put("pic_code", "分组号");
|
|
|
+ put("film_code", "组内照片编号");
|
|
|
+ put("horizontal_resolution", "水平分辨率");
|
|
|
+ put("vertical_resolution", "垂直分辨率");
|
|
|
+ put("retention_period", "保管期限");
|
|
|
+ put("format_name", "格式名称");//格式信息
|
|
|
+
|
|
|
+ // 电子属性
|
|
|
+ put("current_location", "存储位置");//位置
|
|
|
+ put("file_name", "计算机文件名");
|
|
|
+ put("file_size", "计算机文件大小");
|
|
|
+
|
|
|
+ // 数字化属性
|
|
|
+ put("resolution", "扫描分辨率");
|
|
|
+ put("color_model", "扫描色彩模式");
|
|
|
+
|
|
|
+ // 电子签名
|
|
|
+ put("signature_type", "签名类型");
|
|
|
+ put("signature_timeperiod", "签名时间");
|
|
|
+ put("signer", "签名者");//签名人
|
|
|
+ put("construction_project", "建设项目");
|
|
|
+
|
|
|
+ // 业务事项
|
|
|
+ put("unit_engineering", "单位工程");
|
|
|
+ put("division_engineering", "分部工程");
|
|
|
+ put("itemized_engineering", "分项工程");
|
|
|
+ put("unit_engineeringcode", "单位工程编码");
|
|
|
+ put("division_engineeringcode", "分部工程编码");
|
|
|
+ put("itemized_engineeringcode", "分项工程编码");
|
|
|
+
|
|
|
+ // 责任者
|
|
|
+ put("responsible_name", "责任者名称");
|
|
|
+ put("responsible_position", "个人职位");
|
|
|
+ put("responsible_phone", "责任者手机号");
|
|
|
+
|
|
|
+ // 关系实体
|
|
|
+ put("entity_identifier", "关系标识");
|
|
|
+ put("relation_typestr", "关系类型");
|
|
|
+ put("relationstr", "关系");
|
|
|
+ put("relationstrids", "相关实体标识");
|
|
|
+ }};
|
|
|
+
|
|
|
+
|
|
|
public static ExternalDataInfo getDataByExternalId(String externalId) {
|
|
|
// 1. 获取内部nodeId
|
|
|
Long internalNodeId = EXTERNAL_TO_INTERNAL_NODE_ID_MAP.get(externalId);
|