大赛管理功能
This commit is contained in:
parent
cade3772cd
commit
cc58504b5b
|
@ -1 +1 @@
|
|||
Subproject commit 339190b74e518b397088b00a94e99400c1b8996b
|
||||
Subproject commit 0775145d03e0297189d0536f53aeb3071148ee9f
|
|
@ -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")
|
||||
|
|
|
@ -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);
|
||||
|
|
Loading…
Reference in New Issue