Explorar o código

fix:代码调整

caozixuan hai 1 ano
pai
achega
743483a325

+ 0 - 10
distributed-print-business/src/main/java/com/qmth/distributed/print/business/service/CourseWeightService.java

@@ -27,16 +27,6 @@ public interface CourseWeightService extends IService<CourseWeight> {
      */
     CourseWeightResult findCourseWeight(Long teachCourseId);
 
-    /**
-     * 重载-查询课程权重
-     *
-     * @param examId     考试id
-     * @param courseCode 课程编号
-     * @param teacherId  教师id
-     * @return 课程权重信息
-     */
-    CourseWeightResult findCourseWeight(Long examId, String courseCode, Long teacherId);
-
     /**
      * 查询课程权重(report)
      *

+ 0 - 6
distributed-print-business/src/main/java/com/qmth/distributed/print/business/service/impl/CourseWeightServiceImpl.java

@@ -148,12 +148,6 @@ public class CourseWeightServiceImpl extends ServiceImpl<CourseWeightMapper, Cou
         return result;
     }
 
-    @Override
-    public CourseWeightResult findCourseWeight(Long examId, String courseCode, Long teacherId) {
-        return this.findCourseWeight(
-                teachCourseService.findByExamIdCourseCodeAndUserId(examId, courseCode, teacherId).getId());
-    }
-
     @Override
     public CourseWeightResult findCourseWeightReport(Long teachCourseId) {
         TeachCourse teachCourse = teachCourseService.getById(teachCourseId);