0
我試圖執行在規劃環境地政司下面的行,但它不工作:spring.net表達式求值,spel-列表迭代
FileAttachments.?{DownloadedPath.Contains('CMA')}.count()>0
哪裏FileAttachments
是其財產被DownloadedPath
FileAttachment
類的對象列表。
基本上我試圖檢查是否有FileAttachment
的DownloadedPath
屬性包含「CMA」。
但它返回錯誤:
Selection can only be used on an instance of the type that implements IEnumerable.