Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in / Register
Toggle navigation
Y
yifu-mvp
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
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
fangxinjiang
yifu-mvp
Commits
3a9f4e78
Commit
3a9f4e78
authored
Nov 18, 2025
by
hongguangwu
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
MVP1.7.17-商险续签待办3
parent
8f3a4259
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
52 additions
and
1 deletion
+52
-1
SocialFriendConfig.java
.../cloud/plus/v1/yifu/social/config/SocialFriendConfig.java
+52
-1
No files found.
yifu-social/yifu-social-biz/src/main/java/com/yifu/cloud/plus/v1/yifu/social/config/SocialFriendConfig.java
View file @
3a9f4e78
...
...
@@ -636,7 +636,58 @@ public class SocialFriendConfig {
try
{
// 组装返回结果
List
<
FriendResult
>
resultList
=
new
ArrayList
<>();
getResultToVo
(
dataResultList
,
resultList
);
if
(
Common
.
isNotNull
(
dataResultList
))
{
JSONObject
dataObject
=
JSON
.
parseObject
(
dataResultList
);
String
head
=
dataObject
.
getString
(
"head"
);
if
(
Common
.
isNotNull
(
head
))
{
JSONObject
headObject
=
JSON
.
parseObject
(
head
);
String
status
=
headObject
.
getString
(
"status"
);
if
(
"Y"
.
equals
(
status
))
{
String
body
=
dataObject
.
getString
(
"body"
);
JSONObject
bodyObject
=
JSON
.
parseObject
(
body
);
// 获取核心结果
if
(
Common
.
isNotNull
(
bodyObject
))
{
// 人员办理项目结果
JSONArray
ryywbljglbArr
=
(
JSONArray
)
bodyObject
.
get
(
"ryywbljglb"
);
if
(
Common
.
isNotNull
(
ryywbljglbArr
))
{
// 注意:此处可以返回多条身份证,但是我们单条提交
JSONObject
ryywbljglb
;
FriendResult
result
;
String
idCard
;
JSONArray
blxmjglbArr
;
JSONObject
blxmjglb
;
String
zt
;
String
cwxx
;
for
(
int
i
=
0
;
i
<
ryywbljglbArr
.
size
();
i
++)
{
ryywbljglb
=
(
JSONObject
)
ryywbljglbArr
.
get
(
i
);
result
=
new
FriendResult
();
// 身份证
idCard
=
ryywbljglb
.
getString
(
"zzhm"
);
result
.
setIdCard
(
idCard
);
// 办理项目列表
blxmjglbArr
=
(
JSONArray
)
ryywbljglb
.
get
(
"blxmjglb"
);
if
(
Common
.
isNotNull
(
blxmjglbArr
))
{
// 注意:此处可以返回多条办理,但是我们社保与医保分开提交
blxmjglb
=
(
JSONObject
)
blxmjglbArr
.
get
(
0
);
// 状态1-处理中,2-处理成功,3-处理失败,4-待办(提交成功,待网厅状态流转,上海特有)
zt
=
blxmjglb
.
getString
(
"zt"
);
result
.
setZt
(
zt
);
// 明细状态:提交失败、审核失败、审核成功、待确认
//String mxzt = blxmjglb.getString("mxzt")
// 提示或者错误信息 SUCCESS
cwxx
=
blxmjglb
.
getString
(
"cwxx"
);
if
(
Common
.
isEmpty
(
cwxx
))
{
return
"requestId:"
+
requestId
+
"。详情:"
+
JSON
.
toJSONString
(
blxmjglb
);
}
result
.
setCwxx
(
cwxx
);
}
resultList
.
add
(
result
);
}
}
}
}
}
}
resultList
.
clear
();
}
catch
(
Exception
e
)
{
return
requestId
;
...
...
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