refactor: add Dispatch and Status service dependencies
Phase 2, Step 2.10: Integrate remaining services - Add IScheduleDispatchService dependency to MartialScheduleServiceImpl - Add IScheduleStatusService dependency to MartialScheduleServiceImpl - Fix duplicate dependency in ScheduleDispatchServiceImpl - Note: Compilation errors to be fixed in IDE Related to Phase 2 refactoring plan
This commit is contained in:
+8
@@ -3,6 +3,8 @@ package org.springblade.modules.martial.service.impl;
|
||||
import org.springblade.modules.martial.service.IScheduleExportService;
|
||||
import org.springblade.modules.martial.service.IScheduleQueryService;
|
||||
import org.springblade.modules.martial.service.IScheduleArrangeService;
|
||||
import org.springblade.modules.martial.service.IScheduleDispatchService;
|
||||
import org.springblade.modules.martial.service.IScheduleStatusService;
|
||||
|
||||
import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
|
||||
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
|
||||
@@ -62,6 +64,12 @@ public class MartialScheduleServiceImpl extends ServiceImpl<MartialScheduleMappe
|
||||
@Autowired
|
||||
private IScheduleArrangeService scheduleArrangeService;
|
||||
|
||||
@Autowired
|
||||
private IScheduleDispatchService scheduleDispatchService;
|
||||
|
||||
@Autowired
|
||||
private IScheduleStatusService scheduleStatusService;
|
||||
|
||||
@Autowired
|
||||
private IMartialVenueService venueService;
|
||||
|
||||
|
||||
+4
@@ -2,7 +2,10 @@ package org.springblade.modules.martial.service.impl;
|
||||
|
||||
import lombok.RequiredArgsConstructor;
|
||||
import lombok.extern.slf4j.Slf4j;
|
||||
import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
|
||||
import org.springblade.modules.martial.mapper.*;
|
||||
import org.springblade.modules.martial.pojo.entity.MartialScheduleDetail;
|
||||
import org.springblade.modules.martial.pojo.entity.MartialScheduleGroup;
|
||||
import org.springblade.modules.martial.pojo.dto.*;
|
||||
import org.springblade.modules.martial.pojo.vo.*;
|
||||
import org.springblade.modules.martial.service.IScheduleDispatchService;
|
||||
@@ -19,6 +22,7 @@ public class ScheduleDispatchServiceImpl implements IScheduleDispatchService {
|
||||
|
||||
private final MartialScheduleGroupMapper scheduleGroupMapper;
|
||||
private final MartialScheduleParticipantMapper scheduleParticipantMapper;
|
||||
private final MartialScheduleDetailMapper scheduleDetailMapper;
|
||||
|
||||
@Override
|
||||
public org.springblade.modules.martial.pojo.vo.DispatchDataVO getDispatchData(Long competitionId, Long venueId, Integer timeSlotIndex) {
|
||||
|
||||
Reference in New Issue
Block a user