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
78303568
Commit
78303568
authored
Jan 03, 2025
by
hezhuozhi
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
优化农户注册
parent
f0c466cb
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
3 deletions
+2
-3
PeasantHouseholdServiceImpl.java
...le/hygf/biz/service/impl/PeasantHouseholdServiceImpl.java
+2
-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/PeasantHouseholdServiceImpl.java
View file @
78303568
...
@@ -158,9 +158,8 @@ public class PeasantHouseholdServiceImpl extends BaseService<PeasantHouseholdDto
...
@@ -158,9 +158,8 @@ public class PeasantHouseholdServiceImpl extends BaseService<PeasantHouseholdDto
log
.
info
(
"校验通过生成平台账号"
);
log
.
info
(
"校验通过生成平台账号"
);
//注册并登录 生成农户信息表数据
//注册并登录 生成农户信息表数据
PeasantHouseholdWxDto
peasantHouseholdWxDto
=
this
.
registerAndLogin
(
mobileLoginParam
);
PeasantHouseholdWxDto
peasantHouseholdWxDto
=
this
.
registerAndLogin
(
mobileLoginParam
);
household
=
peasantHouseholdWxDto
.
getPeasantHousehold
();
BeanDtoUtils
.
copyPropertiesAllNonNull
(
household
,
model
);
BeanDtoUtils
.
copyPropertiesAllNonNull
(
peasantHouseholdWxDto
.
getPeasantHousehold
()
,
model
);
log
.
info
(
"生成农户属性"
);
log
.
info
(
"生成农户属性"
);
model
.
setPeasantHouseholdNo
(
this
.
getPeasantHouseholdNo
(
model
.
getRegionalCompaniesSeq
()));
model
.
setPeasantHouseholdNo
(
this
.
getPeasantHouseholdNo
(
model
.
getRegionalCompaniesSeq
()));
model
.
setIsCertified
(
1
);
// 这里就实名认证
model
.
setIsCertified
(
1
);
// 这里就实名认证
...
@@ -580,7 +579,7 @@ public class PeasantHouseholdServiceImpl extends BaseService<PeasantHouseholdDto
...
@@ -580,7 +579,7 @@ public class PeasantHouseholdServiceImpl extends BaseService<PeasantHouseholdDto
PeasantHousehold
peasantHousehold
=
peasantHouseholds
.
size
()
>
0
?
peasantHouseholds
.
get
(
0
)
:
null
;
PeasantHousehold
peasantHousehold
=
peasantHouseholds
.
size
()
>
0
?
peasantHouseholds
.
get
(
0
)
:
null
;
if
(
null
==
peasantHousehold
)
{
if
(
null
==
peasantHousehold
)
{
peasantHousehold
=
new
PeasantHousehold
();
peasantHousehold
=
new
PeasantHousehold
();
BeanUtils
.
copyProperties
(
peasantHousehold
,
wxDTO
.
getPeasantHouseholdDto
()
);
BeanUtils
.
copyProperties
(
wxDTO
.
getPeasantHouseholdDto
(),
peasantHousehold
);
peasantHousehold
.
setIsCertified
(
0
);
peasantHousehold
.
setIsCertified
(
0
);
peasantHousehold
.
setSurveyOrNot
(
0
);
peasantHousehold
.
setSurveyOrNot
(
0
);
peasantHousehold
.
setReview
(
0
);
peasantHousehold
.
setReview
(
0
);
...
...
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