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