diff --git a/suimangService/src/main/java/com/iformall/domain/po/sm/VoiceMould.java b/suimangService/src/main/java/com/iformall/domain/po/sm/VoiceMould.java
index 4ca51d3..75a4638 100644
--- a/suimangService/src/main/java/com/iformall/domain/po/sm/VoiceMould.java
+++ b/suimangService/src/main/java/com/iformall/domain/po/sm/VoiceMould.java
@@ -129,6 +129,9 @@ public class VoiceMould extends TenantEntity {
@io.swagger.annotations.ApiModelProperty(value="模板第三方Id",name="mouldSmId")
private String mouldSmId;
+ @io.swagger.annotations.ApiModelProperty(value="EnumVoiceType",name="voiceType")
+ private Integer voiceType;
+
@io.swagger.annotations.ApiModelProperty(value="EnumPersonaType",name="personaType")
private Integer personaType;
@TableField(exist = false)
diff --git a/suimangService/src/main/java/com/iformall/enums/EnumVoiceType.java b/suimangService/src/main/java/com/iformall/enums/EnumVoiceType.java
new file mode 100644
index 0000000..513db69
--- /dev/null
+++ b/suimangService/src/main/java/com/iformall/enums/EnumVoiceType.java
@@ -0,0 +1,37 @@
+package com.iformall.enums;
+
+/**
+ *
+ */
+public enum EnumVoiceType {
+
+ default_0(0, "默认"),
+ persona(1,"角色风格"),
+ speak(2, "说话风格"),
+ ;
+
+ public static EnumVoiceType getEnum(Integer code) {
+ for (EnumVoiceType value : values()) {
+ if (value.getCode().equals(code)) {
+ return value;
+ }
+ }
+ return null;
+ }
+
+ private Integer code;
+ private String message;
+
+ EnumVoiceType(Integer code, String message) {
+ this.code = code;
+ this.message = message;
+ }
+
+ public Integer getCode() {
+ return code;
+ }
+
+ public String getMessage() {
+ return message;
+ }
+}
diff --git a/suimangService/src/main/resources/mapper/VoiceMouldMapper.xml b/suimangService/src/main/resources/mapper/VoiceMouldMapper.xml
index 5e497a2..1bf8cf0 100644
--- a/suimangService/src/main/resources/mapper/VoiceMouldMapper.xml
+++ b/suimangService/src/main/resources/mapper/VoiceMouldMapper.xml
@@ -22,6 +22,7 @@
+
@@ -34,7 +35,7 @@
`id`, `tenant_id`, `parent_tenant_id`, `parent_id`, `count_sub`, `cover_img`, `cover_picture`, `detail_picture`,
`title`, `sub_title`, `sex`, `age_type`, `languages`, `scene_sign`, `sale_price`, `price`,
- `send_type`, `detail`, `remark`, `mould_sm_id`,`persona_type`,`speak_type`, `example_video_id`, `status`, `puton_date`, `create_date`, `update_date`
+ `send_type`, `detail`, `remark`, `mould_sm_id`,`voice_type`,`persona_type`,`speak_type`, `example_video_id`, `status`, `puton_date`, `create_date`, `update_date`
@@ -99,6 +100,10 @@
and `status` = #{status}
+
+ and `voice_type` = #{voiceType}
+
+
and `persona_type` = #{personaType}
@@ -139,7 +144,7 @@
select
`id`, `parent_tenant_id`, `parent_id`, `cover_img`, `cover_picture`,
`title`, `sub_title`, `sex`, `age_type`, `languages`, `scene_sign`, `sale_price`, `price`,
- `send_type`, `mould_sm_id`,`persona_type`,`speak_type`, `status`,`example_video_id`, `create_date`, `update_date`
+ `send_type`, `mould_sm_id`,`voice_type`,`persona_type`,`speak_type`, `status`,`example_video_id`, `create_date`, `update_date`
from voice_mould