Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in
Toggle navigation
Z
zlmy-cloud
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
zlmy
zlmy-cloud
Commits
2e5929a1
Commit
2e5929a1
authored
Oct 17, 2025
by
鲁鸿波
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
东北港口流程图按部门调整成两个
parent
a7a8c18e
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
16 additions
and
2 deletions
+16
-2
THazardWorkPlanServiceImpl.java
...odule/hazard/service/impl/THazardWorkPlanServiceImpl.java
+15
-1
NewSysOrgServiceImpl.java
.../testor/module/sys/service/impl/NewSysOrgServiceImpl.java
+1
-1
No files found.
zlmy-modules/zlmy-boot/src/main/java/com/testor/module/hazard/service/impl/THazardWorkPlanServiceImpl.java
View file @
2e5929a1
...
...
@@ -382,7 +382,7 @@ public class THazardWorkPlanServiceImpl extends SuperServiceImpl<THazardWorkPlan
String
workTypeValue
=
sysDictData
.
getDictKey
();
String
processDefinitionKey
=
""
;
if
(
orgTypeByOrgId
==
0
)
{
/*
if (orgTypeByOrgId == 0) {
if (WorkTypeEnum.CONFINED_SPACE_WORK.getValue().equals(workTypeValue)) {
processDefinitionKey = "hazardousTaskConfinedSpace";
} else if (WorkTypeEnum.CIRCULATING_FUMIGATION.getValue().equals(workTypeValue)) {
...
...
@@ -404,6 +404,20 @@ public class THazardWorkPlanServiceImpl extends SuperServiceImpl<THazardWorkPlan
} else {
processDefinitionKey = "hazardousTaskBLOrg";
}
}*/
if
(
orgTypeByOrgId
==
0
)
{
if
(
WorkTypeEnum
.
CONFINED_SPACE_WORK
.
getValue
().
equals
(
workTypeValue
))
{
processDefinitionKey
=
"hazardousTaskConfinedSpace"
;
}
else
if
(
WorkTypeEnum
.
CIRCULATING_FUMIGATION
.
getValue
().
equals
(
workTypeValue
))
{
processDefinitionKey
=
"hazardousTaskStifling"
;
}
else
{
processDefinitionKey
=
"hazardousTaskCommon"
;
}
}
else
if
(
orgTypeByOrgId
==
1
)
{
processDefinitionKey
=
"BL1"
;
}
else
if
(
orgTypeByOrgId
==
2
)
{
processDefinitionKey
=
"BL2"
;
}
processInsStartParams
.
setProcessDefinitionKey
(
processDefinitionKey
);
processInsStartParams
.
setOrgId
(
tHazardWorkPlan
.
getOrgId
());
...
...
zlmy-modules/zlmy-boot/src/main/java/com/testor/module/sys/service/impl/NewSysOrgServiceImpl.java
View file @
2e5929a1
...
...
@@ -261,7 +261,7 @@ public class NewSysOrgServiceImpl extends SuperServiceImpl<NewSysOrgDao, NewSysO
@Override
public
Integer
getOrgTypeByOrgId
(
String
orgId
)
{
TSysConfig
tSysConfig
=
tSysConfigService
.
getOne
(
new
QueryWrapper
<
TSysConfig
>().
like
(
"config_value"
,
orgId
));
TSysConfig
tSysConfig
=
tSysConfigService
.
getOne
(
new
QueryWrapper
<
TSysConfig
>().
like
(
"config_value"
,
orgId
)
.
eq
(
"status"
,
0
)
);
if
(
ObjectHelper
.
isNotEmpty
(
tSysConfig
))
{
String
configKey
=
tSysConfig
.
getConfigKey
();
if
(
configKey
.
equals
(
"sys.beiliang.depts"
))
{
...
...
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