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
6855c969
Commit
6855c969
authored
Oct 15, 2022
by
翁国栋
Committed by
284718418@qq.com
Mar 30, 2023
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
8小时运营后台--
方案分组错误
parent
a276e5da
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
src/main/resources/mapping/insure/InsureUserMapper.xml
+3
-3
No files found.
src/main/resources/mapping/insure/InsureUserMapper.xml
View file @
6855c969
...
@@ -421,7 +421,7 @@
...
@@ -421,7 +421,7 @@
<select
id=
"selectPlansListByIds"
resultType=
"cn.timer.api.dto.insure.InsureUserDto"
>
<select
id=
"selectPlansListByIds"
resultType=
"cn.timer.api.dto.insure.InsureUserDto"
>
SELECT
SELECT
policy_id as policyId,
policy_id as policyId,
benefit_basic_plan
as benefitBasicPlan,
product_plan_id
as benefitBasicPlan,
benefit_occupation_category as benefitOccupationCategory,
benefit_occupation_category as benefitOccupationCategory,
count(id) as totalUser
count(id) as totalUser
FROM insure_user
FROM insure_user
...
@@ -429,7 +429,7 @@
...
@@ -429,7 +429,7 @@
<foreach
item=
"id"
collection=
"array"
open=
"("
separator=
","
close=
")"
>
<foreach
item=
"id"
collection=
"array"
open=
"("
separator=
","
close=
")"
>
#{id}
#{id}
</foreach>
</foreach>
group by
benefit_basic_plan
,benefit_occupation_category
group by
product_plan_id
,benefit_occupation_category
</select>
</select>
<select
id=
"selectPlansListById"
resultType=
"cn.timer.api.dto.insure.InsureUserDto"
>
<select
id=
"selectPlansListById"
resultType=
"cn.timer.api.dto.insure.InsureUserDto"
>
...
@@ -442,7 +442,7 @@
...
@@ -442,7 +442,7 @@
FROM insure_user iu
FROM insure_user iu
left join insure_product_plan ipp on ipp.id=iu.product_plan_id
left join insure_product_plan ipp on ipp.id=iu.product_plan_id
WHERE policy_id = #{policyId}
WHERE policy_id = #{policyId}
group by
benefit_occupation_category
group by
iu.product_plan_id
</select>
</select>
<update
id=
"updateInsure"
>
<update
id=
"updateInsure"
>
...
...
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