Browse Source

fix: 时间限制去除

zhangying 5 months ago
parent
commit
3e690bf341

+ 0 - 6
src/main/java/com/ghsc/partybuild/controller/exammanage/PlanController.java

@@ -221,12 +221,6 @@ public class PlanController {
     @ResponseBody
     @RequestMapping("/getMyExamPlan")
     public RequsetData<OnlinetestManVo> getMyExamPlan(@RequestParam(required = false) String testId) throws Exception {
-        //我的练习计划使用时间*
-        LocalDate endDate= LocalDate.parse("2024/07/26", DateTimeFormatter.ofPattern("yyyy/MM/dd"));
-
-        if(endDate.isBefore(LocalDate.now())) {
-            throw new Exception("Exception in thread  org.hibernate.exception.SQLGrammarException: Could not execute JDBC batch update");
-        }
         RequsetData<OnlinetestManVo> result = new RequsetData<>();
         PageInfo<OnlinetestManVo> page = planService.getMyExamPlanList(1, 999, testId, null, null, null, null, userService.getLoginUser().getUserid(),null);
         if (page != null && page.getList().size() > 0) {