|
@@ -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"/> |
|
|