Commit 30fec6c4 by 徐高华

群发数量

parent 0b627282
...@@ -148,10 +148,10 @@ public class GroupChatPlanServiceImpl implements GroupChatPlanService { ...@@ -148,10 +148,10 @@ public class GroupChatPlanServiceImpl implements GroupChatPlanService {
} else { } else {
TabGroupChatPlan old = this.groupChatPlanMapper.selectById(planId) ; TabGroupChatPlan old = this.groupChatPlanMapper.selectById(planId) ;
int staffCount = old.getStaffCount(); int staffCount = old.getStaffCount();
if (null != dto.getDelStaffIdList()) { if (StringUtils.isNotBlank(dto.getDelStaffIdList())) {
staffCount = staffCount - dto.getDelStaffIdList().split(",").length; staffCount = staffCount - dto.getDelStaffIdList().split(",").length;
} }
if (null != dto.getStaffIdList()) { if (StringUtils.isNotBlank(dto.getStaffIdList())) {
staffCount = staffCount + dto.getStaffIdList().split(",").length; staffCount = staffCount + dto.getStaffIdList().split(",").length;
} }
entity.setStaffCount(staffCount); entity.setStaffCount(staffCount);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment