change 4 سال پیش
والد
کامیت
46b86af1f5

+ 5 - 5
zhongzheng-admin/src/main/java/com/zhongzheng/controller/course/MajorExamineController.java

@@ -57,7 +57,7 @@ public class MajorExamineController extends BaseController {
     /**
      * 导出考期列表
      */
-    @ApiOperation("导出考期列表")
+/*    @ApiOperation("导出考期列表")
     @PreAuthorize("@ss.hasPermi('course:examine:export')")
     @Log(title = "考期", businessType = BusinessType.EXPORT)
     @GetMapping("/export")
@@ -65,7 +65,7 @@ public class MajorExamineController extends BaseController {
         List<MajorExamineVo> list = iMajorExamineService.queryList(bo);
         ExcelUtil<MajorExamineVo> util = new ExcelUtil<MajorExamineVo>(MajorExamineVo.class);
         return util.exportExcel(list, "考期");
-    }
+    }*/
 
     /**
      * 获取考期详细信息
@@ -94,7 +94,7 @@ public class MajorExamineController extends BaseController {
     @ApiOperation("修改考期")
     @PreAuthorize("@ss.hasPermi('course:examine:edit')")
     @Log(title = "考期", businessType = BusinessType.UPDATE)
-    @PutMapping()
+    @PostMapping("/edit")
     public AjaxResult<Void> edit(@RequestBody MajorExamineEditBo bo) {
         return toAjax(iMajorExamineService.updateByEditBo(bo) ? 1 : 0);
     }
@@ -102,11 +102,11 @@ public class MajorExamineController extends BaseController {
     /**
      * 删除考期
      */
-    @ApiOperation("删除考期")
+ /*   @ApiOperation("删除考期")
     @PreAuthorize("@ss.hasPermi('course:examine:remove')")
     @Log(title = "考期" , businessType = BusinessType.DELETE)
     @DeleteMapping("/{ids}")
     public AjaxResult<Void> remove(@PathVariable Long[] ids) {
         return toAjax(iMajorExamineService.deleteWithValidByIds(Arrays.asList(ids), true) ? 1 : 0);
-    }
+    }*/
 }

+ 0 - 3
zhongzheng-system/src/main/resources/mapper/modules/course/CourseSubjectMapper.xml

@@ -39,8 +39,5 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
                 #{item}
             </foreach>
         </if>
-        <if test="id != null and id != ''">
-            AND j.school_id = #{id}
-        </if>
     </select>
 </mapper>