|
|
@@ -22,6 +22,8 @@ |
|
|
|
<result column="remark" jdbcType="VARCHAR" property="remark"/> |
|
|
|
<result column="mould_sm_id" jdbcType="VARCHAR" property="mouldSmId"/> |
|
|
|
<result column="material" jdbcType="VARCHAR" property="material"/> |
|
|
|
<result column="background_id" jdbcType="BIGINT" property="backgroundId"/> |
|
|
|
<result column="background_material" jdbcType="VARCHAR" property="backgroundMaterial"/> |
|
|
|
<result column="status" jdbcType="INTEGER" property="status"/> |
|
|
|
<result column="puton_date" jdbcType="TIMESTAMP" property="putonDate"/> |
|
|
|
<result column="create_date" jdbcType="TIMESTAMP" property="createDate"/> |
|
|
@@ -31,7 +33,8 @@ |
|
|
|
<sql id="allColumns"> |
|
|
|
`id`, `tenant_id`, `parent_tenant_id`, `video_type`, `cover_img`, `cover_picture`, `detail_picture`, |
|
|
|
`title`, `sub_title`, `sex`, `age`, `colour`, `scene_sign`, `sale_price`, `price`, |
|
|
|
`send_type`, `detail`, `remark`, `mould_sm_id`,`material`, `status`, `puton_date`, `create_date`, `update_date` |
|
|
|
`send_type`, `detail`, `remark`, `mould_sm_id`,`material`,`background_id`,`background_material`, |
|
|
|
`status`, `puton_date`, `create_date`, `update_date` |
|
|
|
</sql> |
|
|
|
|
|
|
|
<sql id="dynamicWhereConditions"> |
|
|
@@ -124,7 +127,8 @@ |
|
|
|
select |
|
|
|
`id`, `video_type`, `cover_img`, `cover_picture`, |
|
|
|
`title`, `sub_title`, `sex`, `age`, `colour`, `scene_sign`, `sale_price`, `price`, |
|
|
|
`send_type`, `mould_sm_id`,`material`, `status`, `create_date`, `update_date` |
|
|
|
`send_type`, `mould_sm_id`,`material`,`background_id`,`background_material`, |
|
|
|
`status`, `create_date`, `update_date` |
|
|
|
from person_mould |
|
|
|
<include refid="dynamicWhereConditions"/> |
|
|
|
</select> |
|
|
|