`id`, `tenant_id`, `parent_tenant_id`, `name`, `status`, `create_date`,`update_date`,`allow_count` where `tenant_id` = #{tenantId} and `id` = #{id} and `parent_tenant_id` = #{parentTenantId} and `status` = #{status} and `name` like concat('%', #{name},'%') and `id` in #{idItem} update wx_coupon_batch set status = #{status} where `id` = #{id} and tenant_id=#{tenantId} delete from wx_coupon_batch where `id` = #{id} and tenant_id=#{tenantId}