`id`,`tenant_id`,`parent_tenant_id`,`coupon_id`,
`type`,`name`,`merchant_phone`,`content_type`,
`douyin_id`,`douyin_id_status`,`take_rate`,`status`,
`start_time`,`end_time`,`commission_duration`,`create_date`,`update_date`
where 1 = 1
and `id` = #{id}
and `tenant_id` = #{tenantId}
and `parent_tenant_id` = #{parentTenantId}
and `coupon_id` = #{couponId}
and `type` = #{type}
and `name` = #{name}
and `douyin_id` = #{douyinId}
and `content_type` = #{contentType}
and `status` = #{status}
and id in
#{idItem}
order by ${sortColumns}