|
@@ -28,13 +28,15 @@ |
|
|
<result column="puton_date" jdbcType="TIMESTAMP" property="putonDate"/> |
|
|
<result column="puton_date" jdbcType="TIMESTAMP" property="putonDate"/> |
|
|
<result column="create_date" jdbcType="TIMESTAMP" property="createDate"/> |
|
|
<result column="create_date" jdbcType="TIMESTAMP" property="createDate"/> |
|
|
<result column="update_date" jdbcType="TIMESTAMP" property="updateDate"/> |
|
|
<result column="update_date" jdbcType="TIMESTAMP" property="updateDate"/> |
|
|
|
|
|
<result column="is_del" jdbcType="INTEGER" property="isDel"/> |
|
|
|
|
|
<result column="customized" jdbcType="INTEGER" property="customized"/> |
|
|
</resultMap> |
|
|
</resultMap> |
|
|
|
|
|
|
|
|
<sql id="allColumns"> |
|
|
<sql id="allColumns"> |
|
|
`id`, `tenant_id`, `parent_tenant_id`, `video_type`, `cover_img`, `cover_picture`, `detail_picture`, |
|
|
`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`, |
|
|
`title`, `sub_title`, `sex`, `age`, `colour`, `scene_sign`, `sale_price`, `price`, |
|
|
`send_type`, `detail`, `remark`, `mould_sm_id`,`material`,`background_id`,`background_material`, |
|
|
`send_type`, `detail`, `remark`, `mould_sm_id`,`material`,`background_id`,`background_material`, |
|
|
`status`, `puton_date`, `create_date`, `update_date` |
|
|
|
|
|
|
|
|
`status`, `puton_date`, `create_date`, `update_date`,`is_del`,`customized` |
|
|
</sql> |
|
|
</sql> |
|
|
|
|
|
|
|
|
<sql id="dynamicWhereConditions"> |
|
|
<sql id="dynamicWhereConditions"> |
|
@@ -101,6 +103,10 @@ |
|
|
<if test=" null != endDate"> |
|
|
<if test=" null != endDate"> |
|
|
and create_date < #{endDate} |
|
|
and create_date < #{endDate} |
|
|
</if> |
|
|
</if> |
|
|
|
|
|
|
|
|
|
|
|
<if test=" null != customized"> |
|
|
|
|
|
and customized = #{customized} |
|
|
|
|
|
</if> |
|
|
|
|
|
|
|
|
<if test=" null != ids "> |
|
|
<if test=" null != ids "> |
|
|
and id in |
|
|
and id in |
|
@@ -128,7 +134,7 @@ |
|
|
`id`, `video_type`, `cover_img`, `cover_picture`, |
|
|
`id`, `video_type`, `cover_img`, `cover_picture`, |
|
|
`title`, `sub_title`, `sex`, `age`, `colour`, `scene_sign`, `sale_price`, `price`, |
|
|
`title`, `sub_title`, `sex`, `age`, `colour`, `scene_sign`, `sale_price`, `price`, |
|
|
`send_type`, `mould_sm_id`,`material`,`background_id`,`background_material`, |
|
|
`send_type`, `mould_sm_id`,`material`,`background_id`,`background_material`, |
|
|
`status`, `create_date`, `update_date` |
|
|
|
|
|
|
|
|
`status`, `create_date`, `update_date`,`customized` |
|
|
from person_mould |
|
|
from person_mould |
|
|
<include refid="dynamicWhereConditions"/> |
|
|
<include refid="dynamicWhereConditions"/> |
|
|
</select> |
|
|
</select> |
|
|