liweifan 3 سال پیش
والد
کامیت
790eb3f6b0

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

@@ -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">

+ 0 - 2
cooleshow-user/user-biz/src/main/resources/config/mybatis/ActivityPlanRewardMapper.xml

@@ -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>