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
66253206
Commit
66253206
authored
Oct 22, 2024
by
wei
🎱
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
提交审阅文档签审流程模板
parent
dc6a2659
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
56 additions
and
2 deletions
+56
-2
Constants.java
.../java/com/inet/dcs/document/core/constants/Constants.java
+49
-0
ExtDxDocumentServiceImpl.java
...nt/core/service/impl/expand/ExtDxDocumentServiceImpl.java
+7
-2
No files found.
inet-doc-expand-core/src/main/java/com/inet/dcs/document/core/constants/Constants.java
View file @
66253206
...
...
@@ -467,4 +467,53 @@ public class Constants {
put
(
"PotSupplierQuestion"
,
"潜在供方调查表"
);
put
(
"EngineeOther"
,
"其他"
);
}};
/**
* 文档签审流程模板
*/
public
static
final
Map
<
String
,
String
>
EXT_DOC_WF_MAP
=
new
HashMap
<
String
,
String
>()
{{
put
(
"PermitApplicat"
,
"许可证申请"
);
put
(
"SpecialProblemAnalysis"
,
"专项问题分析"
);
put
(
"SummaryReport"
,
"试验总结报告"
);
put
(
"ReviewQuestion"
,
"评审问题回答"
);
put
(
"DesignAtlas"
,
"设计图册"
);
put
(
"InstallAtlas"
,
"安装图册"
);
put
(
"TechnicalConditions"
,
"技术条件"
);
put
(
"AnalysisReport"
,
"分析报告"
);
put
(
"CalculBook"
,
"计算书"
);
put
(
"DesignDescript"
,
"设计说明书"
);
put
(
"AssemblyPartsDiagram"
,
"总装部件图"
);
put
(
"PrincipleDrawing"
,
"原理图"
);
put
(
"PartDrawing"
,
"零件图"
);
put
(
"LayoutDrawings"
,
"布置图"
);
put
(
"OtherTechnicalDoc"
,
"其他技术文件"
);
put
(
"TestFile"
,
"试验文件"
);
put
(
"ProcureDoc"
,
"采购文件"
);
put
(
"NodeAuditFile"
,
"节点审核文件"
);
put
(
"NodeFileSupportMaterial"
,
"节点文件支撑材料"
);
put
(
"DesignParameters"
,
"设计参数汇总"
);
put
(
"SpecialDesignGuide"
,
"专项设计准则及规范"
);
put
(
"AnalysisDesign"
,
"通用质量特性分析设计"
);
put
(
"EngineerConditions"
,
"工程通用技术条件"
);
put
(
"DeviceRating"
,
"设备分级"
);
put
(
"PumpGenericFile"
,
"泵阀通用文件"
);
put
(
"DesignCatalog"
,
"设计文件目录"
);
put
(
"Regulations"
,
"采用的法规或导则或标准清单"
);
put
(
"EquipmentMaterials"
,
"设备材料清单"
);
put
(
"RootTSM"
,
"技术状态管理"
);
put
(
"ClosedLoopMatters"
,
"闭环跟进事项"
);
put
(
"ContractReview"
,
"合同评审"
);
put
(
"SoftwareManage"
,
"软件管理"
);
put
(
"RiskManage"
,
"风险管理"
);
put
(
"DesignInput"
,
"设计输入"
);
put
(
"StandardManage"
,
"标准化管理"
);
put
(
"DesignPlanning"
,
"设计策划"
);
put
(
"DocNumRegulate"
,
"文件或图纸编号规定"
);
put
(
"TmpTSM"
,
"技术状态管理"
);
put
(
"DocPreRegulate"
,
"文件或图纸编制规定"
);
put
(
"DesignDocRegulate"
,
"设计文件管理规定"
);
put
(
"DesignClarify"
,
"设计澄清和更改"
);
put
(
"DesignReview"
,
"设计评审和确认"
);
put
(
"DesignInterface"
,
"设计接口"
);
}};
}
inet-doc-expand-core/src/main/java/com/inet/dcs/document/core/service/impl/expand/ExtDxDocumentServiceImpl.java
View file @
66253206
...
...
@@ -76,7 +76,7 @@ public class ExtDxDocumentServiceImpl<V extends DxDocumentVO> extends DocumentSe
@Override
public
void
beforeUpdate
(
Collection
<
V
>
target
,
Collection
<
V
>
origin
)
{
for
(
V
v
:
target
)
{
documentEvent
.
updateDocListener
(
v
);
//
documentEvent.updateDocListener(v);
}
}
...
...
@@ -97,7 +97,12 @@ public class ExtDxDocumentServiceImpl<V extends DxDocumentVO> extends DocumentSe
if
(!
dxDocumentVO
.
getState
().
equals
(
Constants
.
EDIT
))
{
throw
new
DxBusinessException
(
"500"
,
"该对象不是编制状态"
);
}
wfcProcessFeign
.
startProcessByKey
(
EXT_DOC_WF
,
dxDocumentVO
);
String
subTypeName
=
dxDocumentVO
.
getSubTypeName
();
String
processDefKey
=
""
;
if
(
Constants
.
EXT_DOC_WF_MAP
.
containsKey
(
subTypeName
))
{
processDefKey
=
EXT_DOC_WF
;
}
wfcProcessFeign
.
startProcessByKey
(
processDefKey
,
dxDocumentVO
);
return
this
.
changeStatus
(
dxDocumentVO
.
getId
(),
Constants
.
SUBMIT_REVIEWING
,
true
);
}
...
...
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