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
cfe9521f
Commit
cfe9521f
authored
Jan 12, 2021
by
huluobin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
cost req
parent
5702c18c
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
1 deletion
+6
-1
AppCostListReq.java
...com/blt/other/module/cost/dto/request/AppCostListReq.java
+2
-0
Cost.xml
cost-service/src/main/resources/mapper/Cost.xml
+4
-1
No files found.
cost-service/src/main/java/com/blt/other/module/cost/dto/request/AppCostListReq.java
View file @
cfe9521f
...
...
@@ -28,5 +28,7 @@ public class AppCostListReq {
private
LocalDateTime
startTime
;
@JsonFormat
(
pattern
=
"yyyy-MM-dd HH:mm:ss"
,
timezone
=
"GMT+8"
)
private
LocalDateTime
endTime
;
private
String
createUserName
;
}
cost-service/src/main/resources/mapper/Cost.xml
View file @
cfe9521f
...
...
@@ -446,7 +446,7 @@
and t1.create_time
<
=#{req.endTime}
</if>
<if
test=
" req.createUserName!=null"
>
and t1.create_user
_
name like concat('%',#{req.createUserName},'%')
and t1.create_username like concat('%',#{req.createUserName},'%')
</if>
group by t1.id
order by t1.create_time desc
...
...
@@ -463,6 +463,9 @@
<if
test=
" req.endTime!=null"
>
and create_time
<
=#{req.endTime}
</if>
<if
test=
" req.createUserName!=null"
>
and create_username like concat('%',#{req.createUserName},'%')
</if>
</select>
<!--待部门审核-->
...
...
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