`id`, `tenant_id`, `parent_tenant_id`, `type`, `cover_img`, `cover_picture`, `detail_picture`,
`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`
where `is_del` = 0
and `id` = #{id}
and `tenant_id` = #{tenantId}
and `parent_tenant_id` = #{parentTenantId}
and `type` = #{type}
and `title` like concat('%', #{title},'%')
and `sub_title` like concat('%', #{subTitle},'%')
and `sex` = #{sex}
and `age` = #{age}
and `colour` = #{colour}
and `languages` = #{languages}
and JSON_CONTAINS(scene_sign,json_array(#{sceneSign}))
and `sale_price` = #{salePrice}
and `send_type` = #{sendType}
and `price` = #{price}
and `status` = #{status}
and create_date >= #{startDate}
and create_date < #{endDate}
and id in
#{idItem}
order by ${sortColumns}
update mould_patch set is_del = 1,update_date = now() where id = #{id}