diff --git a/hzims-service/inspect/src/main/java/com/hnac/hzinfo/inspect/obj/web/ProjectController.java b/hzims-service/inspect/src/main/java/com/hnac/hzinfo/inspect/obj/web/ProjectController.java index 753eb06..929d432 100644 --- a/hzims-service/inspect/src/main/java/com/hnac/hzinfo/inspect/obj/web/ProjectController.java +++ b/hzims-service/inspect/src/main/java/com/hnac/hzinfo/inspect/obj/web/ProjectController.java @@ -192,7 +192,7 @@ public class ProjectController { @ApiOperation(value = "获取巡检项目下的机构") @ApiOperationSupport(order = 9) public R getProjectDept() { - QueryWrapper queryWrapper = Wrappers.query().select("distinct create_dept deptId"); + QueryWrapper queryWrapper = Wrappers.query().select("distinct create_dept"); List deptIdList = projectService.listObjs(queryWrapper, Func::toLong); List result = deptIdList.stream().map(deptId -> new HashMap() {{ put("deptId", deptId);