UPDATE seckillSET number = number - 1WHEREseckill_id = #{seckillId}AND start_time <![CDATA[ <= ]]> #{killTime}AND end_time >= #{killTime}AND number > 0
你mysql表设计的时候选择了on update current timestamp