refactor(aicompanion): 将开场白字段迁移至 i18n 表
- 从 KeyboardAiCompanionDO 移除 prologue 与 prologueAudio - 在 AiCompanionI18nDO 新增对应字段 - 同步调整 Mapper 查询逻辑
This commit is contained in:
@@ -57,4 +57,7 @@ public class AiCompanionI18nDO {
|
||||
*/
|
||||
private LocalDateTime updatedAt;
|
||||
|
||||
private String prologue;
|
||||
|
||||
private String prologueAudio;
|
||||
}
|
||||
@@ -83,14 +83,6 @@ public class KeyboardAiCompanionDO {
|
||||
* 更新时间
|
||||
*/
|
||||
private LocalDateTime updatedAt;
|
||||
/**
|
||||
* 开场白
|
||||
*/
|
||||
private String prologue;
|
||||
/**
|
||||
* 开场白音频
|
||||
*/
|
||||
private String prologueAudio;
|
||||
/**
|
||||
* 音频Id
|
||||
*/
|
||||
|
||||
@@ -32,8 +32,6 @@ public interface KeyboardAiCompanionMapper extends BaseMapperX<KeyboardAiCompani
|
||||
.eqIfPresent(KeyboardAiCompanionDO::getPopularityScore, reqVO.getPopularityScore())
|
||||
.eqIfPresent(KeyboardAiCompanionDO::getCreatedAt, reqVO.getCreatedAt())
|
||||
.eqIfPresent(KeyboardAiCompanionDO::getUpdatedAt, reqVO.getUpdatedAt())
|
||||
.eqIfPresent(KeyboardAiCompanionDO::getPrologue, reqVO.getPrologue())
|
||||
.eqIfPresent(KeyboardAiCompanionDO::getPrologueAudio, reqVO.getPrologueAudio())
|
||||
.eqIfPresent(KeyboardAiCompanionDO::getVoiceId, reqVO.getVoiceId())
|
||||
.orderByDesc(KeyboardAiCompanionDO::getId));
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user