fix(测试用例): 修复回复评论并@收不到通知问题

--bug=1042785 --user=王旭 【测试用例】-回复用例评论的同事@被回复人,被回复人收不到评论通知 https://www.tapd.cn/55049933/s/1534096
This commit is contained in:
WangXu10 2024-06-21 19:07:39 +08:00 committed by Craftsman
parent 8dbb98b414
commit dc98393a9a
1 changed files with 1 additions and 0 deletions

View File

@ -100,6 +100,7 @@ public class FunctionalCaseNoticeService {
List<String> notifierList = Arrays.asList(notifier.split(";")); List<String> notifierList = Arrays.asList(notifier.split(";"));
StringBuilder notifierStr = new StringBuilder(); StringBuilder notifierStr = new StringBuilder();
if (notifierList.contains(replyUser)) { if (notifierList.contains(replyUser)) {
notifierStr.append(replyUser).append(";");
for (String notifierId : notifierList) { for (String notifierId : notifierList) {
if (!StringUtils.equals(notifierId, replyUser)) { if (!StringUtils.equals(notifierId, replyUser)) {
notifierStr.append(notifierId).append(";"); notifierStr.append(notifierId).append(";");