|
|
@ -41,6 +41,6 @@ public interface TeaResourceCenterMapper {
|
|
|
|
@Select("SELECT resource_name FROM tea_resource_center ORDER BY count DESC LIMIT 1 ")
|
|
|
|
@Select("SELECT resource_name FROM tea_resource_center ORDER BY count DESC LIMIT 1 ")
|
|
|
|
String getMostPopularName();
|
|
|
|
String getMostPopularName();
|
|
|
|
|
|
|
|
|
|
|
|
@Select("SELECT count(*) FROM `tea_resource_center` WHERE school_id in (#{schoolId},1) GROUP BY type")
|
|
|
|
@Select("SELECT count(*) FROM `tea_resource_center` WHERE school_id in (#{schoolId},'999999999') GROUP BY type")
|
|
|
|
List<Integer> getSizeByType(@Param("schoolId") String schoolId);
|
|
|
|
List<Integer> getSizeByType(@Param("schoolId") String schoolId);
|
|
|
|
}
|
|
|
|
}
|