|
|
@@ -205,10 +205,10 @@ public class OaMeetingReserveController {
|
|
|
|
|
|
@GetMapping("/list")
|
|
|
@Operation(summary = "获得会议室预定管理信息列表")
|
|
|
- @Parameter(name = "roomId", description = "会议室id", required = true, example = "2")
|
|
|
+ @Parameter(name = "roomId", description = "会议室id", required = false, example = "2")
|
|
|
@Parameter(name = "month", description = "年月,格式:yyyy-MM", required = true, example = "2024-07")
|
|
|
// @PreAuthorize("@ss.hasPermission('bpm:oa-meeting-reserve:list')")
|
|
|
- public CommonResult<List<OaMeetingReserveRespVO>> getOaMeetingReserveList(@RequestParam("roomId") Long roomId, @RequestParam("month") String month) throws ParseException {
|
|
|
+ public CommonResult<List<OaMeetingReserveRespVO>> getOaMeetingReserveList(@RequestParam(value = "roomId", required = false) Long roomId, @RequestParam("month") String month) throws ParseException {
|
|
|
List<OaMeetingReserveDO> doList = oaMeetingReserveService.getOaMeetingReserveList(roomId, month);
|
|
|
List<OaMeetingReserveRespVO> voList = BeanUtils.toBean(doList, OaMeetingReserveRespVO.class);
|
|
|
if (CollUtil.isNotEmpty(voList)) {
|