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
a119bea2
Commit
a119bea2
authored
Jul 11, 2024
by
chenzhao
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修复农户创建时间
parent
43e6f270
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
4 deletions
+1
-4
PeasantHouseholdServiceImpl.java
...le/hygf/biz/service/impl/PeasantHouseholdServiceImpl.java
+1
-4
No files found.
amos-boot-system-jxiop/amos-boot-module-hygf-biz/src/main/java/com/yeejoin/amos/boot/module/hygf/biz/service/impl/PeasantHouseholdServiceImpl.java
View file @
a119bea2
...
@@ -867,16 +867,13 @@ public class PeasantHouseholdServiceImpl extends BaseService<PeasantHouseholdDto
...
@@ -867,16 +867,13 @@ public class PeasantHouseholdServiceImpl extends BaseService<PeasantHouseholdDto
model
.
setSurveyInformationId
(
surveyInformationDto
.
getSequenceNbr
());
model
.
setSurveyInformationId
(
surveyInformationDto
.
getSequenceNbr
());
model
.
setSurveyOrNot
(
0
);
model
.
setSurveyOrNot
(
0
);
model
.
setReview
(
0
);
model
.
setReview
(
0
);
if
(
model
.
getCreationTime
()
==
null
)
{
model
.
setCreationTime
(
new
Date
());
}
model
.
setPeasantHouseholdNo
(
this
.
getPeasantHouseholdNo
(
model
.
getRegionalCompaniesSeq
()));
model
.
setPeasantHouseholdNo
(
this
.
getPeasantHouseholdNo
(
model
.
getRegionalCompaniesSeq
()));
model
.
setIsCertified
(
model
.
getIsCertified
()
==
null
?
0
:
model
.
getIsCertified
());
// 未认证
model
.
setIsCertified
(
model
.
getIsCertified
()
==
null
?
0
:
model
.
getIsCertified
());
// 未认证
PeasantHousehold
peasantHousehold
=
new
PeasantHousehold
();
PeasantHousehold
peasantHousehold
=
new
PeasantHousehold
();
BeanUtils
.
copyProperties
(
model
,
peasantHousehold
);
BeanUtils
.
copyProperties
(
model
,
peasantHousehold
);
peasantHousehold
.
setSequenceNbr
(
null
);
peasantHousehold
.
setSequenceNbr
(
null
);
peasantHousehold
.
setRecDat
e
(
new
Date
());
model
.
setCreationTim
e
(
new
Date
());
peasantHousehold
.
setConstructionState
(
ArrivalStateeEnum
.
待勘察
.
getCode
());
peasantHousehold
.
setConstructionState
(
ArrivalStateeEnum
.
待勘察
.
getCode
());
this
.
save
(
peasantHousehold
);
this
.
save
(
peasantHousehold
);
//生成合同
//生成合同
...
...
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