|
|
@@ -22,6 +22,7 @@ |
|
|
|
<result column="detail" jdbcType="VARCHAR" property="detail"/> |
|
|
|
<result column="remark" jdbcType="VARCHAR" property="remark"/> |
|
|
|
<result column="mould_sm_id" jdbcType="VARCHAR" property="mouldSmId"/> |
|
|
|
<result column="voice_type" jdbcType="INTEGER" property="voiceType"/> |
|
|
|
<result column="persona_type" jdbcType="INTEGER" property="personaType"/> |
|
|
|
<result column="speak_type" jdbcType="INTEGER" property="speakType"/> |
|
|
|
<result column="example_video_id" jdbcType="VARCHAR" property="exampleVideoId"/> |
|
|
@@ -34,7 +35,7 @@ |
|
|
|
<sql id="allColumns"> |
|
|
|
`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` |
|
|
|
</sql> |
|
|
|
|
|
|
|
<sql id="dynamicWhereConditions"> |
|
|
@@ -99,6 +100,10 @@ |
|
|
|
and `status` = #{status} |
|
|
|
</if> |
|
|
|
|
|
|
|
<if test=" null != voiceType "> |
|
|
|
and `voice_type` = #{voiceType} |
|
|
|
</if> |
|
|
|
|
|
|
|
<if test=" null != personaType "> |
|
|
|
and `persona_type` = #{personaType} |
|
|
|
</if> |
|
|
@@ -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 |
|
|
|
<include refid="dynamicWhereConditions"/> |
|
|
|
</select> |
|
|
|