Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in / Register
Toggle navigation
D
dcs-doc-expand
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
INET-TWO
server
dcs-doc-expand
Commits
455e3e63
Commit
455e3e63
authored
Aug 23, 2024
by
pchxue
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
迁移问题处理
parent
3c6d0655
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
490 additions
and
59 deletions
+490
-59
DxDocumentVOExpand.java
.../yonde/dcs/document/expand/entity/DxDocumentVOExpand.java
+480
-43
DENUtils.java
...re/src/main/java/com/yonde/dcs/core/factory/DENUtils.java
+2
-4
NCRUtils.java
...re/src/main/java/com/yonde/dcs/core/factory/NCRUtils.java
+8
-12
No files found.
dcs-doc-expand-common/src/main/java/com/yonde/dcs/document/expand/entity/DxDocumentVOExpand.java
View file @
455e3e63
...
@@ -15,13 +15,42 @@ import cn.hutool.core.convert.Convert;
...
@@ -15,13 +15,42 @@ import cn.hutool.core.convert.Convert;
import
cn.hutool.core.lang.TypeReference
;
import
cn.hutool.core.lang.TypeReference
;
import
java.util.List
;
import
java.util.List
;
import
com.yonde.dcs.document.expand.plugin.DxDocumentVOPluginExpand
;
import
com.yonde.dcs.document.expand.plugin.DxDocumentVOPluginExpand
;
import
com.yonde.dcs.common.vo.ExtDenDescriptLinkVO
;
import
com.yonde.dcs.common.vo.ExtObsoleteDocLinkVO
;
import
com.yonde.dcs.common.vo.ExtCheckedFileLinkVO
;
import
com.yonde.dcs.common.vo.ExtInterfaceInfoLinkVO
;
import
com.yonde.dcs.common.vo.ExtApplyDocVO
;
import
com.yonde.dcs.common.vo.ExtRelatedDcrLinkVO
;
import
com.yonde.dcs.common.vo.ExtInterfaceDocLinkVO
;
import
com.yonde.dcs.common.vo.ExtReviewChangeLinkVO
;
import
com.yonde.dcs.common.vo.ExtReplenishLinkVO
;
import
com.yonde.dcs.common.vo.ExtSendFormLinkVO
;
import
com.yonde.dcs.common.vo.ExtReviewDocComLinkVO
;
import
com.yonde.dcs.common.vo.ExtAtlasDrawingLinkVO
;
import
com.yonde.dcs.common.vo.ExtReplyDocVO
;
import
com.yonde.dcs.common.vo.ExtReviewDocLinkVO
;
import
com.yonde.dcs.common.vo.ExtRefContractDocVO
;
import
com.yonde.dcs.common.vo.ExtTechStandardLinkVO
;
import
com.yonde.dcs.common.vo.ExtInterfaceReplaceLinkVO
;
import
com.yonde.dcs.common.vo.ExtRelatedDenLinkVO
;
import
com.yonde.dcs.common.vo.ExtObjectDocLinkVO
;
import
com.yonde.dcs.common.vo.ExtRefDesignInputLinkVO
;
import
com.yonde.dcs.common.vo.ExtChangeReasonLinkVO
;
import
com.yonde.dcs.common.vo.ExtComDocLinkVO
;
import
com.yonde.dcs.common.vo.ExtAuditRecordCardLinkVO
;
import
com.yonde.dcs.common.vo.ExtRefOutsideDocVO
;
import
com.yonde.dcs.common.vo.ExtRelatedNcrLinkVO
;
import
com.yonde.dcs.common.vo.ExtDocumentReferentLinkVO
;
import
com.yonde.dcs.common.vo.ExtRefJobContractDocVO
;
import
com.yonde.dcs.common.vo.ExtRelatedDrawingLinkVO
;
import
com.yonde.dcs.common.vo.ExtRelatedInterfaceLinkVO
;
/**
/**
* @description: DxDocument-VOExpand扩展实体
* @description: DxDocument-VOExpand扩展实体
* @author: dexadmin
* @author: dexadmin
* @version: V
* @version: V
* @date: 2024-8-2 15:26:32
* @date: 2024-8-23 9:38:30
**/
**/
@EqualsAndHashCode
@EqualsAndHashCode
@Data
@Data
@ToString
(
callSuper
=
true
)
@ToString
(
callSuper
=
true
)
...
@@ -30,6 +59,13 @@ public class DxDocumentVOExpand<V extends DxDocumentVOPluginExpand> implements S
...
@@ -30,6 +59,13 @@ public class DxDocumentVOExpand<V extends DxDocumentVOPluginExpand> implements S
public
static
final
String
CHECK_CONTENT_PROP_NAME
=
"checkContent"
;
public
static
final
String
CHECK_CONTENT_PROP_NAME
=
"checkContent"
;
public
static
final
String
CHECK_STANDARD_REVIEW_PROP_NAME
=
"checkStandardReview"
;
public
static
final
String
CHECK_STANDARD_REVIEW_PROP_NAME
=
"checkStandardReview"
;
public
static
final
String
DRAWING_CODE_PROP_NAME
=
"drawingCode"
;
public
static
final
String
DRAWING_CODE_PROP_NAME
=
"drawingCode"
;
public
static
final
String
EXT_AUDIT_RECORD_CARD_LINKS_PROP_NAME
=
"extAuditRecordCardLinks"
;
public
static
final
String
EXT_COM_DOC_LINKS_PROP_NAME
=
"extComDocLinks"
;
public
static
final
String
EXT_INTERFACE_DOC_LINKS_PROP_NAME
=
"extInterfaceDocLinks"
;
public
static
final
String
EXT_INTERFACE_INFO_LINKS_PROP_NAME
=
"extInterfaceInfoLinks"
;
public
static
final
String
EXT_OBJECT_DOC_LINKS_PROP_NAME
=
"extObjectDocLinks"
;
public
static
final
String
EXT_REVIEW_CHANGE_LINKS_PROP_NAME
=
"extReviewChangeLinks"
;
public
static
final
String
EXT_REVIEW_DOC_COM_LINKS_PROP_NAME
=
"extReviewDocComLinks"
;
public
static
final
String
FIVE_LEV_CATEGORY_PROP_NAME
=
"fiveLevCategory"
;
public
static
final
String
FIVE_LEV_CATEGORY_PROP_NAME
=
"fiveLevCategory"
;
public
static
final
String
FOUR_LEV_CATEGORY_PROP_NAME
=
"fourLevCategory"
;
public
static
final
String
FOUR_LEV_CATEGORY_PROP_NAME
=
"fourLevCategory"
;
public
static
final
String
ONE_LEV_CATEGORY_PROP_NAME
=
"oneLevCategory"
;
public
static
final
String
ONE_LEV_CATEGORY_PROP_NAME
=
"oneLevCategory"
;
...
@@ -40,8 +76,52 @@ public class DxDocumentVOExpand<V extends DxDocumentVOPluginExpand> implements S
...
@@ -40,8 +76,52 @@ public class DxDocumentVOExpand<V extends DxDocumentVOPluginExpand> implements S
public
static
final
String
PROJECT_TYPE_PROP_NAME
=
"projectType"
;
public
static
final
String
PROJECT_TYPE_PROP_NAME
=
"projectType"
;
public
static
final
String
REVIEW_CONTENT_PROP_NAME
=
"reviewContent"
;
public
static
final
String
REVIEW_CONTENT_PROP_NAME
=
"reviewContent"
;
public
static
final
String
REVIEW_CONTENT_STANDARD_PROP_NAME
=
"reviewContentStandard"
;
public
static
final
String
REVIEW_CONTENT_STANDARD_PROP_NAME
=
"reviewContentStandard"
;
public
static
final
String
SOURCE_EXT_APPLY_DOC_PROP_NAME
=
"sourceExtApplyDoc"
;
public
static
final
String
SOURCE_EXT_ATLAS_DRAWING_LINK_PROP_NAME
=
"sourceExtAtlasDrawingLink"
;
public
static
final
String
SOURCE_EXT_CHANGE_REASON_LINK_PROP_NAME
=
"sourceExtChangeReasonLink"
;
public
static
final
String
SOURCE_EXT_CHECKED_FILE_LINK_PROP_NAME
=
"sourceExtCheckedFileLink"
;
public
static
final
String
SOURCE_EXT_DEN_DESCRIPT_LINK_PROP_NAME
=
"sourceExtDenDescriptLink"
;
public
static
final
String
SOURCE_EXT_DOCUMENT_REFERENT_LINK_PROP_NAME
=
"sourceExtDocumentReferentLink"
;
public
static
final
String
SOURCE_EXT_INTERFACE_REPLACE_LINK_PROP_NAME
=
"sourceExtInterfaceReplaceLink"
;
public
static
final
String
SOURCE_EXT_OBSOLETE_DOC_LINK_PROP_NAME
=
"sourceExtObsoleteDocLink"
;
public
static
final
String
SOURCE_EXT_REF_CONTRACT_DOC_PROP_NAME
=
"sourceExtRefContractDoc"
;
public
static
final
String
SOURCE_EXT_REF_DESIGN_INPUT_LINK_PROP_NAME
=
"sourceExtRefDesignInputLink"
;
public
static
final
String
SOURCE_EXT_REF_JOB_CONTRACT_DOC_PROP_NAME
=
"sourceExtRefJobContractDoc"
;
public
static
final
String
SOURCE_EXT_REF_OUTSIDE_DOC_PROP_NAME
=
"sourceExtRefOutsideDoc"
;
public
static
final
String
SOURCE_EXT_RELATED_DCR_LINK_PROP_NAME
=
"sourceExtRelatedDcrLink"
;
public
static
final
String
SOURCE_EXT_RELATED_DEN_LINK_PROP_NAME
=
"sourceExtRelatedDenLink"
;
public
static
final
String
SOURCE_EXT_RELATED_DRAWING_LINK_PROP_NAME
=
"sourceExtRelatedDrawingLink"
;
public
static
final
String
SOURCE_EXT_RELATED_INTERFACE_LINK_PROP_NAME
=
"sourceExtRelatedInterfaceLink"
;
public
static
final
String
SOURCE_EXT_RELATED_NCR_LINK_PROP_NAME
=
"sourceExtRelatedNcrLink"
;
public
static
final
String
SOURCE_EXT_REPLENISH_LINK_PROP_NAME
=
"sourceExtReplenishLink"
;
public
static
final
String
SOURCE_EXT_REPLY_DOC_PROP_NAME
=
"sourceExtReplyDoc"
;
public
static
final
String
SOURCE_EXT_REVIEW_DOC_LINK_PROP_NAME
=
"sourceExtReviewDocLink"
;
public
static
final
String
SOURCE_EXT_SEND_FORM_LINK_PROP_NAME
=
"sourceExtSendFormLink"
;
public
static
final
String
SOURCE_EXT_TECH_STANDARD_LINK_PROP_NAME
=
"sourceExtTechStandardLink"
;
public
static
final
String
SUB_SYSTEM_PROP_NAME
=
"subSystem"
;
public
static
final
String
SUB_SYSTEM_PROP_NAME
=
"subSystem"
;
public
static
final
String
SUBJECT_PROP_NAME
=
"subject"
;
public
static
final
String
SUBJECT_PROP_NAME
=
"subject"
;
public
static
final
String
TARGET_EXT_APPLY_DOC_PROP_NAME
=
"targetExtApplyDoc"
;
public
static
final
String
TARGET_EXT_ATLAS_DRAWING_LINK_PROP_NAME
=
"targetExtAtlasDrawingLink"
;
public
static
final
String
TARGET_EXT_CHANGE_REASON_LINK_PROP_NAME
=
"targetExtChangeReasonLink"
;
public
static
final
String
TARGET_EXT_CHECKED_FILE_LINK_PROP_NAME
=
"targetExtCheckedFileLink"
;
public
static
final
String
TARGET_EXT_DEN_DESCRIPT_LINK_PROP_NAME
=
"targetExtDenDescriptLink"
;
public
static
final
String
TARGET_EXT_DOCUMENT_REFERENT_LINK_PROP_NAME
=
"targetExtDocumentReferentLink"
;
public
static
final
String
TARGET_EXT_INTERFACE_REPLACE_LINK_PROP_NAME
=
"targetExtInterfaceReplaceLink"
;
public
static
final
String
TARGET_EXT_OBSOLETE_DOC_LINK_PROP_NAME
=
"targetExtObsoleteDocLink"
;
public
static
final
String
TARGET_EXT_REF_CONTRACT_DOC_PROP_NAME
=
"targetExtRefContractDoc"
;
public
static
final
String
TARGET_EXT_REF_DESIGN_INPUT_LINK_PROP_NAME
=
"targetExtRefDesignInputLink"
;
public
static
final
String
TARGET_EXT_REF_JOB_CONTRACT_DOC_PROP_NAME
=
"targetExtRefJobContractDoc"
;
public
static
final
String
TARGET_EXT_REF_OUTSIDE_DOC_PROP_NAME
=
"targetExtRefOutsideDoc"
;
public
static
final
String
TARGET_EXT_RELATED_DCR_LINK_PROP_NAME
=
"targetExtRelatedDcrLink"
;
public
static
final
String
TARGET_EXT_RELATED_DEN_LINK_PROP_NAME
=
"targetExtRelatedDenLink"
;
public
static
final
String
TARGET_EXT_RELATED_DRAWING_LINK_PROP_NAME
=
"targetExtRelatedDrawingLink"
;
public
static
final
String
TARGET_EXT_RELATED_INTERFACE_LINK_PROP_NAME
=
"targetExtRelatedInterfaceLink"
;
public
static
final
String
TARGET_EXT_RELATED_NCR_LINK_PROP_NAME
=
"targetExtRelatedNcrLink"
;
public
static
final
String
TARGET_EXT_REPLENISH_LINK_PROP_NAME
=
"targetExtReplenishLink"
;
public
static
final
String
TARGET_EXT_REPLY_DOC_PROP_NAME
=
"targetExtReplyDoc"
;
public
static
final
String
TARGET_EXT_REVIEW_DOC_LINK_PROP_NAME
=
"targetExtReviewDocLink"
;
public
static
final
String
TARGET_EXT_SEND_FORM_LINK_PROP_NAME
=
"targetExtSendFormLink"
;
public
static
final
String
TARGET_EXT_TECH_STANDARD_LINK_PROP_NAME
=
"targetExtTechStandardLink"
;
public
static
final
String
THREE_LEV_CATEGORY_PROP_NAME
=
"threeLevCategory"
;
public
static
final
String
THREE_LEV_CATEGORY_PROP_NAME
=
"threeLevCategory"
;
public
static
final
String
TWO_LEV_CATEGORY_PROP_NAME
=
"twoLevCategory"
;
public
static
final
String
TWO_LEV_CATEGORY_PROP_NAME
=
"twoLevCategory"
;
public
static
final
String
VERIFY_CONTENT_PROP_NAME
=
"verifyContent"
;
public
static
final
String
VERIFY_CONTENT_PROP_NAME
=
"verifyContent"
;
...
@@ -66,6 +146,55 @@ public class DxDocumentVOExpand<V extends DxDocumentVOPluginExpand> implements S
...
@@ -66,6 +146,55 @@ public class DxDocumentVOExpand<V extends DxDocumentVOPluginExpand> implements S
*/
*/
private
String
drawingCode
;
private
String
drawingCode
;
/**
* 校审记录卡Link模型集合
*/
@RelationProperty
(
refProperty
=
"source"
)
@VersionProperty
(
curVersion
=
VersionRelationType
.
VERSION
,
refVersion
=
VersionRelationType
.
NONE
)
private
List
<
ExtAuditRecordCardLinkVO
>
extAuditRecordCardLinks
;
/**
* 专家意见升版文档关联模型集合
*/
@RelationProperty
(
refProperty
=
"target"
)
@VersionProperty
(
curVersion
=
VersionRelationType
.
VERSION
,
refVersion
=
VersionRelationType
.
NONE
)
private
List
<
ExtComDocLinkVO
>
extComDocLinks
;
/**
* 接口单文档link集合
*/
@RelationProperty
(
refProperty
=
"target"
)
@VersionProperty
(
curVersion
=
VersionRelationType
.
VERSION
,
refVersion
=
VersionRelationType
.
NONE
)
private
List
<
ExtInterfaceDocLinkVO
>
extInterfaceDocLinks
;
/**
* 接口提资Link模型集合
*/
@RelationProperty
(
refProperty
=
"source"
)
@VersionProperty
(
curVersion
=
VersionRelationType
.
VERSION
,
refVersion
=
VersionRelationType
.
NONE
)
private
List
<
ExtInterfaceInfoLinkVO
>
extInterfaceInfoLinks
;
/**
* 签审对象文档link集合
*/
@RelationProperty
(
refProperty
=
"target"
)
@VersionProperty
(
curVersion
=
VersionRelationType
.
MASTER
,
refVersion
=
VersionRelationType
.
NONE
)
private
List
<
ExtObjectDocLinkVO
>
extObjectDocLinks
;
/**
* 设计变更申请审查Link模型集合
*/
@RelationProperty
(
refProperty
=
"source"
)
@VersionProperty
(
curVersion
=
VersionRelationType
.
VERSION
,
refVersion
=
VersionRelationType
.
NONE
)
private
List
<
ExtReviewChangeLinkVO
>
extReviewChangeLinks
;
/**
* 评审文件专家意见关联模型集合
*/
@RelationProperty
(
refProperty
=
"source"
)
@VersionProperty
(
curVersion
=
VersionRelationType
.
VERSION
,
refVersion
=
VersionRelationType
.
NONE
)
private
List
<
ExtReviewDocComLinkVO
>
extReviewDocComLinks
;
/**
/**
* 五级分类
* 五级分类
*/
*/
...
@@ -116,6 +245,160 @@ public class DxDocumentVOExpand<V extends DxDocumentVOPluginExpand> implements S
...
@@ -116,6 +245,160 @@ public class DxDocumentVOExpand<V extends DxDocumentVOPluginExpand> implements S
*/
*/
private
String
reviewContentStandard
;
private
String
reviewContentStandard
;
/**
* 相关申请数据/单据集合
*/
@RelationProperty
(
refProperty
=
"source"
)
@VersionProperty
(
curVersion
=
VersionRelationType
.
MASTER
,
refVersion
=
VersionRelationType
.
NONE
)
private
List
<
ExtApplyDocVO
>
sourceExtApplyDoc
;
/**
* 图册图纸关联模型集合
*/
@RelationProperty
(
refProperty
=
"source"
)
@VersionProperty
(
curVersion
=
VersionRelationType
.
VERSION
,
refVersion
=
VersionRelationType
.
NONE
)
private
List
<
ExtAtlasDrawingLinkVO
>
sourceExtAtlasDrawingLink
;
/**
* 变更原因相关文档集合
*/
@RelationProperty
(
refProperty
=
"source"
)
@VersionProperty
(
curVersion
=
VersionRelationType
.
VERSION
,
refVersion
=
VersionRelationType
.
NONE
)
private
List
<
ExtChangeReasonLinkVO
>
sourceExtChangeReasonLink
;
/**
* 被查文件Link集合
*/
@RelationProperty
(
refProperty
=
"source"
)
@VersionProperty
(
curVersion
=
VersionRelationType
.
VERSION
,
refVersion
=
VersionRelationType
.
NONE
)
private
List
<
ExtCheckedFileLinkVO
>
sourceExtCheckedFileLink
;
/**
* 澄清事项描述相关文档集合
*/
@RelationProperty
(
refProperty
=
"source"
)
@VersionProperty
(
curVersion
=
VersionRelationType
.
VERSION
,
refVersion
=
VersionRelationType
.
NONE
)
private
List
<
ExtDenDescriptLinkVO
>
sourceExtDenDescriptLink
;
/**
* 相关文档集合
*/
@RelationProperty
(
refProperty
=
"source"
)
@VersionProperty
(
curVersion
=
VersionRelationType
.
VERSION
,
refVersion
=
VersionRelationType
.
NONE
)
private
List
<
ExtDocumentReferentLinkVO
>
sourceExtDocumentReferentLink
;
/**
* 接口替换单Link模型集合
*/
@RelationProperty
(
refProperty
=
"source"
)
@VersionProperty
(
curVersion
=
VersionRelationType
.
VERSION
,
refVersion
=
VersionRelationType
.
NONE
)
private
List
<
ExtInterfaceReplaceLinkVO
>
sourceExtInterfaceReplaceLink
;
/**
* 过时文件通知单Link集合
*/
@RelationProperty
(
refProperty
=
"source"
)
@VersionProperty
(
curVersion
=
VersionRelationType
.
VERSION
,
refVersion
=
VersionRelationType
.
NONE
)
private
List
<
ExtObsoleteDocLinkVO
>
sourceExtObsoleteDocLink
;
/**
* ExtRefContractDoc集合
*/
@RelationProperty
(
refProperty
=
"source"
)
@VersionProperty
(
curVersion
=
VersionRelationType
.
VERSION
,
refVersion
=
VersionRelationType
.
NONE
)
private
List
<
ExtRefContractDocVO
>
sourceExtRefContractDoc
;
/**
* 相关设计输入单Link模型集合
*/
@RelationProperty
(
refProperty
=
"source"
)
@VersionProperty
(
curVersion
=
VersionRelationType
.
VERSION
,
refVersion
=
VersionRelationType
.
NONE
)
private
List
<
ExtRefDesignInputLinkVO
>
sourceExtRefDesignInputLink
;
/**
* 相关工作联系单集合
*/
@RelationProperty
(
refProperty
=
"source"
)
@VersionProperty
(
curVersion
=
VersionRelationType
.
VERSION
,
refVersion
=
VersionRelationType
.
NONE
)
private
List
<
ExtRefJobContractDocVO
>
sourceExtRefJobContractDoc
;
/**
* 相关外部收文集合
*/
@RelationProperty
(
refProperty
=
"source"
)
@VersionProperty
(
curVersion
=
VersionRelationType
.
VERSION
,
refVersion
=
VersionRelationType
.
NONE
)
private
List
<
ExtRefOutsideDocVO
>
sourceExtRefOutsideDoc
;
/**
* 相关DCR集合
*/
@RelationProperty
(
refProperty
=
"source"
)
@VersionProperty
(
curVersion
=
VersionRelationType
.
VERSION
,
refVersion
=
VersionRelationType
.
NONE
)
private
List
<
ExtRelatedDcrLinkVO
>
sourceExtRelatedDcrLink
;
/**
* 相关DEN集合
*/
@RelationProperty
(
refProperty
=
"source"
)
@VersionProperty
(
curVersion
=
VersionRelationType
.
VERSION
,
refVersion
=
VersionRelationType
.
NONE
)
private
List
<
ExtRelatedDenLinkVO
>
sourceExtRelatedDenLink
;
/**
* 关联图纸图号集合
*/
@RelationProperty
(
refProperty
=
"source"
)
@VersionProperty
(
curVersion
=
VersionRelationType
.
VERSION
,
refVersion
=
VersionRelationType
.
NONE
)
private
List
<
ExtRelatedDrawingLinkVO
>
sourceExtRelatedDrawingLink
;
/**
* 相关接口单Link集合
*/
@RelationProperty
(
refProperty
=
"source"
)
@VersionProperty
(
curVersion
=
VersionRelationType
.
VERSION
,
refVersion
=
VersionRelationType
.
NONE
)
private
List
<
ExtRelatedInterfaceLinkVO
>
sourceExtRelatedInterfaceLink
;
/**
* 不符合项处理单Link模型集合
*/
@RelationProperty
(
refProperty
=
"source"
)
@VersionProperty
(
curVersion
=
VersionRelationType
.
VERSION
,
refVersion
=
VersionRelationType
.
NONE
)
private
List
<
ExtRelatedNcrLinkVO
>
sourceExtRelatedNcrLink
;
/**
* 接口补充单Link模型集合
*/
@RelationProperty
(
refProperty
=
"source"
)
@VersionProperty
(
curVersion
=
VersionRelationType
.
VERSION
,
refVersion
=
VersionRelationType
.
NONE
)
private
List
<
ExtReplenishLinkVO
>
sourceExtReplenishLink
;
/**
* 相关答复提资数据/单据集合
*/
@RelationProperty
(
refProperty
=
"source"
)
@VersionProperty
(
curVersion
=
VersionRelationType
.
MASTER
,
refVersion
=
VersionRelationType
.
NONE
)
private
List
<
ExtReplyDocVO
>
sourceExtReplyDoc
;
/**
* 主审设计数据集合
*/
@RelationProperty
(
refProperty
=
"source"
)
@VersionProperty
(
curVersion
=
VersionRelationType
.
VERSION
,
refVersion
=
VersionRelationType
.
NONE
)
private
List
<
ExtReviewDocLinkVO
>
sourceExtReviewDocLink
;
/**
* 对外发送申请单Link模型集合
*/
@RelationProperty
(
refProperty
=
"source"
)
@VersionProperty
(
curVersion
=
VersionRelationType
.
VERSION
,
refVersion
=
VersionRelationType
.
NONE
)
private
List
<
ExtSendFormLinkVO
>
sourceExtSendFormLink
;
/**
* 相应技术标准集合
*/
@RelationProperty
(
refProperty
=
"source"
)
@VersionProperty
(
curVersion
=
VersionRelationType
.
VERSION
,
refVersion
=
VersionRelationType
.
NONE
)
private
List
<
ExtTechStandardLinkVO
>
sourceExtTechStandardLink
;
/**
/**
* 所属分系统
* 所属分系统
*/
*/
...
@@ -126,6 +409,160 @@ public class DxDocumentVOExpand<V extends DxDocumentVOPluginExpand> implements S
...
@@ -126,6 +409,160 @@ public class DxDocumentVOExpand<V extends DxDocumentVOPluginExpand> implements S
*/
*/
private
String
subject
;
private
String
subject
;
/**
* 相关申请数据/单据集合
*/
@RelationProperty
(
refProperty
=
"target"
)
@VersionProperty
(
curVersion
=
VersionRelationType
.
MASTER
,
refVersion
=
VersionRelationType
.
NONE
)
private
List
<
ExtApplyDocVO
>
targetExtApplyDoc
;
/**
* 图册图纸关联模型集合
*/
@RelationProperty
(
refProperty
=
"target"
)
@VersionProperty
(
curVersion
=
VersionRelationType
.
VERSION
,
refVersion
=
VersionRelationType
.
NONE
)
private
List
<
ExtAtlasDrawingLinkVO
>
targetExtAtlasDrawingLink
;
/**
* 变更原因相关文档集合
*/
@RelationProperty
(
refProperty
=
"target"
)
@VersionProperty
(
curVersion
=
VersionRelationType
.
VERSION
,
refVersion
=
VersionRelationType
.
NONE
)
private
List
<
ExtChangeReasonLinkVO
>
targetExtChangeReasonLink
;
/**
* 被查文件Link集合
*/
@RelationProperty
(
refProperty
=
"target"
)
@VersionProperty
(
curVersion
=
VersionRelationType
.
VERSION
,
refVersion
=
VersionRelationType
.
NONE
)
private
List
<
ExtCheckedFileLinkVO
>
targetExtCheckedFileLink
;
/**
* 澄清事项描述相关文档集合
*/
@RelationProperty
(
refProperty
=
"target"
)
@VersionProperty
(
curVersion
=
VersionRelationType
.
VERSION
,
refVersion
=
VersionRelationType
.
NONE
)
private
List
<
ExtDenDescriptLinkVO
>
targetExtDenDescriptLink
;
/**
* 相关文档集合
*/
@RelationProperty
(
refProperty
=
"target"
)
@VersionProperty
(
curVersion
=
VersionRelationType
.
VERSION
,
refVersion
=
VersionRelationType
.
NONE
)
private
List
<
ExtDocumentReferentLinkVO
>
targetExtDocumentReferentLink
;
/**
* 接口替换单Link模型集合
*/
@RelationProperty
(
refProperty
=
"target"
)
@VersionProperty
(
curVersion
=
VersionRelationType
.
VERSION
,
refVersion
=
VersionRelationType
.
NONE
)
private
List
<
ExtInterfaceReplaceLinkVO
>
targetExtInterfaceReplaceLink
;
/**
* 过时文件通知单Link集合
*/
@RelationProperty
(
refProperty
=
"target"
)
@VersionProperty
(
curVersion
=
VersionRelationType
.
VERSION
,
refVersion
=
VersionRelationType
.
NONE
)
private
List
<
ExtObsoleteDocLinkVO
>
targetExtObsoleteDocLink
;
/**
* ExtRefContractDoc集合
*/
@RelationProperty
(
refProperty
=
"target"
)
@VersionProperty
(
curVersion
=
VersionRelationType
.
VERSION
,
refVersion
=
VersionRelationType
.
NONE
)
private
List
<
ExtRefContractDocVO
>
targetExtRefContractDoc
;
/**
* 相关设计输入单Link模型集合
*/
@RelationProperty
(
refProperty
=
"target"
)
@VersionProperty
(
curVersion
=
VersionRelationType
.
VERSION
,
refVersion
=
VersionRelationType
.
NONE
)
private
List
<
ExtRefDesignInputLinkVO
>
targetExtRefDesignInputLink
;
/**
* 相关工作联系单集合
*/
@RelationProperty
(
refProperty
=
"target"
)
@VersionProperty
(
curVersion
=
VersionRelationType
.
VERSION
,
refVersion
=
VersionRelationType
.
NONE
)
private
List
<
ExtRefJobContractDocVO
>
targetExtRefJobContractDoc
;
/**
* 相关外部收文集合
*/
@RelationProperty
(
refProperty
=
"target"
)
@VersionProperty
(
curVersion
=
VersionRelationType
.
VERSION
,
refVersion
=
VersionRelationType
.
NONE
)
private
List
<
ExtRefOutsideDocVO
>
targetExtRefOutsideDoc
;
/**
* 相关DCR集合
*/
@RelationProperty
(
refProperty
=
"target"
)
@VersionProperty
(
curVersion
=
VersionRelationType
.
VERSION
,
refVersion
=
VersionRelationType
.
NONE
)
private
List
<
ExtRelatedDcrLinkVO
>
targetExtRelatedDcrLink
;
/**
* 相关DEN集合
*/
@RelationProperty
(
refProperty
=
"target"
)
@VersionProperty
(
curVersion
=
VersionRelationType
.
VERSION
,
refVersion
=
VersionRelationType
.
NONE
)
private
List
<
ExtRelatedDenLinkVO
>
targetExtRelatedDenLink
;
/**
* 关联图纸图号集合
*/
@RelationProperty
(
refProperty
=
"target"
)
@VersionProperty
(
curVersion
=
VersionRelationType
.
VERSION
,
refVersion
=
VersionRelationType
.
NONE
)
private
List
<
ExtRelatedDrawingLinkVO
>
targetExtRelatedDrawingLink
;
/**
* 相关接口单Link集合
*/
@RelationProperty
(
refProperty
=
"target"
)
@VersionProperty
(
curVersion
=
VersionRelationType
.
VERSION
,
refVersion
=
VersionRelationType
.
NONE
)
private
List
<
ExtRelatedInterfaceLinkVO
>
targetExtRelatedInterfaceLink
;
/**
* 不符合项处理单Link模型集合
*/
@RelationProperty
(
refProperty
=
"target"
)
@VersionProperty
(
curVersion
=
VersionRelationType
.
VERSION
,
refVersion
=
VersionRelationType
.
NONE
)
private
List
<
ExtRelatedNcrLinkVO
>
targetExtRelatedNcrLink
;
/**
* 接口补充单Link模型集合
*/
@RelationProperty
(
refProperty
=
"target"
)
@VersionProperty
(
curVersion
=
VersionRelationType
.
VERSION
,
refVersion
=
VersionRelationType
.
NONE
)
private
List
<
ExtReplenishLinkVO
>
targetExtReplenishLink
;
/**
* 相关答复提资数据/单据集合
*/
@RelationProperty
(
refProperty
=
"target"
)
@VersionProperty
(
curVersion
=
VersionRelationType
.
MASTER
,
refVersion
=
VersionRelationType
.
NONE
)
private
List
<
ExtReplyDocVO
>
targetExtReplyDoc
;
/**
* 主审设计数据集合
*/
@RelationProperty
(
refProperty
=
"target"
)
@VersionProperty
(
curVersion
=
VersionRelationType
.
VERSION
,
refVersion
=
VersionRelationType
.
NONE
)
private
List
<
ExtReviewDocLinkVO
>
targetExtReviewDocLink
;
/**
* 对外发送申请单Link模型集合
*/
@RelationProperty
(
refProperty
=
"target"
)
@VersionProperty
(
curVersion
=
VersionRelationType
.
VERSION
,
refVersion
=
VersionRelationType
.
NONE
)
private
List
<
ExtSendFormLinkVO
>
targetExtSendFormLink
;
/**
* 相应技术标准集合
*/
@RelationProperty
(
refProperty
=
"target"
)
@VersionProperty
(
curVersion
=
VersionRelationType
.
VERSION
,
refVersion
=
VersionRelationType
.
NONE
)
private
List
<
ExtTechStandardLinkVO
>
targetExtTechStandardLink
;
/**
/**
* 三级分类
* 三级分类
*/
*/
...
...
dcs-doc-expand-core/src/main/java/com/yonde/dcs/core/factory/DENUtils.java
View file @
455e3e63
...
@@ -144,8 +144,7 @@ public class DENUtils {
...
@@ -144,8 +144,7 @@ public class DENUtils {
List
<
ExtRelatedDenLinkVO
>
sourceRelatedDenLink
=
null
;
List
<
ExtRelatedDenLinkVO
>
sourceRelatedDenLink
=
null
;
if
(
StringUtils
.
isEmpty
(
v
.
getId
()))
{
if
(
StringUtils
.
isEmpty
(
v
.
getId
()))
{
//新增
//新增
// TODO: 2024/8/15 getSourceRelatedDenLink不存在
sourceRelatedDenLink
=
v
.
getDxDocumentExpand
().
getSourceExtRelatedDenLink
();
// sourceRelatedDenLink = v.getSourceRelatedDenLink();
}
else
{
}
else
{
//修改
//修改
//查询CAA附件
//查询CAA附件
...
@@ -153,8 +152,7 @@ public class DENUtils {
...
@@ -153,8 +152,7 @@ public class DENUtils {
if
(
ObjectUtils
.
isEmpty
(
docOpenProps
))
{
if
(
ObjectUtils
.
isEmpty
(
docOpenProps
))
{
return
null
;
return
null
;
}
}
// TODO: 2024/8/15 getSourceRelatedDenLink不存在
sourceRelatedDenLink
=
docOpenProps
.
getDxDocumentExpand
().
getSourceExtRelatedDenLink
();
// sourceRelatedDenLink = docOpenProps.getSourceRelatedDenLink();
}
}
List
<
DxDocumentVO
>
denTarget
=
new
ArrayList
<>();
List
<
DxDocumentVO
>
denTarget
=
new
ArrayList
<>();
...
...
dcs-doc-expand-core/src/main/java/com/yonde/dcs/core/factory/NCRUtils.java
View file @
455e3e63
...
@@ -82,15 +82,13 @@ public class NCRUtils {
...
@@ -82,15 +82,13 @@ public class NCRUtils {
//新增
//新增
if
(!
ObjectUtils
.
isEmpty
(
v
))
{
if
(!
ObjectUtils
.
isEmpty
(
v
))
{
//相关图号
//相关图号
// TODO: 2024/8/15 getSourceRelatedDrawingLink属性不存在
List
<
ExtRelatedDrawingLinkVO
>
sourceRelatedDrawingLink
=
v
.
getDxDocumentExpand
().
getSourceExtRelatedDrawingLink
();
// List<ExtRelatedDrawingLinkVO> sourceRelatedDrawingLink = v.getSourceRelatedDrawingLink();
//相关技术标准
//相关技术标准
// TODO: 2024/8/15 getSourceTechStandardLink属性不存在
List
<
ExtTechStandardLinkVO
>
sourceTechStandardLink
=
v
.
getDxDocumentExpand
().
getSourceExtTechStandardLink
();
// List<ExtTechStandardLinkVO> sourceTechStandardLink = v.getSourceTechStandardLink();
//获取图号 docNumber
//获取图号 docNumber
//
jsonObject.put("docNumber", CollectionUtils.isEmpty(sourceRelatedDrawingLink) ? "" : sourceRelatedDrawingLink.get(0).getDocNumber());
jsonObject
.
put
(
"docNumber"
,
CollectionUtils
.
isEmpty
(
sourceRelatedDrawingLink
)
?
""
:
sourceRelatedDrawingLink
.
get
(
0
).
getDocNumber
());
// 相应技术标准 techStandard
// 相应技术标准 techStandard
//
jsonObject.put("techStandard", CollectionUtils.isEmpty(sourceTechStandardLink) ? "" : sourceTechStandardLink.get(0).getDocNumber());
jsonObject
.
put
(
"techStandard"
,
CollectionUtils
.
isEmpty
(
sourceTechStandardLink
)
?
""
:
sourceTechStandardLink
.
get
(
0
).
getDocNumber
());
}
}
//纠正措施附件 inspectAttach
//纠正措施附件 inspectAttach
List
<
ObjFileLinkVO
>
objFileLinks
=
v
.
getObjFileLinks
();
List
<
ObjFileLinkVO
>
objFileLinks
=
v
.
getObjFileLinks
();
...
@@ -114,15 +112,13 @@ public class NCRUtils {
...
@@ -114,15 +112,13 @@ public class NCRUtils {
DxDocumentVO
docOpenProps
=
this
.
findDocOpenProps
(
v
.
getId
());
DxDocumentVO
docOpenProps
=
this
.
findDocOpenProps
(
v
.
getId
());
if
(!
ObjectUtils
.
isEmpty
(
docOpenProps
))
{
if
(!
ObjectUtils
.
isEmpty
(
docOpenProps
))
{
//相关图号
//相关图号
// TODO: 2024/8/15 getSourceRelatedDrawingLink属性不存在
List
<
ExtRelatedDrawingLinkVO
>
sourceRelatedDrawingLink
=
docOpenProps
.
getDxDocumentExpand
().
getSourceExtRelatedDrawingLink
();
// List<ExtRelatedDrawingLinkVO> sourceRelatedDrawingLink = docOpenProps.getSourceRelatedDrawingLink();
//相关技术标准
//相关技术标准
// TODO: 2024/8/15 getSourceTechStandardLink属性不存在
List
<
ExtTechStandardLinkVO
>
sourceTechStandardLink
=
docOpenProps
.
getDxDocumentExpand
().
getSourceExtTechStandardLink
();
// List<ExtTechStandardLinkVO> sourceTechStandardLink = docOpenProps.getSourceTechStandardLink();
//获取图号 docNumber
//获取图号 docNumber
//
jsonObject.put("docNumber", CollectionUtils.isEmpty(sourceRelatedDrawingLink) ? "" : sourceRelatedDrawingLink.get(0).getDocNumber());
jsonObject
.
put
(
"docNumber"
,
CollectionUtils
.
isEmpty
(
sourceRelatedDrawingLink
)
?
""
:
sourceRelatedDrawingLink
.
get
(
0
).
getDocNumber
());
// 相应技术标准 techStandard
// 相应技术标准 techStandard
//
jsonObject.put("techStandard", CollectionUtils.isEmpty(sourceTechStandardLink) ? "" : sourceTechStandardLink.get(0).getDocNumber());
jsonObject
.
put
(
"techStandard"
,
CollectionUtils
.
isEmpty
(
sourceTechStandardLink
)
?
""
:
sourceTechStandardLink
.
get
(
0
).
getDocNumber
());
}
}
//纠正措施附件 inspectAttach
//纠正措施附件 inspectAttach
List
<
ObjFileLinkVO
>
objFileLinks
=
docOpenProps
.
getObjFileLinks
();
List
<
ObjFileLinkVO
>
objFileLinks
=
docOpenProps
.
getObjFileLinks
();
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment