|
@@ -117,4 +117,31 @@ public class AppRoomController extends BaseController {
|
|
|
return remoteRoomService.deleteComprehensiveRoomByIds(id.toArray(new String[0]));
|
|
|
}
|
|
|
|
|
|
+ /**
|
|
|
+ * 楼栋的单元数
|
|
|
+ * @param num
|
|
|
+ * @return
|
|
|
+ */
|
|
|
+ @GetMapping("/comprehensiveroom/getunitList")
|
|
|
+ public AjaxResult getunitList(@RequestParam("num") String num){
|
|
|
+ return remoteRoomService.getunitList(num);
|
|
|
+ }
|
|
|
+
|
|
|
+ /**
|
|
|
+ * 房间id
|
|
|
+ * @param id
|
|
|
+ * @return
|
|
|
+ */
|
|
|
+ @GetMapping("/comprehensiveroom/getAllUserInfo")
|
|
|
+ public AjaxResult getAllUserInfo(@RequestParam("id") String id){
|
|
|
+ return remoteRoomService.getAllUserInfo(id);
|
|
|
+ }
|
|
|
+
|
|
|
+ /**
|
|
|
+ * 新增房间绑定人员
|
|
|
+ */
|
|
|
+ @PostMapping("/comprehensiveroom/addRoomBindPerson")
|
|
|
+ public AjaxResult addRoomBindPerson(@RequestBody String json) {
|
|
|
+ return remoteRoomService.addRoomBindPerson(json);
|
|
|
+ }
|
|
|
}
|