Browse Source

# 巡检对象所属机构查询条件失效问题

zhongwei
haungxing 11 months ago
parent
commit
c38a857ae2
  1. 2
      hzims-service/inspect/src/main/java/com/hnac/hzinfo/inspect/obj/vo/ObjectListQueryVO.java
  2. 1
      hzims-service/inspect/src/main/java/com/hnac/hzinfo/inspect/obj/web/ObjectController.java

2
hzims-service/inspect/src/main/java/com/hnac/hzinfo/inspect/obj/vo/ObjectListQueryVO.java

@ -44,5 +44,7 @@ public class ObjectListQueryVO implements Serializable {
@ApiModelProperty(value = "支持的巡检类型 0普通巡检,1视频自动巡检,2机器人巡检")
private String supportAutoVideo;
@ApiModelProperty(value = "所属机构")
private Long createDept;
}

1
hzims-service/inspect/src/main/java/com/hnac/hzinfo/inspect/obj/web/ObjectController.java

@ -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);

Loading…
Cancel
Save