浏览代码

PC做题去掉

小么熊🐻 1 年之前
父节点
当前提交
ce5825b5f4
共有 1 个文件被更改,包括 2 次插入2 次删除
  1. 2 2
      jpcj-service/src/main/resources/mapper/question/QuestionInfoMapper.xml

+ 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>