Commit 8cdbf1e5 authored by sunyuhua's avatar sunyuhua

成绩自动提交后台代码

parent 0fda7af5
...@@ -850,7 +850,7 @@ public class MicroApiController { ...@@ -850,7 +850,7 @@ public class MicroApiController {
if(rule == null) return Result.fail().setMsg("未找到规则"); if(rule == null) return Result.fail().setMsg("未找到规则");
//判断此条规则是否提交过成绩 //判断此条规则是否提交过成绩
Integer scoreId = cmptScoreRuleService.getCmptScoreRulesMapByMarkNoAndRuleId(score.getCmptId(),score.getMarkNo(),rule.getId()); Integer scoreId = cmptScoreRuleScoreInfoService.getCmptScoreRuleScoreInfoIdByruleIdAndMarkNo(score.getCmptId(),score.getMarkNo(),rule.getId());
if(scoreId != null){ if(scoreId != null){
return Result.fail().setMsg("已经上传过成绩!"); return Result.fail().setMsg("已经上传过成绩!");
} }
......
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