|
|
@@ -20,9 +20,10 @@ |
|
|
|
<result column="send_type" jdbcType="INTEGER" property="sendType"/> |
|
|
|
<result column="detail" jdbcType="VARCHAR" property="detail"/> |
|
|
|
<result column="remark" jdbcType="VARCHAR" property="remark"/> |
|
|
|
<result column="mould_path" jdbcType="VARCHAR" property="mouldPath"/> |
|
|
|
<result column="mould_sm_id" jdbcType="VARCHAR" property="mouldSmId"/> |
|
|
|
<result column="status" jdbcType="INTEGER" property="status"/> |
|
|
|
<result column="puton_date" jdbcType="TIMESTAMP" property="putonDate"/> |
|
|
|
<result column="example_video_id" jdbcType="VARCHAR" property="exampleVideoId"/> |
|
|
|
<result column="create_date" jdbcType="TIMESTAMP" property="createDate"/> |
|
|
|
<result column="update_date" jdbcType="TIMESTAMP" property="updateDate"/> |
|
|
|
</resultMap> |
|
|
@@ -30,7 +31,7 @@ |
|
|
|
<sql id="allColumns"> |
|
|
|
`id`, `tenant_id`, `parent_tenant_id`, `type`, `cover_img`, `cover_picture`, `detail_picture`, |
|
|
|
`title`, `sub_title`, `sex`, `age`, `colour`, `scene_sign`, `sale_price`, `price`, |
|
|
|
`send_type`, `detail`, `remark`, `mould_path`, `status`, `puton_date`, `create_date`, `update_date` |
|
|
|
`send_type`, `detail`, `remark`, `mould_sm_id`, `status`, `puton_date`,`example_video_id`, `create_date`, `update_date` |
|
|
|
</sql> |
|
|
|
|
|
|
|
<sql id="dynamicWhereConditions"> |
|
|
@@ -123,7 +124,7 @@ |
|
|
|
select |
|
|
|
`id`, `type`, `cover_img`, `cover_picture`, |
|
|
|
`title`, `sub_title`, `sex`, `age`, `colour`, `scene_sign`, `sale_price`, `price`, |
|
|
|
`send_type`, `mould_path`, `status`, `create_date`, `update_date` |
|
|
|
`send_type`, `mould_sm_id`, `status`,`example_video_id`, `create_date`, `update_date` |
|
|
|
from mould_patch |
|
|
|
<include refid="dynamicWhereConditions"/> |
|
|
|
</select> |
|
|
|