日期:2014-05-20 浏览次数:20895 次
try {
String a1 = new String(uname.getBytes("ISO8859-1"), "UTF-8");
listAllroundInfo = this.allroundInfoService.findByItem(a1, Long.parseLong(userId));
List<Long> dlist=new ArrayList<Long>();
if(!listAllroundInfo.isEmpty()){
for(AllroundInfo allroundInfo:listAllroundInfo){
System.out.println(allroundInfo.getSerialNumber());
dlist.add(allroundInfo.getSerialNumber());
}
long ser = Collections.max(dlist);
}
if (ids.length > 0) {
int serialNumber = 1;
for (int i = 0; i < ids.length; i++) {
allroundInfo = new AllroundInfo();
allroundInfo.setSerialNumber([color=#FF0000][b]ser[/b][/color]+1);
}
}
} catch (Exception e) {
e.printStackTrace();
return INPUT;
}
return SUCCESS;
}