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
3d75cc0e
Commit
3d75cc0e
authored
Aug 27, 2021
by
liyanlin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix
parent
8acd20e4
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
ApprovalHistoryMapper.xml
...rvice/src/main/resources/mapper/ApprovalHistoryMapper.xml
+1
-1
No files found.
cost-service/src/main/resources/mapper/ApprovalHistoryMapper.xml
View file @
3d75cc0e
...
...
@@ -12,7 +12,7 @@
left join `user` u on u.userid = ah.approval_user_id
left join status s2 on s2.statusname = 'cost_status' and s2.statuskey = ah.cost_status
where ah.approval_time between #{req.startTime} and #{req.endTime}
<if
test=
"req.costStatus != null"
>
and ah.cost_status = #{costStatus}
</if>
<if
test=
"req.costStatus != null"
>
and ah.cost_status = #{
req.
costStatus}
</if>
<if
test=
"req.typeNo != null and req.typeNo != ''"
>
and c.type_no = #{req.typeNo}
</if>
<if
test=
"req.userId != null and req.userId != ''"
>
and ah.approval_user_id = #{req.userId}
</if>
<if
test=
"req.costNo != null and req.costNo != ''"
>
and ah.cost_no like concat('%',#{req.costNo},'%')
</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