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
7e63c19d
Commit
7e63c19d
authored
May 07, 2024
by
程裕兵
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
feat:sql error
parent
0ddceb8c
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
10 additions
and
4 deletions
+10
-4
repository/src/main/java/com/jiejing/fitness/finance/repository/mapper/StudioCashierRecordMapper.xml
+10
-4
No files found.
repository/src/main/java/com/jiejing/fitness/finance/repository/mapper/StudioCashierRecordMapper.xml
View file @
7e63c19d
...
@@ -101,6 +101,12 @@
...
@@ -101,6 +101,12 @@
<if
test=
"query.transState == null or query.transState == ''"
>
<if
test=
"query.transState == null or query.transState == ''"
>
and trans_state in ('PAY_SUCCESS', 'PAY_IN', 'REFUNDING', 'REFUND_SUCCESS', 'REFUND_FAIL')
and trans_state in ('PAY_SUCCESS', 'PAY_IN', 'REFUNDING', 'REFUND_SUCCESS', 'REFUND_FAIL')
</if>
</if>
<if
test=
"query.transStateList != null"
>
and trans_state in
<foreach
collection=
"query.transStateList"
separator=
","
item=
"item"
open=
"("
close=
")"
>
item
</foreach>
</if>
<if
test=
"query.orderType != null and query.orderType != ''"
>
<if
test=
"query.orderType != null and query.orderType != ''"
>
and order_type = #{query.orderType}
and order_type = #{query.orderType}
</if>
</if>
...
@@ -114,16 +120,16 @@
...
@@ -114,16 +120,16 @@
and studio_name like concat('%', #{query.studioName}, '%')
and studio_name like concat('%', #{query.studioName}, '%')
</if>
</if>
<if
test=
"query.createStartTime != null"
>
<if
test=
"query.createStartTime != null"
>
and
studio_id
>= #{query.createStartTime}
and
create_time
>= #{query.createStartTime}
</if>
</if>
<if
test=
"query.createEndTime != null"
>
<if
test=
"query.createEndTime != null"
>
and
studio_id
<
= #{query.createEndTime}
and
create_time
<
= #{query.createEndTime}
</if>
</if>
<if
test=
"query.successStartTime != null"
>
<if
test=
"query.successStartTime != null"
>
and s
tudio_id
>= #{query.successStartTime}
and s
uccess_time
>= #{query.successStartTime}
</if>
</if>
<if
test=
"query.successEndTime != null"
>
<if
test=
"query.successEndTime != null"
>
and s
tudio_id
<
= #{query.successEndTime}
and s
uccess_time
<
= #{query.successEndTime}
</if>
</if>
</where>
</where>
...
...
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