大赛管理功能

This commit is contained in:
tiger_zhou 2024-02-23 10:52:42 +08:00
parent 1931e5f52f
commit 6288c72829
1 changed files with 3 additions and 2 deletions

View File

@ -59,8 +59,9 @@ public class RaceTaskService extends RaceService {
vo.setParentId(task.getParentId());
ModifyInfoVO modifyInfoVO = this.createModifyInfo(accountMap, task.getCreatorId(), task.getUpdaterId(), task.getCreateTime(), task.getUpdateTime());
vo.setModifyInfo(modifyInfoVO);
vo.setSceneId(task.getSceneId());
vo.setRuleId(task.getScoreRuleId());
vo.setSceneId(Objects.isNull(task.getSceneId()) ? 0L : task.getSceneId());
vo.setRuleId(Objects.isNull(task.getScoreRuleId()) ? 0L : task.getScoreRuleId());
return vo.build();
}