添加service

This commit is contained in:
tiger_zhou 2024-02-18 15:12:43 +08:00
parent 740dcefb4c
commit 2ce51aaac9
4 changed files with 123 additions and 0 deletions

View File

@ -0,0 +1,30 @@
package club.joylink.rtss.services.race;
import club.joylink.rtss.dao.race.RaceModuleDAO;
import club.joylink.rtss.services.runplan.importReal.NingBoLine1RunPlanNew;
import club.joylink.rtss.vo.AccountVO;
import club.joylink.rtss.vo.client.PageVO;
import club.joylink.rtss.vo.race.RaceModule.RaceModuleCreateVO;
import club.joylink.rtss.vo.race.RaceModule.RaceModuleQueryVO;
import java.util.List;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
@Service
public class RaceModuleServicce {
@Autowired
private RaceModuleDAO moduleDAO;
public void saveOrUpdate(RaceModuleCreateVO dto, AccountVO user) {
}
public PageVO<?> page(RaceModuleQueryVO vo) {
return null;
}
public List<?> findUnbindPaper() {
return null;
}
}

View File

@ -0,0 +1,30 @@
package club.joylink.rtss.services.race;
import club.joylink.rtss.dao.race.RaceSceneDAO;
import club.joylink.rtss.vo.AccountVO;
import club.joylink.rtss.vo.client.PageVO;
import club.joylink.rtss.vo.race.RaceSceneOuterClass.RaceSceneCreateVO;
import club.joylink.rtss.vo.race.RaceSceneOuterClass.RaceSceneQueryVO;
import club.joylink.rtss.vo.race.RaceSceneOuterClass.RaceSceneVO;
import club.joylink.rtss.vo.race.RaceSeasonOuterClass.RaceSeasonCreateVO;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import org.springframework.web.bind.annotation.RequestAttribute;
@Service
public class RaceSceneService {
@Autowired
private RaceSceneDAO sceneDAO;
public void saveOrUpdate(RaceSceneCreateVO dto, AccountVO user) {
if (dto.getId() <= 0) {
}
}
public PageVO<RaceSceneVO> page(RaceSceneQueryVO query) {
return null;
}
}

View File

@ -0,0 +1,34 @@
package club.joylink.rtss.services.race;
import club.joylink.rtss.dao.race.RaceSceneDAO;
import club.joylink.rtss.vo.AccountVO;
import club.joylink.rtss.vo.client.PageVO;
import club.joylink.rtss.vo.race.RaceScoringRule.RaceScoringRuleCreateVO;
import club.joylink.rtss.vo.race.RaceScoringRule.RaceScoringRuleQueryVO;
import club.joylink.rtss.vo.race.RaceScoringRule.RaceScoringRuleVO;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import org.springframework.web.bind.annotation.DeleteMapping;
import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestAttribute;
import org.springframework.web.bind.annotation.RequestBody;
@Service
public class RaceScoreRuleService {
@Autowired
private RaceSceneDAO sceneDAO;
public void saveOrUpdate(RaceScoringRuleCreateVO vo, AccountVO user) {
}
public PageVO<RaceScoringRuleVO> page(RaceScoringRuleQueryVO query) {
return null;
}
public void delete(Long id) {
}
}

View File

@ -0,0 +1,29 @@
package club.joylink.rtss.services.race;
import club.joylink.rtss.vo.AccountVO;
import club.joylink.rtss.vo.client.PageVO;
import club.joylink.rtss.vo.race.RaceTask.RaceTaskBind;
import club.joylink.rtss.vo.race.RaceTask.RaceTaskCreateVO;
import club.joylink.rtss.vo.race.RaceTask.RaceTaskQuery;
import org.springframework.stereotype.Service;
@Service
public class RaceTaskService {
public void saveOrUpdate(RaceTaskCreateVO vo, AccountVO user) {
}
public PageVO<?> page(RaceTaskQuery query) {
return null;
}
public void bindRule(RaceTaskBind bind) {
}
public void delete(Long id) {
}
}