Commit 231dcd57 by xiongjiangtao

排序

parent fe8e9400
...@@ -198,7 +198,7 @@ ...@@ -198,7 +198,7 @@
and create_time lt #{endTime} and create_time lt #{endTime}
</if> </if>
<if test="sortFiled != null"> <if test="sortFiled != null">
order by #{sortFiled} #{sortType} order by ${sortFiled} ${sortType}
</if> </if>
</select> </select>
</mapper> </mapper>
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment