|
@@ -1,6 +1,8 @@
|
|
package com.sky.ioc.controller.work;
|
|
package com.sky.ioc.controller.work;
|
|
|
|
|
|
|
|
+import com.sky.ioc.entity.domain.meeting.MeetingRecord;
|
|
import com.sky.ioc.entity.params.IocParam;
|
|
import com.sky.ioc.entity.params.IocParam;
|
|
|
|
+import com.sky.ioc.service.meeting.MeetingRecordService;
|
|
import com.sky.ioc.service.space.SpaceService;
|
|
import com.sky.ioc.service.space.SpaceService;
|
|
import com.sky.ioc.tool.ReturnMsg;
|
|
import com.sky.ioc.tool.ReturnMsg;
|
|
import io.swagger.annotations.Api;
|
|
import io.swagger.annotations.Api;
|
|
@@ -12,6 +14,9 @@ import org.springframework.web.bind.annotation.RequestBody;
|
|
import org.springframework.web.bind.annotation.RequestMapping;
|
|
import org.springframework.web.bind.annotation.RequestMapping;
|
|
import org.springframework.web.bind.annotation.RestController;
|
|
import org.springframework.web.bind.annotation.RestController;
|
|
|
|
|
|
|
|
+import java.util.List;
|
|
|
|
+import java.util.Map;
|
|
|
|
+
|
|
/**
|
|
/**
|
|
* TODO
|
|
* TODO
|
|
*
|
|
*
|
|
@@ -30,6 +35,9 @@ public class MeetingController {
|
|
@Autowired
|
|
@Autowired
|
|
private SpaceService spaceService;
|
|
private SpaceService spaceService;
|
|
|
|
|
|
|
|
+ @Autowired
|
|
|
|
+ private MeetingRecordService meetingRecordService;
|
|
|
|
+
|
|
|
|
|
|
@ApiOperation("核心指标")
|
|
@ApiOperation("核心指标")
|
|
@PostMapping("/getMeetingCoreIndicators")
|
|
@PostMapping("/getMeetingCoreIndicators")
|
|
@@ -47,10 +55,18 @@ public class MeetingController {
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
+ @ApiOperation("会议室情况(分楼层)")
|
|
|
|
+ @PostMapping("/getConferenceRoomTreeInfo")
|
|
|
|
+ public ReturnMsg getConferenceRoomTreeInfo(@RequestBody IocParam iocParam){
|
|
|
|
+ Map map = meetingRecordService.queryMeetingTreeList(iocParam);
|
|
|
|
+ return ReturnMsg.ok(map);
|
|
|
|
+ }
|
|
|
|
+
|
|
@ApiOperation("会议室情况")
|
|
@ApiOperation("会议室情况")
|
|
@PostMapping("/getConferenceRoomInfo")
|
|
@PostMapping("/getConferenceRoomInfo")
|
|
public ReturnMsg getConferenceRoomInfo(@RequestBody IocParam iocParam){
|
|
public ReturnMsg getConferenceRoomInfo(@RequestBody IocParam iocParam){
|
|
- return spaceService.getConferenceRoomInfo(iocParam);
|
|
|
|
|
|
+ List<MeetingRecord> records = meetingRecordService.queryMeetingList(iocParam);
|
|
|
|
+ return ReturnMsg.ok(records);
|
|
}
|
|
}
|
|
|
|
|
|
|
|
|