|
|
|
@ -203,6 +203,12 @@ public class AnnualCompPointServiceImpl extends ServiceImpl<AnnualCompPointMappe |
|
|
|
|
if (scoreStartTime >= scoreEndTime){ |
|
|
|
|
return Result.error("评分开始时间不能在评分结束时间之后"); |
|
|
|
|
} |
|
|
|
|
/*----------------王家东添加-------------------------------开始-------------*/ |
|
|
|
|
if (annualCompPoint.getRequireTopic().equals("N")){ |
|
|
|
|
return Result.error("如果需要评分,则需要添加题目"); |
|
|
|
|
} |
|
|
|
|
/*----------------王家东添加-------------------------------结束-------------*/ |
|
|
|
|
|
|
|
|
|
if (requireUploadWorks.equals("Y")){ |
|
|
|
|
if (scoreStartTime<updateEndTime){ |
|
|
|
|
return Result.error("评分开始时间应在上传作品结束时间之后"); |
|
|
|
|