Bladeren bron

题库BUG查询

小么熊🐻 3 jaren geleden
bovenliggende
commit
527c5809f0
1 gewijzigde bestanden met toevoegingen van 1 en 1 verwijderingen
  1. 1 1
      twzd-service/src/main/resources/mapper/qustion/QuestionInfoMapper.xml

+ 1 - 1
twzd-service/src/main/resources/mapper/qustion/QuestionInfoMapper.xml

@@ -88,7 +88,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
         </where>
 
         <if test="isRand!=null and isRand!=''"> order by rand() </if>
-        <if test="isRand==null or isRand=='' and  sort!=null and sort!='' "> order by ${sort} is null </if>
+        <if test="isRand==null or isRand=='' and  sort!=null and sort!='' "> order by ${sort} </if>
     </select>