Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
A
amos-boot-biz
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
项目统一框架
amos-boot-biz
Commits
a75857ff
Commit
a75857ff
authored
Aug 04, 2023
by
litengwei
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
代码提交
parent
586dc11e
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
0 deletions
+4
-0
ProjectInitiationServiceImpl.java
...le/ugp/biz/service/impl/ProjectInitiationServiceImpl.java
+4
-0
No files found.
amos-boot-system-ugp/amos-boot-module-ugp-biz/src/main/java/com/yeejoin/amos/boot/module/ugp/biz/service/impl/ProjectInitiationServiceImpl.java
View file @
a75857ff
...
...
@@ -226,6 +226,7 @@ public class ProjectInitiationServiceImpl extends BaseService<ProjectInitiationD
Long
extendId
=
-
1L
;
String
taskName
=
""
;
String
roleId
=
orgService
.
getReginParams
().
getRole
().
getSequenceNbr
().
toString
();
System
.
out
.
println
(
roleId
+
"角色ID"
);
JSONObject
object
=
JSON
.
parseObject
(
JSON
.
toJSONString
(
objectd
));
Project
project
=
JSON
.
parseObject
(
JSON
.
toJSONString
(
objectd
),
Project
.
class
);
...
...
@@ -246,8 +247,10 @@ public class ProjectInitiationServiceImpl extends BaseService<ProjectInitiationD
boolean
flag
=
false
;
for
(
Object
o:
jsonArray
){
String
name
=
JSON
.
parseObject
(
JSON
.
toJSONString
(
o
)).
getString
(
"name"
);
System
.
out
.
println
(
name
+
"外层=============="
);
if
(
ProjectInitiationEnum
.
安装开工资料修改
.
getName
().
equals
(
name
)
||
ProjectInitiationEnum
.
设计开工资料修改
.
getName
().
equals
(
name
)
){
dataObject
=
JSON
.
parseObject
(
JSON
.
toJSONString
(
o
));
AjaxResult
taskGroupName
=
Workflow
.
taskClient
.
getTaskGroupName
(
String
.
valueOf
(
JSON
.
parseObject
(
JSON
.
toJSONString
(
o
)).
getString
(
"id"
)));
if
(!
ObjectUtils
.
isEmpty
(
taskGroupName
))
{
JSONArray
data2
=
JSON
.
parseArray
(
JSON
.
toJSONString
(
taskGroupName
.
get
(
"data"
)));
...
...
@@ -268,6 +271,7 @@ public class ProjectInitiationServiceImpl extends BaseService<ProjectInitiationD
}
if
(
ProjectInitiationEnum
.
安装负责人指定项目资料员
.
getName
().
equals
(
name
)
||
ProjectInitiationEnum
.
设计负责人指定项目资料员
.
getName
().
equals
(
name
)
){
System
.
out
.
println
(
name
+
"外层=============="
);
dataObject
=
JSON
.
parseObject
(
JSON
.
toJSONString
(
o
));
AjaxResult
taskGroupName
=
Workflow
.
taskClient
.
getTaskGroupName
(
String
.
valueOf
(
JSON
.
parseObject
(
JSON
.
toJSONString
(
o
)).
getString
(
"id"
)));
if
(!
ObjectUtils
.
isEmpty
(
taskGroupName
))
{
...
...
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