`id`,`tenant_id`,`parent_tenant_id`,`msg_amount`,`coupon_amount`,`coupon_day`,`time_enable`,`time_start`,`time_end`,`create_time`,`update_time`,`enable` where 1 = 1 and `id` = #{id} and `tenant_id` = #{tenantId} and `parent_tenant_id` = #{parentTenantId} and `msg_amount` = #{msgAmount} and `coupon_amount` = #{couponAmount} and `coupon_day` = #{couponDay} and `time_enable` = #{timeEnable} and `time_start` like concat('%', #{timeStart},'%') and `time_end` like concat('%', #{timeEnd},'%') and `create_time` = #{createTime} and `update_time` = #{updateTime} and `enable` = #{enable} and id in #{idItem} order by ${sortColumns}