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
34a03d6b
Commit
34a03d6b
authored
2 years ago
by
翁国栋
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
旧产品投保
parent
6369d972
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
8 additions
and
1 deletions
+8
-1
src/main/java/cn/timer/api/controller/insure/InsureContorll.java
+6
-0
src/main/java/cn/timer/api/dto/insure/InsureUserDto.java
+1
-0
src/main/resources/mapping/insure/InsurePolicyMapper.xml
+1
-1
No files found.
src/main/java/cn/timer/api/controller/insure/InsureContorll.java
View file @
34a03d6b
...
...
@@ -317,8 +317,14 @@ public class InsureContorll {
/*新增项目*/
insured
.
put
(
"benefit_basic_plan"
,
insurePlansList
.
stream
().
filter
(
v
->
v
.
getType
().
equals
(
"BENEFIT_BASIC_PLAN"
)).
collect
(
Collectors
.
toList
()).
get
(
0
).
getPlanId
());
insured
.
put
(
"benefit_occupation_category"
,
p
.
getBenefitOccupationCategory
());
/*如果是旧产品这两项目为空*/
if
(
insureProduct
.
getId
()
==
3
||
insureProduct
.
getId
()==
4
)
{
insured
.
put
(
"benefit_3rd_party_lib"
,
""
);
insured
.
put
(
"benefit_24hours"
,
""
);
}
else
{
insured
.
put
(
"benefit_3rd_party_lib"
,
insurePlansList
.
stream
().
filter
(
v
->
v
.
getType
().
equals
(
"BENEFIT_3RD_PARTY_LIB"
)).
collect
(
Collectors
.
toList
()).
get
(
0
).
getPlanId
());
insured
.
put
(
"benefit_24hours"
,
insurePlansList
.
stream
().
filter
(
v
->
v
.
getType
().
equals
(
"BENEFIT_24HOURS"
)).
collect
(
Collectors
.
toList
()).
get
(
0
).
getPlanId
());
}
insuredArray
.
add
(
insured
);
});
quotations
.
put
(
"insured"
,
insuredArray
);
...
...
This diff is collapsed.
Click to expand it.
src/main/java/cn/timer/api/dto/insure/InsureUserDto.java
View file @
34a03d6b
...
...
@@ -20,4 +20,5 @@ public class InsureUserDto {
private
String
policyNo
;
private
String
name
;
private
Date
updateTime
;
private
Integer
productPlanId
;
}
This diff is collapsed.
Click to expand it.
src/main/resources/mapping/insure/InsurePolicyMapper.xml
View file @
34a03d6b
...
...
@@ -318,7 +318,7 @@
ip.policy_no as policyNo,
ip.org_code as orgCode,
iu.insured_name as insuredName,
iu.
benefit_basic_plan
as benefitBasicPlan,
iu.
product_plan_id
as benefitBasicPlan,
iu.benefit_occupation_category as benefitOccupationCategory,
iu.product_plan_id as productPlanId,
ip.policy_pay_type as policyPayType,
...
...
This diff is collapsed.
Click to expand it.
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