zhangbin преди 1 година
родител
ревизия
85f3628ad0
променени са 1 файла, в които са добавени 4 реда и са изтрити 0 реда
  1. 4 0
      jpcj-service/src/main/java/com/miaxis/question/service/impl/QuestionInfoKtNewServiceImpl.java

+ 4 - 0
jpcj-service/src/main/java/com/miaxis/question/service/impl/QuestionInfoKtNewServiceImpl.java

@@ -177,6 +177,8 @@ public class QuestionInfoKtNewServiceImpl extends ServiceImpl<QuestionInfoKtNewM
         } while (shouldRetry);
 
         sql.append(" ) as db");
+        sql.append(" order by question_type,diff_degree ");
+
         System.out.println(sql.toString());
         allList = questionInfoKtNewMapper.selectTestK14QuestionInfoList(sql.toString());
 
@@ -253,6 +255,8 @@ public class QuestionInfoKtNewServiceImpl extends ServiceImpl<QuestionInfoKtNewM
         } while (shouldRetry);
 
         sql.append(" ) as db");
+        sql.append(" order by question_type,diff_degree ");
+
         System.out.println(sql.toString());
         allList = questionInfoKtNewMapper.selectTestK14QuestionInfoList(sql.toString());