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
69de4bbd
Commit
69de4bbd
authored
Jun 26, 2024
by
wujiang
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
提价重复规避
parent
f1f231fe
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
13 additions
and
8 deletions
+13
-8
BasicGridAcceptanceServiceImpl.java
...hygf/biz/service/impl/BasicGridAcceptanceServiceImpl.java
+13
-5
WorkOrderServiceImpl.java
...ot/module/hygf/biz/service/impl/WorkOrderServiceImpl.java
+0
-3
No files found.
amos-boot-system-jxiop/amos-boot-module-hygf-biz/src/main/java/com/yeejoin/amos/boot/module/hygf/biz/service/impl/BasicGridAcceptanceServiceImpl.java
View file @
69de4bbd
...
...
@@ -34,6 +34,8 @@ public class BasicGridAcceptanceServiceImpl
@Autowired
HygfOnGridMapper
onGridMapper
;
@Autowired
HygfOnGridServiceImpl
hygfOnGridServiceImpl
;
@Autowired
PersonnelBusinessMapper
personnelBusinessMapper
;
@Autowired
WorkflowImpl
workflow
;
...
...
@@ -124,11 +126,17 @@ public class BasicGridAcceptanceServiceImpl
peasantHouseholdMapper
.
update
(
null
,
up
);
}
if
(
grid
.
getSequenceNbr
()
!=
null
)
{
onGridMapper
.
updateById
(
grid
);
}
else
{
onGridMapper
.
insert
(
grid
);
}
//防止重复提交
// if (grid.getSequenceNbr() != null) {
// onGridMapper.updateById(grid);
// } else {
// onGridMapper.insert(grid);
// }
LambdaQueryWrapper
<
HygfOnGrid
>
hog
=
new
LambdaQueryWrapper
<>();
hog
.
eq
(
HygfOnGrid:
:
getPeasantHouseholdId
,
grid
.
getPeasantHouseholdId
());
hygfOnGridServiceImpl
.
saveOrUpdate
(
grid
,
hog
);
basicGridAcceptanceMapper
.
updateById
(
basicGridAcceptance
);
//发起待办
...
...
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 @
69de4bbd
...
...
@@ -832,9 +832,6 @@ public class WorkOrderServiceImpl extends BaseService<WorkOrderDto, WorkOrder, W
workOrderMapper
.
update
(
null
,
upq
);
}
// 新增完工登记
PowerStationEngineeringInfo
powerStationEngineeringInfo
=
powerStationEngineeringInfoAllDto
.
getPowerStationEngineeringInfo
();
powerStationEngineeringInfo
.
setWorkOrderId
(
workOrderPowerStation
.
getWorkOrderId
());
...
...
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