Преглед на файлове

Merge branch 'zx_saas_courseware' of http://git.dayaedu.com/yonge/mec into test

zouxuan преди 1 година
родител
ревизия
7a1780d89a

+ 1 - 1
mec-application/src/main/java/com/ym/mec/web/controller/LessonCoursewareController.java

@@ -47,7 +47,7 @@ public class LessonCoursewareController extends BaseController {
 	@PostMapping("/queryLessonCoursewareId")
 	@PreAuthorize("@pcs.hasPermissions('lessonCourseware/queryLessonCoursewareId')")
 	public HttpResponseResult<List<Long>> queryLessonCoursewareId(){
-		List<LessonCourseware> list = lessonCoursewareService.lambdaQuery().list();
+		List<LessonCourseware> list = lessonCoursewareService.list();
 		if (list == null || list.isEmpty()) {
 			return succeed(Lists.newArrayList());
 		}

+ 1 - 1
mec-biz/src/main/resources/config/mybatis/LessonCoursewareMapper.xml

@@ -26,7 +26,7 @@
                 and lc.teacher_range_type_ = #{param.teacherRangeType}
             </if>
             <if test="param.enable != null">
-                and lc.id_enable_ = #{param.enable}
+                and lc.enable_ = #{param.enable}
             </if>
         </where>
     </sql>