server_commit
This commit is contained in:
@@ -146,7 +146,7 @@ public class MsgNotifyController {
|
||||
|
||||
if (msgNotify.getType() != null && msgNotify.getType().equals("system")) {
|
||||
List<NutMap> list = msgNotifyService.getUserByRoleIds(msgNotify.getModule(), msgNotify.getTeacherMeetingId(), msgNotify.getRoleIds());
|
||||
String userData = msgNotifyService.userData(list);
|
||||
List<String> userData = msgNotifyService.userData(list);
|
||||
if (flag) {
|
||||
msgNotifyService.sendMsg(msgNotify.getSendTypes(), userData, msgNotify.getContent());
|
||||
|
||||
@@ -165,7 +165,7 @@ public class MsgNotifyController {
|
||||
} else if (msgNotify.getType() != null && msgNotify.getType().equals("user")) {
|
||||
if (flag) {
|
||||
List<User> user = dao.query(User.class, Cnd.where("id", "in", users));
|
||||
String objectUserData = msgNotifyService.ObjectUserData(user);
|
||||
List<String> objectUserData = msgNotifyService.ObjectUserData(user);
|
||||
msgNotifyService.sendMsg(msgNotify.getSendTypes(), objectUserData, msgNotify.getContent());
|
||||
}
|
||||
for (String u : users) {
|
||||
@@ -180,7 +180,7 @@ public class MsgNotifyController {
|
||||
}
|
||||
} else {
|
||||
List<NutMap> userScopes = msgNotifyService.getUserScopes(msgNotify.getActivityGroupId());
|
||||
String userData = msgNotifyService.userData(userScopes);
|
||||
List<String> userData = msgNotifyService.userData(userScopes);
|
||||
if (flag) {
|
||||
msgNotifyService.sendMsg(msgNotify.getSendTypes(), userData, msgNotify.getContent());
|
||||
|
||||
@@ -220,7 +220,7 @@ public class MsgNotifyController {
|
||||
msgNotify.setHold(flag ? true : false);
|
||||
|
||||
if (flag) {
|
||||
String userData = msgNotifyService.userData(list);
|
||||
List<String> userData = msgNotifyService.userData(list);
|
||||
msgNotifyService.sendMsg(msgNotify.getSendTypes(), userData, msgNotify.getContent());
|
||||
|
||||
}
|
||||
@@ -236,7 +236,7 @@ public class MsgNotifyController {
|
||||
} else if (msgNotify.getType() != null && msgNotify.getType().equals("user")) {
|
||||
if (flag) {
|
||||
List<User> user = dao.query(User.class, Cnd.where("id", "in", users));
|
||||
String objectUserData = msgNotifyService.ObjectUserData(user);
|
||||
List<String> objectUserData = msgNotifyService.ObjectUserData(user);
|
||||
msgNotifyService.sendMsg(msgNotify.getSendTypes(), objectUserData, msgNotify.getContent());
|
||||
|
||||
}
|
||||
@@ -268,7 +268,7 @@ public class MsgNotifyController {
|
||||
""").setParam("groupId", msgNotify.getActivityGroupId());
|
||||
List<NutMap> userScopes = activityBasicScopeService.listMap(sql);
|
||||
msgNotify.setHold(flag ? true : false);
|
||||
String userData = msgNotifyService.userData(userScopes);
|
||||
List<String> userData = msgNotifyService.userData(userScopes);
|
||||
if (flag) {
|
||||
msgNotifyService.sendMsg(msgNotify.getSendTypes(), userData, msgNotify.getContent());
|
||||
|
||||
|
||||
Reference in New Issue
Block a user