#判断某实体是否存在 #sql("hasRecord") select exists( select 1 from #(_PARA_ARRAY_[0]) where chainId=#para(1) and hash=#para(2) limit 1 ) #end