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