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
5702c18c
Commit
5702c18c
authored
Jan 12, 2021
by
huluobin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
cost req
parent
0d68503f
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
7 additions
and
2 deletions
+7
-2
AppCheckCostListReq.java
...lt/other/module/cost/dto/request/AppCheckCostListReq.java
+2
-0
application-prod.yml
cost-service/src/main/resources/application-prod.yml
+2
-2
Cost.xml
cost-service/src/main/resources/mapper/Cost.xml
+3
-0
No files found.
cost-service/src/main/java/com/blt/other/module/cost/dto/request/AppCheckCostListReq.java
View file @
5702c18c
...
@@ -28,4 +28,6 @@ public class AppCheckCostListReq {
...
@@ -28,4 +28,6 @@ public class AppCheckCostListReq {
@JsonFormat
(
pattern
=
"yyyy-MM-dd HH:mm:ss"
,
timezone
=
"GMT+8"
)
@JsonFormat
(
pattern
=
"yyyy-MM-dd HH:mm:ss"
,
timezone
=
"GMT+8"
)
private
LocalDateTime
endTime
;
private
LocalDateTime
endTime
;
private
String
createUserName
;
}
}
cost-service/src/main/resources/application-prod.yml
View file @
5702c18c
...
@@ -2,8 +2,8 @@ spring:
...
@@ -2,8 +2,8 @@ spring:
# 数据源配置
# 数据源配置
datasource
:
datasource
:
driver-class-name
:
com.mysql.jdbc.Driver
driver-class-name
:
com.mysql.jdbc.Driver
#
url: jdbc:mysql://10.0.8.2:3306/bailun_other?useUnicode=true&characterEncoding=utf-8&zeroDateTimeBehavior=convertToNull&rewriteBatchedStatements=true
url
:
jdbc:mysql://10.0.8.2:3306/bailun_other?useUnicode=true&characterEncoding=utf-8&zeroDateTimeBehavior=convertToNull&rewriteBatchedStatements=true
url
:
jdbc:mysql://gz-cdb-lnrmt5zh.sql.tencentcdb.com:61369/bailun_other?useUnicode=true&characterEncoding=UTF-8&useSSL=false&rewriteBatchedStatements=true
#
url: jdbc:mysql://gz-cdb-lnrmt5zh.sql.tencentcdb.com:61369/bailun_other?useUnicode=true&characterEncoding=UTF-8&useSSL=false&rewriteBatchedStatements=true
username
:
root
username
:
root
password
:
"
#7kfnymAM$Y9-Ntf"
password
:
"
#7kfnymAM$Y9-Ntf"
hikari
:
hikari
:
...
...
cost-service/src/main/resources/mapper/Cost.xml
View file @
5702c18c
...
@@ -445,6 +445,9 @@
...
@@ -445,6 +445,9 @@
<if
test=
" req.endTime!=null"
>
<if
test=
" req.endTime!=null"
>
and t1.create_time
<
=#{req.endTime}
and t1.create_time
<
=#{req.endTime}
</if>
</if>
<if
test=
" req.createUserName!=null"
>
and t1.create_user_name like concat('%',#{req.createUserName},'%')
</if>
group by t1.id
group by t1.id
order by t1.create_time desc
order by t1.create_time desc
</select>
</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