浏览代码

//a video

private_deployment
xhxu 2 年前
父节点
当前提交
edefa86296
共有 2 个文件被更改,包括 8 次插入3 次删除
  1. +1
    -1
      suimangCApi/src/main/java/com/iformall/controller/MouldPatchController.java
  2. +7
    -2
      suimangService/src/main/resources/mapper/MouldPatchMapper.xml

+ 1
- 1
suimangCApi/src/main/java/com/iformall/controller/MouldPatchController.java 查看文件

@@ -62,7 +62,7 @@ public class MouldPatchController extends BaseController {
} }


@ApiOperation("根据输入文案获取音色") @ApiOperation("根据输入文案获取音色")
@GetMapping("voiceList")
@PostMapping("voiceList")
@ApiImplicitParams({ @ApiImplicitParams({
@ApiImplicitParam(name = "pageNum", value = "页数", dataType = "int", paramType = "query", required = true), @ApiImplicitParam(name = "pageNum", value = "页数", dataType = "int", paramType = "query", required = true),
@ApiImplicitParam(name = "pageSize", value = "每页条数", dataType = "int", paramType = "query", required = true)}) @ApiImplicitParam(name = "pageSize", value = "每页条数", dataType = "int", paramType = "query", required = true)})


+ 7
- 2
suimangService/src/main/resources/mapper/MouldPatchMapper.xml 查看文件

@@ -14,6 +14,7 @@
<result column="sex" jdbcType="INTEGER" property="sex"/> <result column="sex" jdbcType="INTEGER" property="sex"/>
<result column="age" jdbcType="INTEGER" property="age"/> <result column="age" jdbcType="INTEGER" property="age"/>
<result column="colour" jdbcType="INTEGER" property="colour"/> <result column="colour" jdbcType="INTEGER" property="colour"/>
<result column="languages" jdbcType="INTEGER" property="languages"/>
<result column="scene_sign" jdbcType="VARCHAR" property="sceneSign"/> <result column="scene_sign" jdbcType="VARCHAR" property="sceneSign"/>
<result column="sale_price" jdbcType="INTEGER" property="salePrice"/> <result column="sale_price" jdbcType="INTEGER" property="salePrice"/>
<result column="price" jdbcType="INTEGER" property="price"/> <result column="price" jdbcType="INTEGER" property="price"/>
@@ -30,7 +31,7 @@


<sql id="allColumns"> <sql id="allColumns">
`id`, `tenant_id`, `parent_tenant_id`, `type`, `cover_img`, `cover_picture`, `detail_picture`, `id`, `tenant_id`, `parent_tenant_id`, `type`, `cover_img`, `cover_picture`, `detail_picture`,
`title`, `sub_title`, `sex`, `age`, `colour`, `scene_sign`, `sale_price`, `price`,
`title`, `sub_title`, `sex`, `age`, `colour`, `languages`, `scene_sign`, `sale_price`, `price`,
`send_type`, `detail`, `remark`, `mould_sm_id`, `status`, `puton_date`,`example_video_id`, `create_date`, `update_date` `send_type`, `detail`, `remark`, `mould_sm_id`, `status`, `puton_date`,`example_video_id`, `create_date`, `update_date`
</sql> </sql>


@@ -72,6 +73,10 @@
and `colour` = #{colour} and `colour` = #{colour}
</if> </if>


<if test=" null != languages ">
and `languages` = #{languages}
</if>

<if test=" null != sceneSign and '' != sceneSign"> <if test=" null != sceneSign and '' != sceneSign">
and JSON_CONTAINS(scene_sign,json_array(#{sceneSign})) and JSON_CONTAINS(scene_sign,json_array(#{sceneSign}))
</if> </if>
@@ -123,7 +128,7 @@
<select id="findCList" parameterType="com.iformall.domain.po.sm.MouldPatch" resultMap="BaseResultMap"> <select id="findCList" parameterType="com.iformall.domain.po.sm.MouldPatch" resultMap="BaseResultMap">
select select
`id`, `type`, `cover_img`, `cover_picture`, `id`, `type`, `cover_img`, `cover_picture`,
`title`, `sub_title`, `sex`, `age`, `colour`, `scene_sign`, `sale_price`, `price`,
`title`, `sub_title`, `sex`, `age`, `colour`, `languages`, `scene_sign`, `sale_price`, `price`,
`send_type`, `mould_sm_id`, `status`,`example_video_id`, `create_date`, `update_date` `send_type`, `mould_sm_id`, `status`,`example_video_id`, `create_date`, `update_date`
from mould_patch from mould_patch
<include refid="dynamicWhereConditions"/> <include refid="dynamicWhereConditions"/>


正在加载...
取消
保存