@@ -66,7 +66,8 @@ public interface VideoLibraryMapper extends BaseMapper<VideoLibrary> {
IntegergetVideoCount();
@Select("<script>"
+"SELECT v.id,de.departmentName,de.departmentId,count(v.id) as doneCount,COUNT(v.id) as videoCount ,count(ex.id) as excellentVideo FROM res_video_library v "
+"LEFT JOIN sys_user_department ud on v.userId=ud.userid LEFT JOIN sys_department de on de.departmentid=ud.departmentid "
+"LEFT JOIN sys_user_department ud on v.userId=ud.userid "
+"LEFT JOIN sys_department de on de.departmentid=ud.departmentid "
+"LEFT JOIN sys_excellent_video ex on ex.userid=ud.userid WHERE 1=1 and v.status=1"