Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
A
amos-boot-zx-biz
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
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
Jobs
Commits
Open sidebar
项目统一框架
一体化_户用光伏项目代码
amos-boot-zx-biz
Commits
a7355ff8
Commit
a7355ff8
authored
Aug 29, 2024
by
hezhuozhi
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
处理编辑详情
parent
9bfadd63
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
5 deletions
+5
-5
WorkOrderServiceImpl.java
...ot/module/hygf/biz/service/impl/WorkOrderServiceImpl.java
+5
-5
No files found.
amos-boot-system-jxiop/amos-boot-module-hygf-biz/src/main/java/com/yeejoin/amos/boot/module/hygf/biz/service/impl/WorkOrderServiceImpl.java
View file @
a7355ff8
...
...
@@ -1402,6 +1402,11 @@ public class WorkOrderServiceImpl extends BaseService<WorkOrderDto, WorkOrder, W
@Transactional
(
rollbackFor
=
Exception
.
class
)
public
void
updateDetail
(
PowerStationEngineeringInfoAllDto
powerStationEngineeringInfoAllDto
,
String
userId
)
{
//更新施工信息
PowerStationConstructionData
powerStationConstructionData
=
powerStationEngineeringInfoAllDto
.
getPowerStationConstructionData
();
if
(
Objects
.
nonNull
(
powerStationConstructionData
)){
powerStationConstructionDataMapper
.
updateById
(
powerStationConstructionData
);
}
//更新工程
PowerStationEngineeringInfo
powerStationEngineeringInfo
=
powerStationEngineeringInfoAllDto
.
getPowerStationEngineeringInfo
();
if
(
Objects
.
nonNull
(
powerStationEngineeringInfo
)){
...
...
@@ -1424,11 +1429,6 @@ public class WorkOrderServiceImpl extends BaseService<WorkOrderDto, WorkOrder, W
upl
.
eq
(
WorkOrder:
:
getSequenceNbr
,
powerStationEngineeringInfo
.
getWorkOrderId
());
workOrderMapper
.
update
(
null
,
upl
);
}
//更新施工信息
PowerStationConstructionData
powerStationConstructionData
=
powerStationEngineeringInfoAllDto
.
getPowerStationConstructionData
();
if
(
Objects
.
nonNull
(
powerStationConstructionData
)){
powerStationConstructionDataMapper
.
updateById
(
powerStationConstructionData
);
}
//更新并网信息
HygfOnGrid
hygfOnGrid
=
powerStationEngineeringInfoAllDto
.
getHygfOnGrid
();
if
(
Objects
.
nonNull
(
hygfOnGrid
)){
...
...
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