diff --git a/jeecg-boot-master/jeecg-module-demo/src/main/java/org/jeecg/modules/demo/annualCompPoint/service/impl/AnnualCompPointServiceImpl.java b/jeecg-boot-master/jeecg-module-demo/src/main/java/org/jeecg/modules/demo/annualCompPoint/service/impl/AnnualCompPointServiceImpl.java index 764c1b46..76baae57 100644 --- a/jeecg-boot-master/jeecg-module-demo/src/main/java/org/jeecg/modules/demo/annualCompPoint/service/impl/AnnualCompPointServiceImpl.java +++ b/jeecg-boot-master/jeecg-module-demo/src/main/java/org/jeecg/modules/demo/annualCompPoint/service/impl/AnnualCompPointServiceImpl.java @@ -203,6 +203,12 @@ public class AnnualCompPointServiceImpl extends ServiceImpl= scoreEndTime){ return Result.error("评分开始时间不能在评分结束时间之后"); } +/*----------------王家东添加-------------------------------开始-------------*/ + if (annualCompPoint.getRequireTopic().equals("N")){ + return Result.error("如果需要评分,则需要添加题目"); + } +/*----------------王家东添加-------------------------------结束-------------*/ + if (requireUploadWorks.equals("Y")){ if (scoreStartTime - - +

如果需要评分,则需要添加开启选题