Commit b7acdbdc by guanchen

优化排序

parent 737312b9
......@@ -926,7 +926,7 @@
AND reward_status = 100
AND reward_type in (60,760,300,750)
AND settle_in_advance = 0
ORDER BY id
ORDER BY settle_time,id
</select>
<select id="selectOrderRewardPageByTsAndAgentId" resultMap="BaseResultMap">
SELECT
......
......@@ -800,7 +800,7 @@
AND reward_status = 100
AND reward_type in (110,120)
AND settle_in_advance = 0
ORDER BY id
ORDER BY settle_time,id
</select>
<select id="selectOrderRewardPageByTsAndUid" resultMap="BaseResultMap">
SELECT
......@@ -848,7 +848,7 @@
AND reward_type in (110,120)
AND user_id = #{userId}
AND settle_in_advance = 0
ORDER BY id
ORDER BY settle_time,id
</select>
<select id="selectPartnerSettlePageByTs" resultType="com.lanren.huhu.partner.model.PartnerSettle">
SELECT
......
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