|
@@ -213,9 +213,9 @@ public class QwSopTempServiceImpl implements IQwSopTempService
|
|
|
List<QwSopTempRules> list = day.getList();
|
|
|
List<QwSopTempContent> collect = list.stream().flatMap(e -> e.getSettingList().stream()).collect(Collectors.toList());
|
|
|
List<QwSopTempContent> voiceList = collect.stream().filter(e -> e.getContentType() == 7).collect(Collectors.toList());
|
|
|
- if(!voiceList.isEmpty()){
|
|
|
-// day.setVoice(1);
|
|
|
- }
|
|
|
+// if(!voiceList.isEmpty()){
|
|
|
+//// day.setVoice(1);
|
|
|
+// }
|
|
|
qwSopTempDayService.saveOrUpdate(day);
|
|
|
qwSopTempRulesService.removeByDayId(day.getId());
|
|
|
qwSopTempContentService.removeByDayId(day.getId());
|
|
@@ -277,9 +277,9 @@ public class QwSopTempServiceImpl implements IQwSopTempService
|
|
|
}
|
|
|
}
|
|
|
}
|
|
|
- if(!voiceList.isEmpty()){
|
|
|
- rocketMQTemplate.syncSend("voice-generation", JSON.toJSONString(VoiceVo.builder().type(0).id(day.getId().toString()).build()));
|
|
|
- }
|
|
|
+// if(!voiceList.isEmpty()){
|
|
|
+// rocketMQTemplate.syncSend("voice-generation", JSON.toJSONString(VoiceVo.builder().type(0).id(day.getId().toString()).build()));
|
|
|
+// }
|
|
|
return map;
|
|
|
}
|
|
|
|