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:
@@ -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);
|
||||
}
|
||||
Reference in New Issue
Block a user