Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
F
fit-finance
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
fitness-server
fit-finance
Commits
7ad30d36
Commit
7ad30d36
authored
Apr 09, 2024
by
程裕兵
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
feat:auto login fitness
parent
511caf8c
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
2 deletions
+5
-2
api/src/main/java/com/jiejing/fitness/finance/api/cashier/vo/StudioCashierStatisticVO.java
+3
-0
repository/src/main/java/com/jiejing/fitness/finance/repository/mapper/StudioCashierRecordMapper.xml
+2
-2
No files found.
api/src/main/java/com/jiejing/fitness/finance/api/cashier/vo/StudioCashierStatisticVO.java
View file @
7ad30d36
...
@@ -25,6 +25,9 @@ public class StudioCashierStatisticVO {
...
@@ -25,6 +25,9 @@ public class StudioCashierStatisticVO {
@ApiModelProperty
(
"总实际金额(元)"
)
@ApiModelProperty
(
"总实际金额(元)"
)
private
BigDecimal
totalActualAmount
;
private
BigDecimal
totalActualAmount
;
@ApiModelProperty
(
"总手续费(元)"
)
private
BigDecimal
totalFee
;
@ApiModelProperty
(
"总条数"
)
@ApiModelProperty
(
"总条数"
)
private
Long
total
;
private
Long
total
;
...
...
repository/src/main/java/com/jiejing/fitness/finance/repository/mapper/StudioCashierRecordMapper.xml
View file @
7ad30d36
...
@@ -48,8 +48,8 @@
...
@@ -48,8 +48,8 @@
</select>
</select>
<select
id=
"statistic"
resultType=
"com.jiejing.fitness.finance.api.cashier.vo.StudioCashierStatisticVO"
>
<select
id=
"statistic"
resultType=
"com.jiejing.fitness.finance.api.cashier.vo.StudioCashierStatisticVO"
>
select sum(trans_amount) as total_trans_amount, sum(actual_amount) as total_actual_amount,
count(id)
select sum(trans_amount) as total_trans_amount, sum(actual_amount) as total_actual_amount,
as
total
sum(fee) as total_fee, count(id) as
total
from studio_cashier_record
from studio_cashier_record
<where>
<where>
<if
test=
"query.studioId != null"
>
<if
test=
"query.studioId != null"
>
...
...
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