Commit 9af79d3b authored by sunyuhua's avatar sunyuhua

上传成绩精确到分钟

parent 16ee46ee
...@@ -901,6 +901,7 @@ public class MicroApiController { ...@@ -901,6 +901,7 @@ public class MicroApiController {
LocalTime nowTime = LocalTime.now().withNano(0); LocalTime nowTime = LocalTime.now().withNano(0);
//提交时间,根据服务器的时间补充 //提交时间,根据服务器的时间补充
String subsectionTime=score.getScore().getDate()+" "+nowTime; String subsectionTime=score.getScore().getDate()+" "+nowTime;
log.info("提交成绩时间:"+subsectionTime);
//前端上传json中取出里程,耗时,提交时间,赛事地,规则id,markNo //前端上传json中取出里程,耗时,提交时间,赛事地,规则id,markNo
CmptScoreRuleScoreInfo cmptScoreRuleScoreInfo = new CmptScoreRuleScoreInfo().setCmptId(score.getCmptId()) CmptScoreRuleScoreInfo cmptScoreRuleScoreInfo = new CmptScoreRuleScoreInfo().setCmptId(score.getCmptId())
.setSubsectionscore(score.getScore().getDuration()).setSubsectionMileage(mileage).setCmptPace(cmptPace) .setSubsectionscore(score.getScore().getDuration()).setSubsectionMileage(mileage).setCmptPace(cmptPace)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment