|
@@ -42,18 +42,18 @@ namespace GxPress.Api.AppControllers
|
|
|
private readonly IUserMiddleService _userMiddleService;
|
|
|
private readonly IAnalyzeService _analyzeService;
|
|
|
private readonly ICommentRepository _commentRepository;
|
|
|
- public AppMeetingController(ILoginContext loginContext,
|
|
|
- IMeetingLocationRepository meetingLocationRepository,
|
|
|
- IMeetingOrderRepository meetingOrderRepository,
|
|
|
- IMeetingRepository meetingRepository,
|
|
|
- IMeetingRoomRepository meetingRoomRepository,
|
|
|
- IMeetingSummaryRepository meetingSummaryRepository,
|
|
|
- IUserRepository userRepository,
|
|
|
- IMeetingService meetingService,
|
|
|
- IMeetingSummaryTodoRepository meetingSummaryTodoRepository,
|
|
|
- IFlowAttachmentRepository flowAttachmentRepository,
|
|
|
- IUserMiddleService userMiddleService,
|
|
|
- IAnalyzeService analyzeService,
|
|
|
+ public AppMeetingController(ILoginContext loginContext,
|
|
|
+ IMeetingLocationRepository meetingLocationRepository,
|
|
|
+ IMeetingOrderRepository meetingOrderRepository,
|
|
|
+ IMeetingRepository meetingRepository,
|
|
|
+ IMeetingRoomRepository meetingRoomRepository,
|
|
|
+ IMeetingSummaryRepository meetingSummaryRepository,
|
|
|
+ IUserRepository userRepository,
|
|
|
+ IMeetingService meetingService,
|
|
|
+ IMeetingSummaryTodoRepository meetingSummaryTodoRepository,
|
|
|
+ IFlowAttachmentRepository flowAttachmentRepository,
|
|
|
+ IUserMiddleService userMiddleService,
|
|
|
+ IAnalyzeService analyzeService,
|
|
|
ICommentRepository commentRepository)
|
|
|
{
|
|
|
_loginContext = loginContext;
|
|
@@ -80,7 +80,7 @@ namespace GxPress.Api.AppControllers
|
|
|
public async Task<MeetingRoomsResult> ListRoom([FromQuery] MeetingRoomRequest request)
|
|
|
{
|
|
|
var locations = await _meetingLocationRepository.GetListAsync();
|
|
|
- var rooms = await _meetingRoomRepository.GetListAsync(request.LocationId);
|
|
|
+ var rooms = await _meetingRoomRepository.GetListAsync(request);
|
|
|
foreach (var room in rooms)
|
|
|
{
|
|
|
room.Address = await _meetingLocationRepository.GetAddress(room.LocationId);
|
|
@@ -184,7 +184,7 @@ namespace GxPress.Api.AppControllers
|
|
|
meeting.Description = request.Description;
|
|
|
//删除参会人员
|
|
|
var query = Q.NewQuery();
|
|
|
- query.Where(nameof(Entity.WorkMeeting.MeetingSummaryTodo.TypeId), 1);
|
|
|
+ query.Where(nameof(Entity.WorkMeeting.MeetingSummaryTodo.TypeId), 1);
|
|
|
query.Where(nameof(Entity.WorkMeeting.MeetingSummaryTodo.MeetingSummaryId), request.MeetingId);
|
|
|
await meetingSummaryTodoRepository.DeleteAsync(query);
|
|
|
//删除附件
|