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
3ecb2b01
Commit
3ecb2b01
authored
Jun 20, 2024
by
朱晨阳
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修改字段
parent
5ead37be
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
17 additions
and
8 deletions
+17
-8
WorkOrderServiceImpl.java
...ot/module/hygf/biz/service/impl/WorkOrderServiceImpl.java
+17
-8
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 @
3ecb2b01
...
...
@@ -615,20 +615,15 @@ public class WorkOrderServiceImpl extends BaseService<WorkOrderDto,WorkOrder,Wor
}
else
{
surveyInfoAllDto
.
setSurveyDetails
(
BeanDtoUtils
.
convert
(
surveyDetails
,
SurveyDetailsDto
.
class
));
}
QueryWrapper
<
Information
>
informationQueryWrapper
=
new
QueryWrapper
<>();
informationQueryWrapper
.
eq
(
"survey_information_id"
,
surveyInformationId
);
Information
information
=
informationService
.
getBaseMapper
().
selectOne
(
informationQueryWrapper
);
if
(
information
==
null
){
surveyInfoAllDto
.
setInformation
(
new
InformationDto
());
}
else
{
surveyInfoAllDto
.
setInformation
(
BeanDtoUtils
.
convert
(
information
,
InformationDto
.
class
));
}
// 商务信息
QueryWrapper
<
Commercial
>
commercialQueryWrapper
=
new
QueryWrapper
<>();
commercialQueryWrapper
.
eq
(
"survey_information_id"
,
surveyInformationId
);
Commercial
commercial
=
commercialService
.
getBaseMapper
().
selectOne
(
commercialQueryWrapper
);
if
(
commercial
==
null
){
commercial
=
new
Commercial
();
}
commercial
.
setApplicant
(
peasantHousehold
.
getOwnersName
());
commercial
.
setIdCard
(
peasantHousehold
.
getIdCard
());
commercial
.
setTelephone
(
peasantHousehold
.
getTelephone
());
...
...
@@ -636,6 +631,20 @@ public class WorkOrderServiceImpl extends BaseService<WorkOrderDto,WorkOrder,Wor
commercial
.
setProjectAddressName
(
peasantHousehold
.
getProjectAddressName
());
commercial
.
setProjectAddressDetail
(
peasantHousehold
.
getProjectAddressDetail
());
commercial
.
setLegalContactTelephone
(
peasantHousehold
.
getTelephone
());
// 资料归档
QueryWrapper
<
Information
>
informationQueryWrapper
=
new
QueryWrapper
<>();
informationQueryWrapper
.
eq
(
"survey_information_id"
,
surveyInformationId
);
Information
information
=
informationService
.
getBaseMapper
().
selectOne
(
informationQueryWrapper
);
if
(
information
==
null
){
surveyInfoAllDto
.
setInformation
(
new
InformationDto
());
}
else
{
// 将商务信息的房产证明文件数据赋值给资料归档的房产证明文件
information
.
setCardFile
(
commercial
.
getRealEstateLegal
());
surveyInfoAllDto
.
setInformation
(
BeanDtoUtils
.
convert
(
information
,
InformationDto
.
class
));
}
if
(
information
==
null
){
CommercialDto
commercialDto
=
BeanDtoUtils
.
convert
(
commercial
,
CommercialDto
.
class
);
commercialDto
.
setType
(
"zrr"
);
...
...
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