Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
H
haoban-manage3.0
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
haoban3.0
haoban-manage3.0
Commits
94ba7081
Commit
94ba7081
authored
Dec 14, 2022
by
徐高华
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
日期条件
parent
326afd17
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
10 additions
and
0 deletions
+10
-0
GroupChatPlanApiServiceImpl.java
...ce/service/out/impl/chat/GroupChatPlanApiServiceImpl.java
+10
-0
No files found.
haoban-manage3-service/src/main/java/com/gic/haoban/manage/service/service/out/impl/chat/GroupChatPlanApiServiceImpl.java
View file @
94ba7081
...
...
@@ -6,6 +6,7 @@ import org.springframework.stereotype.Service;
import
com.gic.api.base.commons.BasePageInfo
;
import
com.gic.api.base.commons.Page
;
import
com.gic.api.base.commons.ServiceResponse
;
import
com.gic.commons.util.DateUtil
;
import
com.gic.commons.util.EntityUtil
;
import
com.gic.commons.util.PageHelperUtils
;
import
com.gic.haoban.manage.api.dto.chat.ChatOwnerTotalDTO
;
...
...
@@ -28,6 +29,9 @@ public class GroupChatPlanApiServiceImpl implements GroupChatPlanApiService {
@Override
public
ServiceResponse
<
Page
<
GroupChatPlanDTO
>>
listPage
(
GroupChatPlanSearchQDTO
qdto
,
BasePageInfo
basePageInfo
)
{
if
(
null
!=
qdto
.
getEndDate
())
{
qdto
.
setEndDate
(
DateUtil
.
getEndTimeOfDay
(
qdto
.
getEndDate
()));
}
Page
<
GroupChatPlanBO
>
page
=
this
.
groupChatPlanService
.
listPage
(
qdto
,
basePageInfo
);
Page
<
GroupChatPlanDTO
>
resultPage
=
PageHelperUtils
.
changePageToCurrentPage
(
page
,
GroupChatPlanDTO
.
class
);
return
ServiceResponse
.
success
(
resultPage
);
...
...
@@ -77,6 +81,9 @@ public class GroupChatPlanApiServiceImpl implements GroupChatPlanApiService {
@Override
public
ServiceResponse
<
Page
<
GroupChatPlanLogDTO
>>
listLogPage
(
Long
planId
,
GroupChatPlanSearchQDTO
qdto
,
BasePageInfo
basePageInfo
)
{
if
(
null
!=
qdto
.
getEndDate
())
{
qdto
.
setEndDate
(
DateUtil
.
getEndTimeOfDay
(
qdto
.
getEndDate
()));
}
Page
<
GroupChatPlanLogDTO
>
page
=
this
.
groupChatPlanService
.
listLogPage
(
qdto
,
basePageInfo
);
return
ServiceResponse
.
success
(
page
);
}
...
...
@@ -84,6 +91,9 @@ public class GroupChatPlanApiServiceImpl implements GroupChatPlanApiService {
@Override
public
ServiceResponse
<
Page
<
GroupChatPlanOwnerLogDTO
>>
listOwnerLogPage
(
Long
planId
,
GroupChatPlanSearchQDTO
qdto
,
BasePageInfo
basePageInfo
)
{
if
(
null
!=
qdto
.
getEndDate
())
{
qdto
.
setEndDate
(
DateUtil
.
getEndTimeOfDay
(
qdto
.
getEndDate
()));
}
Page
<
GroupChatPlanOwnerLogDTO
>
page
=
this
.
groupChatPlanOwnerLogService
.
listPage
(
planId
,
qdto
,
basePageInfo
);
return
ServiceResponse
.
success
(
page
);
}
...
...
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