大赛管理功能

This commit is contained in:
tiger_zhou 2024-02-23 11:04:38 +08:00
parent cade3772cd
commit cc58504b5b
3 changed files with 1 additions and 14 deletions

@ -1 +1 @@
Subproject commit 339190b74e518b397088b00a94e99400c1b8996b
Subproject commit 0775145d03e0297189d0536f53aeb3071148ee9f

View File

@ -47,10 +47,6 @@ public class RaceTaskController {
this.taskService.bind(taskId, bind, user);
}
@PostMapping("/bind/all")
public void bindAll(@RequestBody RaceTaskBindAll binds, @RequestAttribute AccountVO user) {
this.taskService.bindAll(binds, user);
}
//返回基本信息id,name
@GetMapping("/tree")

View File

@ -123,15 +123,6 @@ public class RaceTaskService extends RaceService {
this.raceTaskDAO.updateByPrimaryKey(task);
}
public void bindAll(RaceTaskBindAll all, AccountVO user) {
RacetrTask task = this.findById(all.getTaskId());
task.setScoreRuleId(all.getRuleId());
task.setSceneId(all.getSceneId());
task.setUpdaterId(user.getId());
task.setUpdateTime(LocalDateTime.now());
this.raceTaskDAO.updateByPrimaryKey(task);
}
public List<RaceTaskTreeVO> tree() {
List<RacetrTask> taskList = this.raceTaskDAO.selectByExample(null);