大赛管理功能

This commit is contained in:
tiger_zhou 2024-03-11 15:05:06 +08:00
parent 2f9ace88bd
commit 5579c4f461
2 changed files with 2 additions and 2 deletions

View File

@ -17,7 +17,7 @@ import org.springframework.stereotype.Repository;
public interface RacetrTaskDAO extends MyBatisBaseDao<RacetrTask, Long, RacetrTaskExample> {
@Select("<script>"
+ "select A.id,A.name,A.desc,A.content,A.standards,A.scene_id,B.name as sceneName, "
+ "select A.id,A.name,A.desc,A.content,A.standards,B.id as scene_id,B.name as sceneName, "
+ "A.score_rule_id as rule_id,C.name as ruleName,A.parent_id,"
+ "A.creator_id,A.create_time,A.updater_id,A.update_time,D.nickname as creatorName,E.nickname as updaterName "
+ " from racetr_task A left join racetr_scene B on A.scene_id = B.id "

View File

@ -66,7 +66,7 @@ public class TaskServiceTest {
@Test
public void detailTest() {
RaceTaskDetailVO vo = this.taskService.detail(1L);
RaceTaskDetailVO vo = this.taskService.detail(44L);
System.out.println(JsonUtils.writeValueAsString(vo));
}