SQL查询返回数据多列,保存在list中时,怎么取值

SQL:


select DISTINCT a.as_id as id,a.as_subjectnum as subjectnum from Pm_Announcementsubjectinfo a where a.as_Auctiontime like '%2015.05%'

返回的数据为List:[[82061cd1c8924cb8b0076922a47f95d7, null], [62fffa9b59d5438ca107bce049eddbb6, 1], [931a30f043934da2a81e38df6dfc1c49, 20], [7f8419fed9144b80b094375ab0d77823, 30], [2010ab16193a4f7788d8d18d19049c50, 1], [2ed739bf12d2477a9932e2732c07506a, 30], [69b0fb6dd9d142ee97ff22c3764c494d, 1], [f0db527affe44c2dbed7ca2b3661742a, null], [29f922d8bfd444ed87658aa374a1d35e, null], null]

取值:    

List list = announcementsubjectService.findeverymonthmoneyin("",strs,combotypes,area,department); //实入公司帐
if (list != null && list.size() > 0) {
	for (int m=0;m




你可能感兴趣的:(java)