@At
@Ok("json:full")
@RequiresAuthentication
public Object data(@Param("..") NutMap param, @Param("length") int length, @Param("start") int start,
@Param("draw") int draw, @Param("::order") List<DataTableOrder> orders,
@Param("::columns") List<DataTableColumn> columns,HttpServletResponse resp) throws IOException, NoSuchFieldException, SecurityException, IllegalArgumentException, IllegalAccessException {
orders = Lists.newArrayList();
DataTableOrder order = new DataTableOrder();
order.setColumn(5);
order.setDir("asc");
orders.add(order);
Cnd cnd = Cnd.NEW();
if (param.getInt("userId") > 0)
cnd.and("userId", "=", param.getInt("userId"));
if (param.getLong("shortVedioId") > 0)
cnd.and("short_vedio_id", "=", param.getLong("shortVedioId"));
NutMap data = vedioService.data(length, start, draw, orders, columns, cnd, "appUser");
return data;
}
打印data获取vedioid得到的是147772825950748672
但是在页面得到的数据 id变成147772825950748670 了
long类型的 为啥。。。。