日期:2014-05-18 浏览次数:21039 次
List symptom=null;
List benefit=null;
for (int i=0; i<foodlist.size() ;i++)
{
Food food = (Food)foodlist.get(i);
for(int j=0;j<foodDao.searchfood1(food.getFood1()).size();j++){
System.out.println(foodDao.searchfood1(food.getFood1()).size());
symptom.add(foodDao.searchfood1(food.getFood1()).get(j));
System.out.println(foodDao.searchfood1(food.getFood1()).get(j).getFood2());
}