@ -44,5 +44,7 @@ public class ObjectListQueryVO implements Serializable {
@ApiModelProperty(value = "支持的巡检类型 0普通巡检,1视频自动巡检,2机器人巡检")
private String supportAutoVideo;
@ApiModelProperty(value = "所属机构")
private Long createDept;
}
@ -101,6 +101,7 @@ public class ObjectController extends BladeController {
entity.setCode(object.getCode());
entity.setName(object.getName());
entity.setStatus(object.getStatus());
entity.setCreateDept(object.getCreateDept());
entity.setSupportAutoVideo(object.getSupportAutoVideo());
pages.setRecords(objectService.getListPage(pages,entity));
return R.data(pages);