fix: 修复通知公告发送所有人NPE
修复通知公告发送所有人NPE
This commit is contained in:
@@ -26,6 +26,9 @@ public class CommonUtil {
|
||||
* @return 字符串
|
||||
*/
|
||||
public static String listToStr(List<String> list, String separator) {
|
||||
if(list == null || list.isEmpty()){
|
||||
return "";
|
||||
}
|
||||
return list.stream().collect(Collectors.joining(separator));
|
||||
}
|
||||
|
||||
|
||||
@@ -31,7 +31,6 @@ import org.springframework.web.bind.annotation.*;
|
||||
public class NoticeController {
|
||||
|
||||
private final NoticeService noticeService;
|
||||
|
||||
private final NoticeStatusService noticeStatusService;
|
||||
|
||||
@Operation(summary = "通知公告分页列表")
|
||||
|
||||
Reference in New Issue
Block a user