Browse Source

fix

master
winter 11 months ago
parent
commit
17951164f8
1 changed files with 1 additions and 1 deletions
  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 View File

@@ -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);


Loading…
Cancel
Save