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
804964ea
Commit
804964ea
authored
Nov 21, 2024
by
hezhuozhi
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
更改勘察创建时间
parent
ad8e4a7b
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
7 deletions
+5
-7
SurveyInformationServiceImpl.java
...e/hygf/biz/service/impl/SurveyInformationServiceImpl.java
+5
-7
No files found.
amos-boot-system-jxiop/amos-boot-module-hygf-biz/src/main/java/com/yeejoin/amos/boot/module/hygf/biz/service/impl/SurveyInformationServiceImpl.java
View file @
804964ea
...
...
@@ -199,12 +199,7 @@ public class SurveyInformationServiceImpl
surveyInformation
.
setReview
(
0
);
if
(
OPERATION_TYPE_APPLY
.
equals
(
operationType
)
&&
null
==
surveyInformation
.
getCreatorTime
())
{
Date
date
=
new
Date
();
surveyInformation
.
setCreatorTime
(
date
);
//更新勘察创建时间
LambdaUpdateWrapper
<
PowerStation
>
wrapper
=
new
LambdaUpdateWrapper
<>();
wrapper
.
set
(
PowerStation:
:
getKcCreateTime
,
date
).
eq
(
PowerStation:
:
getSequenceNbr
,
powerStation
.
getSequenceNbr
());
powerStationMapper
.
update
(
null
,
wrapper
);
surveyInformation
.
setCreatorTime
(
new
Date
());
}
this
.
saveOrUpdate
(
surveyInformation
);
...
...
@@ -453,7 +448,10 @@ public class SurveyInformationServiceImpl
powerStation
.
setTechnologyStatus
(
""
);
powerStation
.
setDesignStatus
(
""
);
powerStation
.
setBusinessStatus
(
""
);
SurveyInformation
surveyInformation
=
this
.
baseMapper
.
selectById
(
peasantHousehold
.
getSurveyInformationId
());
if
(
Objects
.
nonNull
(
surveyInformation
)){
powerStation
.
setKcCreateTime
(
surveyInformation
.
getCreatorTime
());
}
powerStationService
.
savePowerStation
(
powerStation
,
true
,
powerStation
.
getOwnersName
(),
""
);
//
...
...
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