Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
G
gic-platform-enterprise
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
base_platform_enterprise
gic-platform-enterprise
Commits
cfbd0773
Commit
cfbd0773
authored
Apr 01, 2020
by
陶光胜
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
二维码
parent
205d6ea3
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
3 deletions
+3
-3
TabPushMessageMapper.xml
...ervice/src/main/resources/mapper/TabPushMessageMapper.xml
+2
-2
PushMessageController.java
...m/gic/operation/web/controller/PushMessageController.java
+1
-1
No files found.
gic-platform-enterprise-service/src/main/resources/mapper/TabPushMessageMapper.xml
View file @
cfbd0773
...
...
@@ -248,10 +248,10 @@
and push_status = #{pushStatus}
</if>
<if
test=
"startTime != null"
>
and (
DATE_FORMAT(update_time,'%Y-%m-%d')
>
= #{startTime} or DATE_FORMAT(push_time,'%Y-%m-%d')
>
= #{startTime})
and (
update_time
>
= #{startTime} or push_time
>
= #{startTime})
</if>
<if
test=
"endTime != null"
>
and (
DATE_FORMAT(update_time,'%Y-%m-%d')
<
= #{endTime} or DATE_FORMAT(push_time,'%Y-%m-%d')
<
= #{endTime})
and (
update_time
<
= #{endTime} or push_time
<
= #{endTime})
</if>
<if
test=
"pushClassifyId != null"
>
and push_classify_id = #{pushClassifyId}
...
...
gic-platform-operation-web/src/main/java/com/gic/operation/web/controller/PushMessageController.java
View file @
cfbd0773
...
...
@@ -83,7 +83,7 @@ public class PushMessageController {
ServiceResponse
<
Page
<
PushMessageDTO
>>
response
=
null
;
try
{
response
=
this
.
pushMessageApiService
.
pagePushMessage
(
search
,
pushStatus
,
StringUtils
.
isBlank
(
startTime
)
?
null
:
simpleDateFormat
.
parse
(
startTime
),
StringUtils
.
isBlank
(
endTime
)
?
null
:
simpleDateFormat
.
parse
(
endTime
),
pageQO
.
getCurrentPage
(),
pageQO
.
getPageSize
(),
classifyId
);
StringUtils
.
isBlank
(
startTime
)
?
null
:
simpleDateFormat
.
parse
(
startTime
+
" 00:00:00"
),
StringUtils
.
isBlank
(
endTime
)
?
null
:
simpleDateFormat
.
parse
(
endTime
+
" 23:59:59"
),
pageQO
.
getCurrentPage
(),
pageQO
.
getPageSize
(),
classifyId
);
}
catch
(
ParseException
e
)
{
e
.
printStackTrace
();
}
...
...
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