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
45191b3f
Commit
45191b3f
authored
Dec 23, 2022
by
徐高华
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
发送人数
parent
d88d2cb1
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
9 additions
and
0 deletions
+9
-0
GroupChatPlanServiceImpl.java
...e/service/service/chat/impl/GroupChatPlanServiceImpl.java
+8
-0
GroupChatPlanMapper.xml
...ce/src/main/resources/mapper/chat/GroupChatPlanMapper.xml
+1
-0
No files found.
haoban-manage3-service/src/main/java/com/gic/haoban/manage/service/service/chat/impl/GroupChatPlanServiceImpl.java
View file @
45191b3f
...
...
@@ -146,6 +146,14 @@ public class GroupChatPlanServiceImpl implements GroupChatPlanService {
// 新增群主日志
this
.
groupChatPlanOwnerLogService
.
batchAdd
(
dto
.
getStaffIdList
(),
entity
);
}
else
{
int
staffCount
=
entity
.
getStaffCount
();
if
(
null
!=
dto
.
getDelStaffIdList
())
{
staffCount
=
staffCount
-
dto
.
getDelStaffIdList
().
split
(
","
).
length
;
}
if
(
null
!=
dto
.
getStaffIdList
())
{
staffCount
=
staffCount
+
dto
.
getStaffIdList
().
split
(
","
).
length
;
}
entity
.
setStaffCount
(
staffCount
);
this
.
groupChatPlanMapper
.
updateById
(
entity
);
// 删除本次删除的
this
.
groupChatPlanOwnerLogService
.
deleteByStaffIds
(
planId
,
dto
.
getDelStaffIdList
());
...
...
haoban-manage3-service/src/main/resources/mapper/chat/GroupChatPlanMapper.xml
View file @
45191b3f
...
...
@@ -133,6 +133,7 @@
modifier_id=#{modifierId},
modifier_name=#{modifierName},
update_time=now(),
staff_count = #{staffCount},
send_type=#{sendType},
send_time=#{sendTime},
start_time=#{startTime},
...
...
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