Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
D
dc-cost-system
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
bltdc
dc-cost-system
Commits
90ba06de
Commit
90ba06de
authored
Oct 23, 2020
by
huluobin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
创建时间筛选
parent
6fb07a96
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
15 additions
and
2 deletions
+15
-2
CostTemplateApiDto.java
...ava/com/blt/other/module/cost/dto/CostTemplateApiDto.java
+7
-0
CostTemplateServiceImpl.java
...st/service/impl/costtemplate/CostTemplateServiceImpl.java
+6
-0
application-test.yml
bailuntec-cost-core/src/main/resources/application-test.yml
+2
-2
No files found.
bailuntec-cost-core/src/main/java/com/blt/other/module/cost/dto/CostTemplateApiDto.java
View file @
90ba06de
...
...
@@ -32,9 +32,16 @@ public class CostTemplateApiDto {
@ApiModelProperty
(
"是否开启最终人审核"
)
private
Boolean
enableFinalReview
;
@ApiModelProperty
(
"更新时间"
)
private
LocalDateTime
startTime
;
@ApiModelProperty
(
"更新时间"
)
private
LocalDateTime
endTime
;
@ApiModelProperty
(
"创建时间"
)
private
LocalDateTime
createStartTime
;
@ApiModelProperty
(
"创建时间"
)
private
LocalDateTime
createEndTime
;
private
Integer
pageNum
;
private
Integer
pageSize
;
}
...
...
bailuntec-cost-core/src/main/java/com/blt/other/module/cost/service/impl/costtemplate/CostTemplateServiceImpl.java
View file @
90ba06de
...
...
@@ -123,6 +123,12 @@ public class CostTemplateServiceImpl extends ServiceImpl<CostTemplateMapper, Cos
if
(
req
.
getEndTime
()
!=
null
)
{
wrapper
.
le
(
CostTemplate:
:
getLastUpdateTime
,
req
.
getEndTime
());
}
if
(
req
.
getCreateStartTime
()
!=
null
)
{
wrapper
.
ge
(
CostTemplate:
:
getCreateUserName
,
req
.
getCreateStartTime
());
}
if
(
req
.
getCreateEndTime
()
!=
null
)
{
wrapper
.
le
(
CostTemplate:
:
getCreateTime
,
req
.
getCreateEndTime
());
}
List
<
CostTemplate
>
costTemplateList
=
this
.
list
(
wrapper
);
costTemplateColService
.
setCostTemplateCol
(
costTemplateList
);
return
costTemplateList
;
...
...
bailuntec-cost-core/src/main/resources/application-test.yml
View file @
90ba06de
...
...
@@ -2,9 +2,9 @@ spring:
# 数据源配置
datasource
:
driver-class-name
:
com.mysql.jdbc.Driver
url
:
jdbc:mysql://
106.55.55.253:3306
/bailun_other?useUnicode=true&characterEncoding=utf-8&useSSL=false&zeroDateTimeBehavior=convertToNull&rewriteBatchedStatements=true
url
:
jdbc:mysql://
cdb-aanqm573.gz.tencentcdb.com:10120
/bailun_other?useUnicode=true&characterEncoding=utf-8&useSSL=false&zeroDateTimeBehavior=convertToNull&rewriteBatchedStatements=true
username
:
root
password
:
'
gogirl2020test.
'
password
:
'
Aarob2020#
'
thymeleaf
:
prefix
:
classpath:/templates/
...
...
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