Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
Y
yd-backend
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
AutogeneralShanghai
yd-backend
Commits
36f85f62
Commit
36f85f62
authored
Jul 06, 2020
by
Water Wang
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
optimize
parent
40920b80
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
19 additions
and
12 deletions
+19
-12
yd-api/src/main/resources/mapper/commission/CommissionEGoldenMapper.xml
+19
-12
No files found.
yd-api/src/main/resources/mapper/commission/CommissionEGoldenMapper.xml
View file @
36f85f62
...
@@ -55,18 +55,25 @@
...
@@ -55,18 +55,25 @@
<!-- <if test="isStatement == 0">-->
<!-- <if test="isStatement == 0">-->
<choose>
<choose>
<when
test=
"type == 1"
>
<when
test=
"type == 1"
>
<if
test=
"inCommissionStartTime != null"
>
<choose>
and CONVERT(receive.mon024_302,signed)
>
= CONVERT(#{inCommissionStartTime,jdbcType=VARCHAR},signed)
<when
test=
"inCommissionStartTime == null and inCommissionEndTime == null and outCommissionStartTime == null and outCommissionEndTime == null"
>
</if>
and receive.mon024_302 is not null or pay.MON025_302 is not null
<if
test=
"inCommissionEndTime != null"
>
</when>
and CONVERT(receive.mon024_302,signed)
<
= CONVERT(#{inCommissionEndTime,jdbcType=VARCHAR},signed)
<otherwise>
</if>
<if
test=
"inCommissionStartTime != null"
>
<if
test=
"outCommissionStartTime != null"
>
and CONVERT(receive.mon024_302,signed)
>
= CONVERT(#{inCommissionStartTime,jdbcType=VARCHAR},signed)
and CONVERT(pay.MON025_302,signed)
>
= CONVERT(#{outCommissionStartTime,jdbcType=VARCHAR},signed)
</if>
</if>
<if
test=
"inCommissionEndTime != null"
>
<if
test=
"outCommissionEndTime != null"
>
and CONVERT(receive.mon024_302,signed)
<
= CONVERT(#{inCommissionEndTime,jdbcType=VARCHAR},signed)
and CONVERT(pay.MON025_302,signed)
<
= CONVERT(#{outCommissionEndTime,jdbcType=VARCHAR},signed)
</if>
</if>
<if
test=
"outCommissionStartTime != null"
>
and CONVERT(pay.MON025_302,signed)
>
= CONVERT(#{outCommissionStartTime,jdbcType=VARCHAR},signed)
</if>
<if
test=
"outCommissionEndTime != null"
>
and CONVERT(pay.MON025_302,signed)
<
= CONVERT(#{outCommissionEndTime,jdbcType=VARCHAR},signed)
</if>
</otherwise>
</choose>
</when>
</when>
<otherwise>
<otherwise>
<if
test=
"inCommissionStartTime != null"
>
<if
test=
"inCommissionStartTime != 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