@@ -54,10 +54,10 @@ public interface BMaterialRepository extends BaseMapper<BMaterial> {
...
@@ -54,10 +54,10 @@ public interface BMaterialRepository extends BaseMapper<BMaterial> {
" and bm.create_by = #{param.userId} "+
" and bm.create_by = #{param.userId} "+
"<if test= \" param.typeSort !=null and param.typeSort !='' and param.typeSort =='0'.toString()\"> ORDER BY bm.type DESC </if> "+
"<if test= \" param.typeSort !=null and param.typeSort !='' and param.typeSort =='0'.toString()\"> ORDER BY bm.type DESC </if> "+
"<if test= \" param.typeSort !=null and param.typeSort !='' and param.typeSort =='1'.toString()\"> ORDER BY bm.type ASC </if> "+
"<if test= \" param.typeSort !=null and param.typeSort !='' and param.typeSort =='1'.toString()\"> ORDER BY bm.type ASC </if> "+
"<if test= \" param.sizeSort !=null and param.sizeSort !='' and param.sizeSort =='0'.toString()\"> ORDER BY bm.file_size DESC </if> "+
"<if test= \" param.sizeSort !=null and param.sizeSort !='' and param.sizeSort =='0'.toString()\"> ORDER BY CAST(bm.file_size AS UNSIGNED) DESC </if> "+
"<if test= \" param.sizeSort !=null and param.sizeSort !='' and param.sizeSort =='1'.toString()\"> ORDER BY bm.file_size ASC </if> "+
"<if test= \" param.sizeSort !=null and param.sizeSort !='' and param.sizeSort =='1'.toString()\"> ORDER BY CAST(bm.file_size AS UNSIGNED) ASC </if> "+
"<if test= \" param.sourceSort !=null and param.sourceSort !='' and param.sourceSort =='0'.toString()\"> ORDER BY source DESC </if> "+
"<if test= \" param.sourceSort !=null and param.sourceSort !='' and param.sourceSort =='0'.toString()\"> ORDER BY CAST(bl.lesson_type AS UNSIGNED) DESC </if> "+
"<if test= \" param.sourceSort !=null and param.sourceSort !='' and param.sourceSort =='1'.toString()\"> ORDER BY source ASC </if> "+
"<if test= \" param.sourceSort !=null and param.sourceSort !='' and param.sourceSort =='1'.toString()\"> ORDER BY CAST(bl.lesson_type AS UNSIGNED) ASC </if> "+
"<if test= \" param.dateSort !=null and param.dateSort !='' and param.dateSort =='0'.toString()\"> ORDER BY bm.create_date DESC </if> "+
"<if test= \" param.dateSort !=null and param.dateSort !='' and param.dateSort =='0'.toString()\"> ORDER BY bm.create_date DESC </if> "+
"<if test= \" param.dateSort !=null and param.dateSort !='' and param.dateSort =='1'.toString()\"> ORDER BY bm.create_date ASC </if> "+
"<if test= \" param.dateSort !=null and param.dateSort !='' and param.dateSort =='1'.toString()\"> ORDER BY bm.create_date ASC </if> "+