Skip to content
Toggle navigation
Projects
Groups
Snippets
Help
yangxiujun
/
paidan_demo
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Snippets
Settings
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit fcc0464e
authored
Dec 01, 2023
by
刘鑫
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix(自有工程师工作地址): 工程师信息表新增工作地址经纬度信息
1 parent
4e2b9dd7
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
1 deletions
project-order/src/main/java/com/dituhui/pea/order/service/impl/BeanRemoteServiceImpl.java
project-order/src/main/java/com/dituhui/pea/order/service/impl/BeanRemoteServiceImpl.java
View file @
fcc0464
...
@@ -244,7 +244,6 @@ public class BeanRemoteServiceImpl {
...
@@ -244,7 +244,6 @@ public class BeanRemoteServiceImpl {
engineerInfo
.
setGender
(
userDetailInfo
.
getGender
());
engineerInfo
.
setGender
(
userDetailInfo
.
getGender
());
engineerInfo
.
setBirth
(
StringUtils
.
isBlank
(
userDetailInfo
.
getBirthday
())
?
""
:
getYear
(
userDetailInfo
.
getBirthday
()));
engineerInfo
.
setBirth
(
StringUtils
.
isBlank
(
userDetailInfo
.
getBirthday
())
?
""
:
getYear
(
userDetailInfo
.
getBirthday
()));
engineerInfo
.
setAddress
(
""
);
engineerInfo
.
setPhone
(
userDetailInfo
.
getCellPhone
());
engineerInfo
.
setPhone
(
userDetailInfo
.
getCellPhone
());
engineerInfo
.
setKind
(
1
==
userDetailInfo
.
getPartTimeRepair
()
?
2
:
1
);
engineerInfo
.
setKind
(
1
==
userDetailInfo
.
getPartTimeRepair
()
?
2
:
1
);
engineerInfo
.
setGrade
(
Objects
.
isNull
(
userDetailInfo
.
getGrade
())
?
""
:
userDetailInfo
.
getGrade
());
engineerInfo
.
setGrade
(
Objects
.
isNull
(
userDetailInfo
.
getGrade
())
?
""
:
userDetailInfo
.
getGrade
());
...
@@ -256,7 +255,10 @@ public class BeanRemoteServiceImpl {
...
@@ -256,7 +255,10 @@ public class BeanRemoteServiceImpl {
//fixme 工作地址存贮
//fixme 工作地址存贮
if
(
Objects
.
nonNull
(
address
))
{
if
(
Objects
.
nonNull
(
address
))
{
engineerInfo
.
setAddress
(
address
.
getAddress
());
engineerInfo
.
setWorkAddress
(
address
.
getAddress
());
engineerInfo
.
setWorkAddress
(
address
.
getAddress
());
engineerInfo
.
setWorkX
(
Objects
.
isNull
(
address
.
getLongitude
())
?
""
:
String
.
valueOf
(
address
.
getLongitude
()));
engineerInfo
.
setWorkY
(
Objects
.
isNull
(
address
.
getLatitude
())
?
""
:
String
.
valueOf
(
address
.
getLatitude
()));
}
else
{
}
else
{
engineerInfo
.
setWorkAddress
(
""
);
engineerInfo
.
setWorkAddress
(
""
);
}
}
...
...
Write
Preview
Markdown
is supported
Attach a file
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 post a comment