Browse Source

优化达标活动发奖用户顺序

Eric 2 năm trước cách đây
mục cha
commit
e2f5b99eee

+ 1 - 1
cooleshow-user/user-biz/src/main/resources/config/mybatis/UserFirstTimeMapper.xml

@@ -68,7 +68,7 @@
                 AND t1.user_id_ NOT IN (SELECT t2.user_id_ FROM activity_user_reward t2 WHERE t2.activity_id_ = #{record.activityId})
             </if>
         </where>
-        GROUP BY t1.user_id_ ORDER BY t1.user_id_ ASC
+        GROUP BY t1.user_id_ ORDER BY t1.time_ ASC, t1.user_id_ ASC
     </select>
     <!--达标活动参与用户-->