@@ -92,7 +92,7 @@
and t.activity_type_ = #{param.activityType}
</if>
</where>
- order by t.update_time_ desc
+ order by t.id_ desc
</select>
<select id="selectActivityPlanEvaluation" resultType="java.lang.String">
@@ -82,8 +82,6 @@
<update id="reduceStock">
-
update activity_plan_reward set reward_num_ = reward_num_ - 1 where #{activityId} = activity_id_ and #{rewardId} = reward_id_ and reward_num_ > 0
</update>
</mapper>