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
dd73cd4a
Commit
dd73cd4a
authored
Apr 09, 2022
by
翁国栋
Committed by
284718418@qq.com
Mar 30, 2023
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
运营后台--
更改统计逻辑
parent
c02d1f36
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
src/main/resources/mapping/insure/InsurePolicyMapper.xml
+2
-2
No files found.
src/main/resources/mapping/insure/InsurePolicyMapper.xml
View file @
dd73cd4a
...
@@ -241,7 +241,7 @@
...
@@ -241,7 +241,7 @@
count( iu.id ) AS totalUser,
count( iu.id ) AS totalUser,
ip.policy_date_start as policyDateStart,
ip.policy_date_start as policyDateStart,
ip.policy_date_end as policyDateEnd,
ip.policy_date_end as policyDateEnd,
ip.total_premium
AS totalPremium,
sum(iu.price)
AS totalPremium,
ip.update_time AS updateTime,
ip.update_time AS updateTime,
ip.`status` as `status`
ip.`status` as `status`
FROM
FROM
...
@@ -312,7 +312,7 @@
...
@@ -312,7 +312,7 @@
(select count(id) from insure_policy) AS totaPolicy,
(select count(id) from insure_policy) AS totaPolicy,
(select count(org_code) from insure_policy) AS totalCompany,
(select count(org_code) from insure_policy) AS totalCompany,
count( iu.id ) AS totalUser,
count( iu.id ) AS totalUser,
IFNULL((select sum(
total_premium) from insure_policy
),0) as totalPremium,
IFNULL((select sum(
price) from insure_user
),0) as totalPremium,
ipp.update_time AS updateTime
ipp.update_time AS updateTime
FROM
FROM
insure_product ip
insure_product ip
...
...
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