`id`,`tenant_id`,`parent_tenant_id`,`cover_img`,`cover_picture`,`detail_picture`,`title`,`sub_title`,`use_price`,`discount_price`,`detail`,`valid_start_date`,`valid_end_date`,`img_detail`,`type`,`coupon_ids`,
`mechant_id`,`sort_num`,`status`,`create_time`,`update_time`,`html`,
`produce_type`,`produce_id`,`page_path`,`page_scene`,`go_appid`,`plat`
`id`,`tenant_id`,`parent_tenant_id`,`cover_img`,`cover_picture`,`detail_picture`,`title`,`type`,`sort_num`,`page_path`,`go_appid`,`plat`
`id`,`tenant_id`,`parent_tenant_id`,`cover_img`,`cover_picture`,`detail_picture`,`title`,`sub_title`,`use_price`,`discount_price`,`detail`,`valid_start_date`,`valid_end_date`,`img_detail`,`type`,`coupon_ids`,
`mechant_id`,`sort_num`,`status`,`create_time`,`update_time`,`page_path`,`go_appid`,`plat`
where 1 = 1
and `id` = #{id}
and `tenant_id` = #{tenantId}
and `parent_tenant_id` = #{parentTenantId}
and `cover_img` like concat('%', #{coverImg},'%')
and `title` like concat('%', #{title},'%')
and `sub_title` like concat('%', #{subTitle},'%')
and `use_price` = #{usePrice}
and `discount_price` = #{discountPrice}
and `detail` like concat('%', #{detail},'%')
and `valid_start_date` = #{validStartDate}
and `valid_end_date` = #{validEndDate}
and `img_detail` like concat('%', #{imgDetail},'%')
and `type` = #{type}
and `plat` = #{plat}
and `coupon_ids` like concat('%', #{couponIds},'%')
and `mechant_id` = #{mechantId}
and `sort_num` = #{sortNum}
and `status` = #{status}
and `create_time` = #{createTime}
and `update_time` = #{updateTime}
and id in
#{idItem}
order by ${sortColumns}