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
04dd6cd2
Commit
04dd6cd2
authored
Oct 23, 2024
by
wei
🎱
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
提交审阅(内部接口申请,提资,工程部外来文件流程模板,工程部外来文件流程模板)4类暂无
parent
59c2174b
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
131 additions
and
14 deletions
+131
-14
Constants.java
.../java/com/inet/dcs/document/core/constants/Constants.java
+95
-0
ExtDxDocumentServiceImpl.java
...nt/core/service/impl/expand/ExtDxDocumentServiceImpl.java
+36
-14
No files found.
inet-doc-expand-core/src/main/java/com/inet/dcs/document/core/constants/Constants.java
View file @
04dd6cd2
...
...
@@ -530,4 +530,99 @@ public class Constants {
public
static
final
Map
<
String
,
String
>
INCOMING_DISPATCHES_MAP
=
new
HashMap
<
String
,
String
>()
{{
put
(
"IncomingDispatches"
,
"外部收文"
);
}};
/**
* 内部接口申请流程:接口申请审核流程模板
*/
public
static
final
Map
<
String
,
String
>
INTERFACE_WF_ONE_MAP
=
new
HashMap
<
String
,
String
>()
{{
put
(
"InternalInterface"
,
"内部接口申请流程"
);
}};
/**
* 内部接口提资流程:接口提资审核流程
*/
public
static
final
Map
<
String
,
String
>
INTERFACE_WF_TWO_MAP
=
new
HashMap
<
String
,
String
>()
{{
put
(
"InternalInterface"
,
"内部接口提资流程"
);
}};
/**
* 设计输入资料表流程模板
*/
public
static
final
Map
<
String
,
String
>
DESIGN_ENTER_MAP
=
new
HashMap
<
String
,
String
>()
{{
put
(
"DesignEnter"
,
"设计输入"
);
}};
/**
* 设计变更流程模板
*/
public
static
final
Map
<
String
,
String
>
DCR_WF_MAP
=
new
HashMap
<
String
,
String
>()
{{
put
(
"DcrWF"
,
"设计变更"
);
}};
/**
* 设计澄清单流程模板
*/
public
static
final
Map
<
String
,
String
>
DEN_MAP
=
new
HashMap
<
String
,
String
>()
{{
put
(
"DEN"
,
"设计澄清单"
);
}};
/**
* 技术联系单流程模板
*/
public
static
final
Map
<
String
,
String
>
CONTACT_LIST_MAP
=
new
HashMap
<
String
,
String
>()
{{
put
(
"ContactList"
,
"技术联系单流程模板"
);
}};
/**
* 对外发送申请表流程模板
*/
public
static
final
Map
<
String
,
String
>
DESIGN_DOC_APPLICAT_MAP
=
new
HashMap
<
String
,
String
>()
{{
put
(
"DesignDocApplicat"
,
"设计文件需求申请表"
);
}};
/**
* 评审会议资料流程模板
*/
public
static
final
Map
<
String
,
String
>
MEETING_MATERIALS_MAP
=
new
HashMap
<
String
,
String
>()
{{
put
(
"BiddingDocReview"
,
"招标文件评审"
);
put
(
"ExternalReview"
,
"外部评审"
);
put
(
"InternalReview"
,
"内部评审"
);
}};
/**
* 工程部文件会议纪要流程模板
*/
public
static
final
Map
<
String
,
String
>
ENGINEER_MEETING_MATERIALS_MAP
=
new
HashMap
<
String
,
String
>()
{{
put
(
"WorkingMeeting"
,
"工程会议"
);
put
(
"EngineerDepartMeeting"
,
"工程部例会"
);
}};
/**
* NCR流程模板
*/
public
static
final
Map
<
String
,
String
>
NCR_MAP
=
new
HashMap
<
String
,
String
>()
{{
put
(
"NCR"
,
"不符合项处理单"
);
}};
/**
* 工作联系单流程模板
*/
public
static
final
Map
<
String
,
String
>
WORK_CONTACT_LIST_MAP
=
new
HashMap
<
String
,
String
>()
{{
put
(
"WorkContactList"
,
"工作联系单"
);
}};
/**
* 工程部外来文件流程模板
*/
public
static
final
Map
<
String
,
String
>
FOREIGN_DOC_MAP
=
new
HashMap
<
String
,
String
>()
{{
put
(
"ForeignDoc"
,
"外来文件"
);
}};
/**
* 工程部外来文件流程模板
*/
public
static
final
Map
<
String
,
String
>
QUALIFIED_SUPPLIERS_MAP
=
new
HashMap
<
String
,
String
>()
{{
put
(
"QualifiedSuppliers"
,
"合格供方名录"
);
}};
}
inet-doc-expand-core/src/main/java/com/inet/dcs/document/core/service/impl/expand/ExtDxDocumentServiceImpl.java
View file @
04dd6cd2
...
...
@@ -116,26 +116,48 @@ public class ExtDxDocumentServiceImpl<V extends DxDocumentVO> extends DocumentSe
if
(
Constants
.
INCOMING_DISPATCHES_MAP
.
containsKey
(
subTypeName
))
{
return
"IncomingDispatchesWF"
;
}
if
(
Constants
.
EXT_DOC_WF_MAP
.
containsKey
(
subTypeName
))
{
return
"ExtDocWF"
;
// 内部接口申请流程:接口申请审核流程模板(暂无)
if
(
Constants
.
INTERFACE_WF_ONE_MAP
.
containsKey
(
subTypeName
))
{
return
Constants
.
INTERFACE_WF_ONE
;
}
if
(
Constants
.
EXT_DOC_WF_MAP
.
containsKey
(
subTypeName
))
{
return
"ExtDocWF"
;
// 内部接口提资流程:接口提资审核流程(暂无)
if
(
Constants
.
INTERFACE_WF_TWO_MAP
.
containsKey
(
subTypeName
))
{
return
Constants
.
INTERFACE_WF_TWO
;
}
if
(
Constants
.
EXT_DOC_WF
_MAP
.
containsKey
(
subTypeName
))
{
return
"
ExtDoc
WF"
;
if
(
Constants
.
DESIGN_ENTER
_MAP
.
containsKey
(
subTypeName
))
{
return
"
DesignInput
WF"
;
}
if
(
Constants
.
EXT_DOC
_WF_MAP
.
containsKey
(
subTypeName
))
{
return
"
ExtDoc
WF"
;
if
(
Constants
.
DCR
_WF_MAP
.
containsKey
(
subTypeName
))
{
return
"
Dcr
WF"
;
}
if
(
Constants
.
EXT_DOC_WF
_MAP
.
containsKey
(
subTypeName
))
{
return
"
ExtDoc
WF"
;
if
(
Constants
.
DEN
_MAP
.
containsKey
(
subTypeName
))
{
return
"
DEN
WF"
;
}
if
(
Constants
.
EXT_DOC_WF
_MAP
.
containsKey
(
subTypeName
))
{
return
"
ExtDoc
WF"
;
if
(
Constants
.
CONTACT_LIST
_MAP
.
containsKey
(
subTypeName
))
{
return
"
SkillContract
WF"
;
}
if
(
Constants
.
EXT_DOC_WF_MAP
.
containsKey
(
subTypeName
))
{
return
"ExtDocWF"
;
if
(
Constants
.
DESIGN_DOC_APPLICAT_MAP
.
containsKey
(
subTypeName
))
{
return
"SendOutFormWF"
;
}
if
(
Constants
.
MEETING_MATERIALS_MAP
.
containsKey
(
subTypeName
))
{
return
"MeetingMaterialsWF"
;
}
if
(
Constants
.
ENGINEER_MEETING_MATERIALS_MAP
.
containsKey
(
subTypeName
))
{
return
"EngineerMeetingWF"
;
}
if
(
Constants
.
NCR_MAP
.
containsKey
(
subTypeName
))
{
return
"NcrWF"
;
}
if
(
Constants
.
WORK_CONTACT_LIST_MAP
.
containsKey
(
subTypeName
))
{
return
"WorkContractWF"
;
}
// 暂无此流程模板
if
(
Constants
.
FOREIGN_DOC_MAP
.
containsKey
(
subTypeName
))
{
return
"ForeignDocWF"
;
}
// 暂无此流程模板
if
(
Constants
.
QUALIFIED_SUPPLIERS_MAP
.
containsKey
(
subTypeName
))
{
return
"QualifiedSuppliersWF"
;
}
return
null
;
}
...
...
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