这样只查询了一个表的,我怎么样查询出关联表单的字段显示在页面
@At("/data")
@Ok("json:full")
@RequiresPermissions("platform.iff.article")
public Object data(@Param("length") int length, @Param("start") int start, @Param("draw") int draw, @Param("::order") List<DataTableOrder> order, @Param("::columns") List<DataTableColumn> columns) {
Cnd cnd = Cnd.NEW();
return iffArticleService.data(length, start, draw, order, columns, cnd, null);
}
前台接受数据的
"order": [[0, "desc"]],
"columns": [
{"data": "channelId", "bSortable": true},
{"data": "title", "bSortable": true},
{"data": "authorId", "bSortable": true},//关联表的ID
{"data": "releaseDate", "bSortable": true},
{"data": "disabled", "bSortable": true},
],