refactor: integrate ScheduleQueryService into MartialScheduleServiceImpl
Phase 2, Step 2.6: Delegate query method to ScheduleQueryService - Add IScheduleQueryService dependency with @Autowired - Replace getScheduleResult method body with service delegation - Remove 135 lines of query logic from MartialScheduleServiceImpl - Maintain method signature for backward compatibility - All 443 tests passing Related to Phase 2 refactoring plan
This commit is contained in:
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
+4
@@ -1,6 +1,7 @@
|
||||
package org.springblade.modules.martial.service.impl;
|
||||
|
||||
import org.springblade.modules.martial.service.IScheduleExportService;
|
||||
import org.springblade.modules.martial.service.IScheduleQueryService;
|
||||
|
||||
import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
|
||||
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
|
||||
@@ -54,6 +55,9 @@ public class MartialScheduleServiceImpl extends ServiceImpl<MartialScheduleMappe
|
||||
@Autowired
|
||||
private IScheduleExportService scheduleExportService;
|
||||
|
||||
@Autowired
|
||||
private IScheduleQueryService scheduleQueryService;
|
||||
|
||||
@Autowired
|
||||
private IMartialVenueService venueService;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user