|
|
@@ -806,6 +806,13 @@ public class SopUserLogsInfoServiceImpl implements ISopUserLogsInfoService {
|
|
|
QwSopCourseFinishTempSetting setting = new QwSopCourseFinishTempSetting();
|
|
|
|
|
|
List<QwSopCourseFinishTempSetting.Setting> list = JSONArray.parseArray(param.getSetting(), QwSopCourseFinishTempSetting.Setting.class);
|
|
|
+
|
|
|
+ // 检查是否有群公告类型,如果有则设置sendType=21
|
|
|
+ boolean hasGroupNotice = list.stream().anyMatch(st -> "11".equals(st.getContentType()));
|
|
|
+ if(hasGroupNotice){
|
|
|
+ sopLogs.setSendType(21);
|
|
|
+ log.info("检测到群公告类型,设置sendType=21, sopId:{}, chatId:{}", param.getSopId(), groupChat.getChatId());
|
|
|
+ }
|
|
|
|
|
|
for (QwSopCourseFinishTempSetting.Setting st : list) {
|
|
|
|