大赛管理功能

This commit is contained in:
tiger_zhou 2024-03-11 10:45:05 +08:00
parent ae06533192
commit 7404c0bfb8
1 changed files with 4 additions and 2 deletions

View File

@ -119,8 +119,10 @@ public class RaceSceneService {
ModifyInfoVO modifyInfoVO = RaceServiceUtil.createModifyInfo(rs.getCreatorId(), rs.getCreatorName(), rs.getUpdaterId(), rs.getUpdaterName(), rs.getCreateTime(), rs.getUpdateTime());
vo.setModifyInfo(modifyInfoVO);
vo.setType(Type.valueOf(rs.getType()));
vo.setMapId(rs.getMapId());
vo.setMapName(rs.getMapName());
if (Objects.nonNull(rs.getMapId())) {
vo.setMapId(rs.getMapId());
vo.setMapName(rs.getMapName());
}
return vo.build();
}