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
85dd3014
Commit
85dd3014
authored
Nov 14, 2022
by
wanglong
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
增加资料提交的保存
parent
be4daecb
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
7 additions
and
4 deletions
+7
-4
ProjectResourceServiceImpl.java
...dule/ugp/biz/service/impl/ProjectResourceServiceImpl.java
+2
-1
ProjectServiceImpl.java
.../boot/module/ugp/biz/service/impl/ProjectServiceImpl.java
+5
-3
No files found.
amos-boot-system-ugp/amos-boot-module-ugp-biz/src/main/java/com/yeejoin/amos/boot/module/ugp/biz/service/impl/ProjectResourceServiceImpl.java
View file @
85dd3014
...
...
@@ -178,7 +178,8 @@ public class ProjectResourceServiceImpl extends BaseService<ProjectResourceDto,P
projectResource
.
setResourceId
(
Long
.
valueOf
(
select
));
BeanUtils
.
copyProperties
(
projectResource
,
Resource
);
boolean
save
=
this
.
save
(
projectResource
);
if
(
save
||
type
.
equals
(
设备资源
.
getName
()))
{
//判断
if
(
save
&&
type
.
equals
(
设备资源
.
getName
()))
{
LambdaQueryWrapper
<
Equipment
>
wrapperEquipment
=
new
LambdaQueryWrapper
<>();
wrapperEquipment
.
eq
(
BaseEntity:
:
getSequenceNbr
,
select
);
Equipment
equipment
=
new
Equipment
();
...
...
amos-boot-system-ugp/amos-boot-module-ugp-biz/src/main/java/com/yeejoin/amos/boot/module/ugp/biz/service/impl/ProjectServiceImpl.java
View file @
85dd3014
...
...
@@ -214,9 +214,11 @@ public class ProjectServiceImpl extends BaseService<ProjectDto, Project, Project
install
=
true
;
}
}
if
(
design
&&
install
){
projectInitiationService
.
execute
(
project
.
getInstanceId
(),
projectDto
,
"1"
);
String
type
=
jsonObject
.
getString
(
"type"
);
if
(
type
!=
null
)
{
if
(
design
&&
install
)
{
projectInitiationService
.
execute
(
project
.
getInstanceId
(),
projectDto
,
"1"
);
}
}
return
"ok"
;
}
...
...
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