@@ -8,6 +8,6 @@
a.train_time_ = a.train_time_ + #{playTime}
where a.user_id_ = #{userId}
and a.camp_id_ = #{campId}
- and a.day_ = date_format(now(), '%Y-%m-%d')
+ and a.day_ = CURDATE()
</update>
</mapper>