Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
B
bailuntec-cost
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
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
huluobin
bailuntec-cost
Commits
563f3f90
Commit
563f3f90
authored
May 27, 2022
by
jianshuqin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修复BUG:日期过虑条件
parent
ef56b732
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
4 deletions
+4
-4
Cost.xml
cost-service/src/main/resources/mapper/Cost.xml
+4
-4
No files found.
cost-service/src/main/resources/mapper/Cost.xml
View file @
563f3f90
...
...
@@ -126,9 +126,9 @@
<if
test=
" params.keys.isLend!=null and params.keys.isLend == 1"
>
and is_lend=1
</if>
<if
test=
" params.keys.isLend!=null and params.keys.isLend == 2"
>
and is_lend=2
</if>
<if
test=
" params.keys.beginTime != null"
>
AND create_time
<![CDATA[>=]]>
#{params.keys.beginTime}
</if>
<if
test=
" params.keys.endTime != null"
>
AND create_time
<![CDATA[<=]]>
#{params.keys.endTime}
</if>
<if
test=
" params.keys.endTime != null"
>
AND create_time
<![CDATA[<=]]>
date_add(#{params.keys.endTime},INTERVAL 1 day)
</if>
<if
test=
" params.keys.beginPayTime != null"
>
AND pay_time
<![CDATA[>=]]>
#{params.keys.beginPayTime}
</if>
<if
test=
" params.keys.endPayTime != null"
>
AND pay_time
<![CDATA[<=]]>
#{params.keys.endPayTime}
</if>
<if
test=
" params.keys.endPayTime != null"
>
AND pay_time
<![CDATA[<=]]>
date_add(#{params.keys.endPayTime},INTERVAL 1 day)
</if>
<if
test=
" params.keys.linkCost!=null and params.keys.linkCost != ''"
>
and sup_cost_no=#{params.keys.linkCost}
</if>
<if
test=
" params.key!=null and params.key != ''"
>
...
...
@@ -340,8 +340,8 @@
<if
test=
" req.isLend!=null "
>
and t1.is_lend=#{req.isLend}
</if>
<if
test=
" req.beginTime != null"
>
and t1.create_time
<![CDATA[>=]]>
#{req.beginTime}
</if>
<if
test=
" req.endTime != null"
>
and t1.create_time
<![CDATA[<=]]>
date_add(#{req.endTime},INTERVAL 1 day)
</if>
<if
test=
" req.beginPayTime != null"
>
and t1.
actual
_time
<![CDATA[>=]]>
#{req.beginPayTime}
</if>
<if
test=
" req.endPayTime != null"
>
and t1.
actual
_time
<![CDATA[<=]]>
date_add(#{req.endPayTime},INTERVAL 1 day)
</if>
<if
test=
" req.beginPayTime != null"
>
and t1.
pay
_time
<![CDATA[>=]]>
#{req.beginPayTime}
</if>
<if
test=
" req.endPayTime != null"
>
and t1.
pay
_time
<![CDATA[<=]]>
date_add(#{req.endPayTime},INTERVAL 1 day)
</if>
<if
test=
" req.linkCost!=null and req.linkCost != ''"
>
and (t1.sup_cost_no=#{req.linkCost} or t1.cost_no=#{req.linkCost})
</if>
<if
test=
" req.projectTypes!=null and req.projectTypes != ''"
>
and find_in_set(t1.project_type,#{req.projectTypes})
</if>
<if
test=
"req.bankCardUser !=null and req.bankCardUser !='' "
>
and t1.bank_card_user like concat('%',#{req.bankCardUser},'%')
</if>
...
...
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