问题描述
查询语句如下:publicListAllFeedBack()throwsSQLException{ArrayListlist=newArrayList();StringBuffersql=newStringBuffer("selectb.username,a.fb_userid,a.fb_title,a.fb_classes,a.fb_content,a.fb_picturefile,casea.fb_massegestatewhen0then'未处理'when1then'等待回复'when2then'处理完毕'end,a.fb_systimefromfb_allinfoa,rl_employeesbwherea.fb_userid=b.userid");System.out.println(sql);Listresult=jdbc.getQueryResult(sql.toString());Iteratorit=result.iterator();while(it.hasNext()){Object[]oo=(Object[])it.next();list.add(oo[0].toString());}returnresult;}
解决方案
解决方案二:
各位帮帮忙吧,页面出现乱码的原因是什么??
时间: 2024-09-26 15:53:16