数据集查询语句:with temp0 as
(SELECT TOP 1 ppid,合同编号 as 开始编号 FROM [dbo].[jyjc_多组编号] where ppid = '${id}')
select 开始编号 AS 编号 from temp0
你这就是根据id和uuid相同才查询出一条数据
没有数据就代表id和uuid不同