ITeye博客

向已获取的list中插入值

pphqq · 2011-08-08 11:23 · java · 编程语言 · Markdown

public List getWfList(String id){ NetSpGeneralbillInfo vo = this.findOne(id); String sql = " select flowId,pdkey pd from net_SP_billAndWf where billId='"+vo.getBillId()+"' "; List list = this.getListBySql(sql);

	NetWorkInstanceUtil instanceutil = new NetWorkInstanceUtil();
	Map pds = instanceutil.getPdDescriptions();
	for(int i=0;i<list.size();i++){
		Object obj = (Object)list.get(i);
		obj= pds.get(obj.toString());//<span style="color:red">pd值发生改变</span>
	}
	
	return list;
}

评论(0)

暂无评论。

评论功能维护中,当前仅展示历史评论。