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:
2026-01-18 00:35:35 +08:00
parent 76812dde03
commit aa6b7916f3
9 changed files with 4 additions and 0 deletions
@@ -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;