cmd1.CommandText = "S ELECT distinct 分界点日 F rom (S ELECT 处置日1 as 分界点日 F rom {合并范围} where [审计截止日] = '" & rq & "' and 项目公司编号 = '" & XMGS_id & "' and 处置日1 is not null union all S ELECT 购买日1 as 分界点日 F rom {合并范围} where [审计截止日] = '" & rq & "' and 项目公司编号 = '" & XMGS_id & "' and 购买日1 is not null) abc"