@@ -59,7 +59,7 @@
WHERE
resource_id=#{resourceId}
and pid IS NULL
- order by a.give_num DESC,a.id desc
+ order by giveNum DESC
</select>
</mapper>