{
String idStr = request.getParameter("orderId");
// String[] ids = idStr.split(",");
List<Orders> orderList = orderService.queryOrders("from Orders o where o.id in ("+idStr+")", new Object[]{});
if(null!=orderList&&orderList.size()>0){
Orders order = orderList.get(0);
order.setConfirmtime(new Date());
order.setStatus(Orders.STATUS_CONFIRM);
orderService.updateOrder(order);