加一个判断当没有年度比赛的时候返回提示

main
王家东 4 months ago
parent 0d29d3255b
commit bfa9c5c0d8
  1. 3
      jeecg-boot-master/jeecg-module-demo/src/main/java/org/jeecg/modules/demo/annualcompetitionprojectregistration/controller/AnnualCompetitionProjectRegistrationController.java

@ -1192,6 +1192,9 @@ public class AnnualCompetitionProjectRegistrationController {
} }
} }
if(map.isEmpty()){
return Result.error("无可用的比赛项目");
}
return Result.OK(map); return Result.OK(map);
} }

Loading…
Cancel
Save