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
06974277
Commit
06974277
authored
Jan 03, 2023
by
徐高华
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
计划名称
parent
65628474
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
12 additions
and
1 deletions
+12
-1
GroupChatPlanService.java
...ban/manage/service/service/chat/GroupChatPlanService.java
+1
-1
GroupChatPlanApiServiceImpl.java
...ce/service/out/impl/chat/GroupChatPlanApiServiceImpl.java
+11
-0
No files found.
haoban-manage3-service/src/main/java/com/gic/haoban/manage/service/service/chat/GroupChatPlanService.java
View file @
06974277
...
...
@@ -11,7 +11,7 @@ public interface GroupChatPlanService {
public
void
save
(
GroupChatPlanDTO
dto
);
GroupChatPlanBO
getById
(
Long
hm
Id
);
GroupChatPlanBO
getById
(
Long
plan
Id
);
public
Page
<
GroupChatPlanBO
>
listPage
(
GroupChatPlanSearchQDTO
qdto
,
BasePageInfo
basePageInfo
);
...
...
haoban-manage3-service/src/main/java/com/gic/haoban/manage/service/service/out/impl/chat/GroupChatPlanApiServiceImpl.java
View file @
06974277
...
...
@@ -7,6 +7,8 @@ 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.clerk.api.dto.ClerkDTO
;
import
com.gic.clerk.api.service.ClerkService
;
import
com.gic.commons.util.DateUtil
;
import
com.gic.commons.util.EntityUtil
;
import
com.gic.commons.util.PageHelperUtils
;
...
...
@@ -28,6 +30,8 @@ public class GroupChatPlanApiServiceImpl implements GroupChatPlanApiService {
private
GroupChatPlanService
groupChatPlanService
;
@Autowired
private
GroupChatPlanOwnerLogService
groupChatPlanOwnerLogService
;
@Autowired
private
ClerkService
clerkService
;
@Override
public
ServiceResponse
<
Page
<
GroupChatPlanDTO
>>
listPage
(
GroupChatPlanSearchQDTO
qdto
,
BasePageInfo
basePageInfo
)
{
...
...
@@ -98,6 +102,13 @@ public class GroupChatPlanApiServiceImpl implements GroupChatPlanApiService {
public
ServiceResponse
<
GroupChatPlanOwnerLogDTO
>
getOwnerSendInfo
(
Long
ownerLogId
)
{
TabGroupChatPlanOwnerLog
log
=
this
.
groupChatPlanOwnerLogService
.
getById
(
ownerLogId
);
GroupChatPlanOwnerLogDTO
dto
=
EntityUtil
.
changeEntityByJSON
(
GroupChatPlanOwnerLogDTO
.
class
,
log
);
if
(
null
!=
dto
&&
StringUtils
.
isNotBlank
(
dto
.
getClerkId
()))
{
ClerkDTO
clerk
=
this
.
clerkService
.
getclerkById
(
dto
.
getClerkId
());
dto
.
setClerkName
(
clerk
.
getClerkName
());
}
Long
planId
=
log
.
getPlanId
()
;
GroupChatPlanBO
plan
=
this
.
groupChatPlanService
.
getById
(
planId
)
;
dto
.
setPlanName
(
plan
.
getName
());
return
ServiceResponse
.
success
(
dto
);
}
...
...
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