以下存储过程,返回的记录集的字段又包含记录集,resultlist的属性Property是个记录集,在这种情况下如何解析所有信息呢?type PropertyList is table of Property index by binary_integer;---PropertyList对象,表Property的记录FUNCTION FUNC_Wechat_ClaimSearchList(i_ClientName in varchar2, i_CardNo in varchar2, i_LicenseNo in varchar2) return SearchClmList IS Propertys PropertyList;----对象,放在list的一个列中 resultlist SearchClmList; loopcount NUMBER := 1; vCaseStatus VARCHAR2(10); BEGIN loopcount := 1; FOR cf IN (select c.caseno --事故号 from c_claim c, p_public_policy cpp, c_property cp where cpp.insurantname = trim(i_ClientName) and c.ismain = '1' order by c.notifydate desc) LOOP --list中的子对象-- SELECT ce.ifobject, ca.ifauditpass, sum(ce.lossamount) lossamount BULK COLLECT INTO Propertys FROM c_estimatelist ce, c_lossitem cm, c_estimate ca WHERE ca.caseno = cf.caseno AND ce.estimateno = ca.estimateno GROUP BY ce.ifobject, ca.ifauditpass, cm.memo; ----赋值list----------- resultlist(loopcount).ClaimNo := cf.caseno; resultlist(loopcount).Property := Propertys;----赋值对象 loopcount := loopcount + 1; IF loopcount > 19 THEN EXIT; END IF; END LOOP; RETURN resultlist;----返回list END FUNC_Wechat_ClaimSearchList; 请问,spring如何解析resultlist呢,包括Property属性的所有信息,并将这些信息封装到java的list中呢?
提问题时,可以考虑把问题些的清晰些。。你这么一坨扔在这。。有多少人会看呢。。。
提问时,也要尊重帮助帮助回答问题的人。。