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