winter před 1 rokem
rodič
revize
17951164f8
1 změnil soubory, kde provedl 1 přidání a 1 odebrání
  1. +1
    -1
      suimangService/src/main/java/com/iformall/service/sm/impl/VoiceInfoServiceImpl.java

+ 1
- 1
suimangService/src/main/java/com/iformall/service/sm/impl/VoiceInfoServiceImpl.java Zobrazit soubor

@@ -41,7 +41,7 @@ public class VoiceInfoServiceImpl implements VoiceInfoService {
@Override
public List<VoiceInfo> chooseType(Long id) {
List<VoiceInfo> voiceInfos = voiceMapper.selectList(
new LambdaQueryWrapper<VoiceInfo>().eq(VoiceInfo::getLanguageId, id).orderByAsc(VoiceInfo::getAgeType).orderByAsc(VoiceInfo::getDisplayName));
new LambdaQueryWrapper<VoiceInfo>().eq(VoiceInfo::getLanguageId, id).eq(VoiceInfo::getVoiceType, "Neural").orderByAsc(VoiceInfo::getAgeType).orderByAsc(VoiceInfo::getDisplayName));
voiceInfos.forEach(x -> {
if (StringUtils.isNotEmpty(x.getStyleList())) {
List<String> strings = JSON.parseArray(x.getStyleList(), String.class);


Načítá se…
Zrušit
Uložit