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
8649b931
Commit
8649b931
authored
Sep 28, 2022
by
翁国栋
Committed by
284718418@qq.com
Mar 30, 2023
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
8小时保单
parent
82f873ac
Show whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
7 additions
and
1 deletions
+7
-1
src/main/java/cn/timer/api/controller/insure/InsureUserController.java
+1
-0
src/main/java/cn/timer/api/dto/insure/InsureUserDto.java
+1
-0
src/main/java/cn/timer/api/dto/insure/PolicyDto.java
+1
-0
src/main/resources/mapping/insure/InsurePolicyMapper.xml
+1
-0
src/main/resources/mapping/insure/InsureUserMapper.xml
+3
-1
No files found.
src/main/java/cn/timer/api/controller/insure/InsureUserController.java
View file @
8649b931
...
...
@@ -73,6 +73,7 @@ public class InsureUserController{
InsureProductPlan
insureProductPlan
=
InsureProductPlan
.
builder
().
id
(
user
.
getProductPlanId
()).
build
().
selectById
();
user
.
setPlanIds
(
JSON
.
parseArray
(
insureProductPlan
.
getPlanJson
(),
String
.
class
));
user
.
setProductName
(
insureProductPlan
.
getName
());
user
.
setBenefitBasicPlan
(
String
.
valueOf
(
insureProductPlan
.
getId
()));
return
ResultUtil
.
data
(
user
);
}
...
...
src/main/java/cn/timer/api/dto/insure/InsureUserDto.java
View file @
8649b931
...
...
@@ -21,4 +21,5 @@ public class InsureUserDto {
private
String
name
;
private
Date
updateTime
;
private
Integer
productPlanId
;
private
Integer
productId
;
}
src/main/java/cn/timer/api/dto/insure/PolicyDto.java
View file @
8649b931
...
...
@@ -49,4 +49,5 @@ public class PolicyDto {
private
String
companyName
;
private
boolean
isAll
=
false
;
private
Integer
productPlanId
;
private
String
planName
;
}
src/main/resources/mapping/insure/InsurePolicyMapper.xml
View file @
8649b931
...
...
@@ -356,6 +356,7 @@
<select
id=
"selectPolicyListByorgCode"
resultType=
"cn.timer.api.dto.insure.InsureUserDto"
>
SELECT
ip.product_id as productId,
ip.id as id,
ip.policy_no as policyNo,
ir.name,
...
...
src/main/resources/mapping/insure/InsureUserMapper.xml
View file @
8649b931
...
...
@@ -286,11 +286,13 @@
iu.policy_date_end,iu.create_time,iu.insured_name,iu.benefit_basic_plan AS benefitBasicPlan,iu.price AS price,
iu.user_id as userId,iu.batch_no as batchNo,iu.benefit_occupation_category as benefitOccupationCategory,
iu.policy_id as policyId,
iu.apply_type as applyType
iu.apply_type as applyType,
ipp.name as planName
from insure_user iu
LEFT JOIN yggl_main_emp yme on yme.id=iu.user_id
LEFT JOIN insure_policy ip on ip.id=iu.policy_id
LEFT JOIN insure_product io on io.id=ip.product_id
LEFT JOIN insure_product_plan ipp on ipp.id =iu.product_plan_id
<where>
<if
test=
"policyDto.orgCode !=null and policyDto.orgCode !=''"
>
and ip.org_code=#{policyDto.orgCode}
...
...
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