Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
8
8timerapiv200
Overview
Overview
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
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
8timerv2
8timerapiv200
Commits
420719e1
Commit
420719e1
authored
Jun 01, 2022
by
翁国栋
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
8小时后台--
导入保单时,产品id对应返回
parent
97ce8c3b
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
0 deletions
+3
-0
src/main/java/cn/timer/api/controller/insure/InsureContorll.java
+3
-0
No files found.
src/main/java/cn/timer/api/controller/insure/InsureContorll.java
View file @
420719e1
...
@@ -1094,6 +1094,9 @@ public class InsureContorll {
...
@@ -1094,6 +1094,9 @@ public class InsureContorll {
Map
returnMap
=
JSONObject
.
parseObject
(
data
,
Map
.
class
);
Map
returnMap
=
JSONObject
.
parseObject
(
data
,
Map
.
class
);
if
(
returnMap
.
get
(
"errcode"
).
toString
().
equals
(
"suc"
))
{
if
(
returnMap
.
get
(
"errcode"
).
toString
().
equals
(
"suc"
))
{
Map
dataMap
=
JSONObject
.
parseObject
(
JSONObject
.
toJSONString
(
returnMap
.
get
(
"data"
)),
Map
.
class
);
Map
dataMap
=
JSONObject
.
parseObject
(
JSONObject
.
toJSONString
(
returnMap
.
get
(
"data"
)),
Map
.
class
);
if
(!
dataMap
.
get
(
"product_code"
).
equals
(
insureProduct
.
getProductCodeId
())){
return
ResultUtil
.
error
(
"产品选择错误,请检查保单号是否正确"
);
}
policy
.
setProductId
(
insureProduct
.
getId
());
policy
.
setProductId
(
insureProduct
.
getId
());
policy
.
setPolicyFile
(
dataMap
.
get
(
"policy_file"
).
toString
());
policy
.
setPolicyFile
(
dataMap
.
get
(
"policy_file"
).
toString
());
policy
.
setStatus
(
"1"
);
policy
.
setStatus
(
"1"
);
...
...
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