refactor: define IMiniQueryService interface

Phase 1, Step 1.4.1: Extract query logic interface
- Define getAthletes() method
- Define getScoreDetail() method

Related to Phase 1 refactoring plan
This commit is contained in:
2026-01-17 18:22:49 +08:00
parent 1cecb8330f
commit 33a8df4297
@@ -0,0 +1,24 @@
package org.springblade.modules.martial.service;
import org.springblade.core.tool.api.R;
import org.springblade.modules.martial.pojo.vo.MiniAthleteScoreVO;
import org.springblade.modules.martial.pojo.vo.MiniScoreDetailVO;
import java.util.List;
/**
* Mini App Query Service
* Phase 1, Step 1.4.1: Extract query logic from controller
*/
public interface IMiniQueryService {
/**
* Get athletes for scoring
*/
R<List<MiniAthleteScoreVO>> getAthletes(Long projectId, Long venueId);
/**
* Get score detail for athlete
*/
R<MiniScoreDetailVO> getScoreDetail(Long athleteId);
}