Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
X
xyqb-user2
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
Labels
Milestones
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
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
head_group
xyqb-user2
Commits
3d29a3b4
Commit
3d29a3b4
authored
Aug 07, 2017
by
Java—红包—徐 然
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'master' into feature/huanguguan
parents
437c6479
7cd054cb
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
41 additions
and
8 deletions
+41
-8
InnerController.java
...tgroup/xyqb/controller/external/user/InnerController.java
+40
-7
xyqb.properties
src/main/resources/config/dev/xyqb.properties
+1
-1
No files found.
src/main/java/cn/quantgroup/xyqb/controller/external/user/InnerController.java
View file @
3d29a3b4
...
...
@@ -451,9 +451,15 @@ public class InnerController implements IBaseController {
if
(
hasCar
!=
null
)
{
info
.
setHasCar
(
hasCar
);
}
if
(
has
SocialSecurity
!=
null
)
{
if
(
has
CreditCard
!=
null
)
{
info
.
setHasCreditCard
(
hasCreditCard
);
}
if
(
hasSocialSecurity
!=
null
)
{
info
.
setHasSocialSecurity
(
hasSocialSecurity
);
}
if
(
hasHouse
!=
null
)
{
info
.
setHasHouse
(
hasHouse
);
}
...
...
@@ -542,10 +548,24 @@ public class InnerController implements IBaseController {
bean
.
setProvince
(
address
.
getProvince
());
}
if
(
null
!=
extInfo
)
{
if
(
null
==
extInfo
.
getEducationEnum
()){
bean
.
setEducationEnum
(
cn
.
quantgroup
.
user
.
enums
.
EducationEnum
.
UNKNOWN
.
getName
());
}
else
{
bean
.
setEducationEnum
(
extInfo
.
getEducationEnum
().
getName
());
}
if
(
null
==
extInfo
.
getOccupationEnum
()){
bean
.
setOccupationEnum
(
cn
.
quantgroup
.
user
.
enums
.
OccupationEnum
.
UNKNOWN
.
getName
());
}
else
{
bean
.
setOccupationEnum
(
extInfo
.
getOccupationEnum
().
getName
());
}
if
(
null
==
extInfo
.
getMarryStatus
()){
bean
.
setMarryStatus
(
cn
.
quantgroup
.
user
.
enums
.
MaritalStatus
.
UNKNOWN
.
getDescription
());
}
else
{
bean
.
setMarryStatus
(
extInfo
.
getMarryStatus
().
getDescription
());
}
}
if
(
org
.
apache
.
commons
.
collections
.
CollectionUtils
.
isNotEmpty
(
contacts
))
{
List
<
XContactInfo
>
userContacts
=
contacts2ContactRets
(
contacts
);
bean
.
setContractResults
(
userContacts
);
...
...
@@ -580,10 +600,23 @@ public class InnerController implements IBaseController {
bean
.
setProvince
(
address
.
getProvince
());
}
if
(
null
!=
extInfo
)
{
if
(
null
==
extInfo
.
getEducationEnum
()){
bean
.
setEducationEnum
(
cn
.
quantgroup
.
user
.
enums
.
EducationEnum
.
UNKNOWN
.
getName
());
}
else
{
bean
.
setEducationEnum
(
extInfo
.
getEducationEnum
().
getName
());
}
if
(
null
==
extInfo
.
getOccupationEnum
()){
bean
.
setOccupationEnum
(
cn
.
quantgroup
.
user
.
enums
.
OccupationEnum
.
UNKNOWN
.
getName
());
}
else
{
bean
.
setOccupationEnum
(
extInfo
.
getOccupationEnum
().
getName
());
}
if
(
null
==
extInfo
.
getMarryStatus
()){
bean
.
setMarryStatus
(
cn
.
quantgroup
.
user
.
enums
.
MaritalStatus
.
UNKNOWN
.
getDescription
());
}
else
{
bean
.
setMarryStatus
(
extInfo
.
getMarryStatus
().
getDescription
());
}
}
if
(
org
.
apache
.
commons
.
collections
.
CollectionUtils
.
isNotEmpty
(
contacts
))
{
List
<
XContactInfo
>
userContacts
=
contacts2ContactRets
(
contacts
);
bean
.
setContractResults
(
userContacts
);
...
...
src/main/resources/config/dev/xyqb.properties
View file @
3d29a3b4
...
...
@@ -81,7 +81,7 @@ protocol.contentLength=1048576
protocol.isDefault
=
true
#motan registry center
registry.protocol
=
zookeeper
registry.address
=
192.168.4.
163
:2181
registry.address
=
192.168.4.
22
:2181
motan.port
=
8086
motan.user.group
=
userGroup
motan.user.module
=
user-motan-rpc
...
...
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