| | |
| | | } |
| | | |
| | | /** |
| | | * 会议室保存 |
| | | * 会议室配置保存 |
| | | * |
| | | * @param request |
| | | * @return |
| | |
| | | } |
| | | |
| | | /** |
| | | * 会议室删除 |
| | | * 会议室配置删除 |
| | | * |
| | | * @param request |
| | | * @return |
| | |
| | | |
| | | |
| | | /** |
| | | * 会议室申请 |
| | | * 会议(会议室)申请列表 |
| | | * |
| | | * @param request |
| | | * @return |
| | |
| | | |
| | | |
| | | /** |
| | | * 会议室配置详情 |
| | | * 会议(会议室)申请详情 |
| | | * |
| | | * @param request |
| | | * @return |
| | |
| | | } |
| | | |
| | | /** |
| | | * 会议室申请保存 |
| | | * 会议(会议室)申请保存 |
| | | * |
| | | * @param request |
| | | * @return |
| | |
| | | } |
| | | |
| | | /** |
| | | * 会议室申请删除 |
| | | * 会议(会议室)申请删除 |
| | | * |
| | | * @param request |
| | | * @return |
| | |
| | | } |
| | | |
| | | /** |
| | | * 会议预约看板功能 |
| | | * 会议看板 |
| | | * @param request |
| | | * @return |
| | | */ |
| | |
| | | return this.error(SystemCode.CONFERENCE_ROOM_GET_FIAL.getValue(), SystemCode.CONFERENCE_ROOM_GET_FIAL.getText() + e.getMessage()); |
| | | } |
| | | } |
| | | |
| | | /** |
| | | * 会议预约看板功能 |
| | | * @param request |
| | | * @return |
| | | */ |
| | | // @PostMapping("/get_kb_Data/{version}") |
| | | // @ApiVersion(1) |
| | | // public String getkbData(HttpServletRequest request){ |
| | | // try { |
| | | // //获取参数 |
| | | // FieldSetEntity fse = BaseUtil.getFieldSetEntity(request); |
| | | // List kbData = conferenceManagerService.getkbData(fse); |
| | | // return OK(kbData); |
| | | // } catch (BaseException e) { |
| | | // e.printStackTrace(); |
| | | // return this.error(e.getCode(), e.getMessage()); |
| | | // } catch (Exception e) { |
| | | // e.printStackTrace(); |
| | | // return this.error(SystemCode.CONFERENCE_ROOM_GET_FIAL.getValue(), SystemCode.CONFERENCE_ROOM_GET_FIAL.getText() + e.getMessage()); |
| | | // } |
| | | // } |
| | | |
| | | /** |
| | | * 获取会议预约详情 |
| | |
| | | } |
| | | } |
| | | |
| | | /** |
| | | * 会议室预约保存更新功能 |
| | | * @param request |
| | | * @return |
| | | */ |
| | | |
| | | @PostMapping("/save_or_update_meeting_info/{version}") |
| | | @ApiVersion(1) |
| | | public String saveOrUpdateMeetingInfo(HttpServletRequest request){ |
| | | try { |
| | | //获取参数 |
| | | FieldSetEntity fse = BaseUtil.getFieldSetEntity(request); |
| | | HashMap hashMap = conferenceManagerService.saveOrUpdateMeetingInfo(fse); |
| | | return OK(hashMap); |
| | | } catch (BaseException e) { |
| | | e.printStackTrace(); |
| | | return this.error(e.getCode(), e.getMessage()); |
| | | } catch (Exception e) { |
| | | e.printStackTrace(); |
| | | return this.error(SystemCode.CONFERENCE_ROOM_GET_FIAL.getValue(), SystemCode.CONFERENCE_ROOM_GET_FIAL.getText() + e.getMessage()); |
| | | } |
| | | } |
| | | // /** |
| | | // * 会议室预约保存更新功能 |
| | | // * @param request |
| | | // * @return |
| | | // */ |
| | | // |
| | | // @PostMapping("/save_or_update_meeting_info/{version}") |
| | | // @ApiVersion(1) |
| | | // public String saveOrUpdateMeetingInfo(HttpServletRequest request){ |
| | | // try { |
| | | // //获取参数 |
| | | // FieldSetEntity fse = BaseUtil.getFieldSetEntity(request); |
| | | // conferenceManagerService.saveOrUpdateMeetingInfo(fse); |
| | | // return OK(); |
| | | // } catch (BaseException e) { |
| | | // e.printStackTrace(); |
| | | // return this.error(e.getCode(), e.getMessage()); |
| | | // } catch (Exception e) { |
| | | // e.printStackTrace(); |
| | | // return this.error(SystemCode.CONFERENCE_ROOM_GET_FIAL.getValue(), SystemCode.CONFERENCE_ROOM_GET_FIAL.getText() + e.getMessage()); |
| | | // } |
| | | // } |
| | | |
| | | |
| | | /** |
| | |
| | | return this.error(SystemCode.CONFERENCE_APPLY_FIND_FIAL.getValue(), SystemCode.CONFERENCE_APPLY_FIND_FIAL.getText() + e.getMessage()); |
| | | } |
| | | } |
| | | |
| | | /** |
| | | * 获取会议纪要列表 |
| | | * @param request |
| | | * @return |
| | | */ |
| | | @PostMapping("/find-meeting-minute/{version}") |
| | | @ApiVersion(1) |
| | | public String findMeetingMinute(HttpServletRequest request) { |
| | | try { |
| | | FieldSetEntity fse = BaseUtil.getFieldSetEntity(request); |
| | | // 判断分页参数是否正常 |
| | | if (StringUtils.isEmpty(fse.getString(CmnConst.UUID)) |
| | | && StringUtils.isEmpty(fse.getString("meeting_uuid"))) { |
| | | return this.error(SystemCode.SYSTEM_FORM_COUNT.getValue(), SystemCode.SYSTEM_FORM_COUNT.getText()); |
| | | } |
| | | return OK_List(conferenceManagerService.findMeetingMinute(fse)); |
| | | } catch (BaseException e) { |
| | | e.printStackTrace(); |
| | | return this.error(e.getCode(), e.getMessage()); |
| | | } catch (Exception e) { |
| | | e.printStackTrace(); |
| | | return this.error(SystemCode.CONFERENCE_APPLY_FIND_FIAL.getValue(), SystemCode.CONFERENCE_APPLY_FIND_FIAL.getText() + e.getMessage()); |
| | | } |
| | | } |
| | | |
| | | /** |
| | | * 发送消息 |