Parcourir la source

PC做题去掉

小么熊🐻 il y a 1 an
Parent
commit
ce5825b5f4

+ 2 - 2
jpcj-service/src/main/resources/mapper/question/QuestionInfoMapper.xml

@@ -91,8 +91,8 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
             <if test="isNew != null  and isNew != ''"> and is_new = #{isNew}</if>
         </where>
 
-        <if test="isRand!=null and isRand!=''"> order by rand() </if>
-        <if test="isRand==null or isRand=='' and  sort!=null and sort!='' "> order by IFNULL(${sortName},10000) </if>
+   <!--     <if test="isRand!=null and isRand!=''"> order by rand() </if>-->
+        <if test="sort!=null and sort!='' "> order by IFNULL(${sortName},10000) </if>
     </select>