add 会议发布增加权限
This commit is contained in:
+14
-1
@@ -6,4 +6,17 @@ VALUES ('1476073127111663617', '发布状态', 'release', '', 0, 'LKGLZ', '2021-
|
||||
INSERT INTO sys_dict_item (id, dict_id, item_text, item_value, description, sort_order, status, create_by, create_time)
|
||||
VALUES ('1476073184066117633', '1476073127111663617', '未发布', '0', '', 1, 1, 'LKGLZ', '2021-12-29 14:10:45');
|
||||
INSERT INTO sys_dict_item (id, dict_id, item_text, item_value, description, sort_order, status, create_by, create_time)
|
||||
VALUES ('1476073211874353153', '1476073127111663617', '已发布', '1', '', 1, 1, 'LKGLZ', '2021-12-29 14:10:52');
|
||||
VALUES ('1476073211874353153', '1476073127111663617', '已发布', '1', '', 1, 1, 'LKGLZ', '2021-12-29 14:10:52');
|
||||
|
||||
INSERT INTO sys_permission (id, parent_id, name, perms, perms_type, sort_no, menu_type, is_leaf, is_route, keep_alive,
|
||||
create_by, del_flag, hidden, create_time, status, always_show, internal_or_external)
|
||||
VALUES ('1476097581552345089', '1438072102897672193', '发布', 'internalMeeting:release', '1', 1.0, 2, true, true, false,
|
||||
'LKGLZ', 0, false, '2021-12-29 15:47:42', '1', false, false);
|
||||
INSERT INTO sys_permission (id, parent_id, name, perms, perms_type, sort_no, menu_type, is_leaf, is_route, keep_alive,
|
||||
create_by, del_flag, hidden, create_time, status, always_show, internal_or_external)
|
||||
VALUES ('1476097698292408321', '1438072308749918210', '发布', 'otherMeeting:release', '1', 1.0, 2, true, true, false,
|
||||
'LKGLZ', 0, false, '2021-12-29 15:48:10', '1', false, false);
|
||||
INSERT INTO sys_permission (id, parent_id, name, perms, perms_type, sort_no, menu_type, is_leaf, is_route, keep_alive,
|
||||
create_by, del_flag, hidden, create_time, status, always_show, internal_or_external)
|
||||
VALUES ('1476097803296808961', '1443470646404014081', '发布', 'standardsMeeting:release', '1', 1.0, 2, true, true, false,
|
||||
'LKGLZ', 0, false, '2021-12-29 15:48:35', '1', false, false);
|
||||
+12
-1
@@ -19,6 +19,7 @@ import com.jero.meeting.entity.PayMeetingHotelContacts;
|
||||
import com.jero.meeting.service.IPayMeetingHotelContactsService;
|
||||
import com.jero.meeting.service.IPayMeetingService;
|
||||
import com.jero.meeting.vo.PayMeetingVO;
|
||||
import com.jero.meeting.vo.PublishReminderVO;
|
||||
import com.jero.meeting.vo.UploadFileVO;
|
||||
import com.jero.modules.oss.service.IOSSFileService;
|
||||
import com.jero.modules.system.volid.group.UpdateGroup;
|
||||
@@ -218,5 +219,15 @@ public class InternalMeetingController extends JeroController<PayMeeting, IPayMe
|
||||
payMeetingService.uploadFile(uploadFileVO, MeetingCommon.INTERNATIONAL_MEETING_INT);
|
||||
return Result.OK("上传会议纪要成功!");
|
||||
}
|
||||
|
||||
/**
|
||||
* 发布
|
||||
*/
|
||||
@AutoLog("发布")
|
||||
@RequiresPermissions("internalMeeting:release")
|
||||
@ApiOperation(value = "发布")
|
||||
@PostMapping(value = "/release")
|
||||
public Result<?> release(@RequestBody PublishReminderVO publishReminderVO) {
|
||||
payMeetingService.release(publishReminderVO);
|
||||
return Result.OK();
|
||||
}
|
||||
}
|
||||
|
||||
+13
-1
@@ -19,6 +19,7 @@ import com.jero.meeting.entity.PayMeetingHotelContacts;
|
||||
import com.jero.meeting.service.IPayMeetingHotelContactsService;
|
||||
import com.jero.meeting.service.IPayMeetingService;
|
||||
import com.jero.meeting.vo.PayMeetingVO;
|
||||
import com.jero.meeting.vo.PublishReminderVO;
|
||||
import com.jero.meeting.vo.UploadFileVO;
|
||||
import com.jero.modules.oss.service.IOSSFileService;
|
||||
import com.jero.modules.system.volid.group.UpdateGroup;
|
||||
@@ -189,7 +190,7 @@ public class OtherMeetingController extends JeroController<PayMeeting, IPayMeeti
|
||||
payMeeting.setMeetingType(MeetingCommon.OTHER_MEETING_INT);
|
||||
IPage<PayMeeting> queryPageList = payMeetingService.queryPageList(payMeeting, -1, -1, request);
|
||||
|
||||
List<Object> exportList = payMeetingService.getExportList(request,queryPageList);
|
||||
List<Object> exportList = payMeetingService.getExportList(request, queryPageList);
|
||||
Class<?> aClass = payMeetingService.getaClass(MeetingCommon.OTHER_MEETING_INT);
|
||||
return super.exportListXls(exportList, aClass, "会议管理");
|
||||
}
|
||||
@@ -218,4 +219,15 @@ public class OtherMeetingController extends JeroController<PayMeeting, IPayMeeti
|
||||
return Result.OK("上传会议纪要成功!");
|
||||
}
|
||||
|
||||
/**
|
||||
* 发布
|
||||
*/
|
||||
@AutoLog("发布")
|
||||
@RequiresPermissions("otherMeeting:release")
|
||||
@ApiOperation(value = "发布")
|
||||
@PostMapping(value = "/release")
|
||||
public Result<?> release(@RequestBody PublishReminderVO publishReminderVO) {
|
||||
payMeetingService.release(publishReminderVO);
|
||||
return Result.OK();
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user