杜洪波
2025-10-20 77a145b91efa63fddd18ba243ddc95a631620f72
src/main/java/com/product/administration/controller/ConferenceManagerController.java
@@ -111,7 +111,7 @@
    }
    /**
     * 会议室保存
     * 会议室配置保存
     *
     * @param request
     * @return
@@ -137,7 +137,7 @@
    }
    /**
     * 会议室删除
     * 会议室配置删除
     *
     * @param request
     * @return
@@ -169,7 +169,7 @@
    /**
     * 会议室申请
     * 会议(会议室)申请列表
     *
     * @param request
     * @return
@@ -201,7 +201,7 @@
    /**
     * 会议室配置详情
     * 会议(会议室)申请详情
     *
     * @param request
     * @return
@@ -232,7 +232,7 @@
    }
    /**
     * 会议室申请保存
     * 会议(会议室)申请保存
     *
     * @param request
     * @return
@@ -258,7 +258,7 @@
    }
    /**
     * 会议室申请删除
     * 会议(会议室)申请删除
     *
     * @param request
     * @return
@@ -310,7 +310,7 @@
    }
    
    /**
     * 会议预约看板功能
     * 会议看板
     * @param request
     * @return
     */
@@ -332,18 +332,41 @@
    }
    /**
     * 会议预约看板功能
     * 获取会议预约详情
     * @param request
     * @return
     */
//    @PostMapping("/get_kb_Data/{version}")
    @PostMapping("/get-meeting-records/{version}")
    @ApiVersion(1)
    public String getMeetingDetails(HttpServletRequest request){
       try {
           //获取参数
           FieldSetEntity fse = BaseUtil.getFieldSetEntity(request);
           DataTableEntity meetingDetails = conferenceManagerService.getMeetingRecords(fse);
           return OK_List(meetingDetails);
       }  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 getkbData(HttpServletRequest request){
//    public String saveOrUpdateMeetingInfo(HttpServletRequest request){
//       try {
//           //获取参数
//           FieldSetEntity fse = BaseUtil.getFieldSetEntity(request);
//           List kbData = conferenceManagerService.getkbData(fse);
//           return OK(kbData);
//           conferenceManagerService.saveOrUpdateMeetingInfo(fse);
//           return OK();
//       }  catch (BaseException e) {
//            e.printStackTrace();
//            return this.error(e.getCode(), e.getMessage());
@@ -352,51 +375,6 @@
//            return this.error(SystemCode.CONFERENCE_ROOM_GET_FIAL.getValue(), SystemCode.CONFERENCE_ROOM_GET_FIAL.getText() + e.getMessage());
//        }
//    }
    /**
     * 获取会议预约详情
     * @param request
     * @return
     */
    @PostMapping("/get_Meeting_Details/{version}")
    @ApiVersion(1)
    public String getMeetingDetails(HttpServletRequest request){
       try {
           //获取参数
           FieldSetEntity fse = BaseUtil.getFieldSetEntity(request);
           List meetingDetails = conferenceManagerService.getMeetingDetails(fse);
           return OK(meetingDetails);
       }  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());
        }
    }
    /**
@@ -494,7 +472,7 @@
     * @param request
     * @return
     */
    @PostMapping("/get_sign_or_visit_info/{version}")
    @PostMapping("/list-meeting-minute/{version}")
    @ApiVersion(1)
    public String listMeetingMinute(HttpServletRequest request) {
       try {
@@ -513,6 +491,31 @@
            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());
        }
   }
    /**
     * 发送消息