INSERT INTO `week2`.`recent` (`recent_id`, `user_id`, `apply_time`, `house_id`, `live_id`, `real_price`, `recent_price`, `recent_status`, `recent_content`) VALUES (0, #{userId}, now(), #{houseId}, #{liveId}, #{realPrice}, #{recentPrice}, 0, #{recentContent}); INSERT INTO `week2`.`recent` (`recent_id`, `user_id`, `apply_time`, `house_id`, `live_id`, `real_price`, `recent_price`, `recent_status`, `recent_content`) VALUES (0, #{userId}, now(), #{houseId}, #{liveId}, #{realPrice}, #{realPrice}, 0, #{recentContent}); update user set user_recenttime=user_recenttime+1 where user_id =#{userId} update recent set recent_status=1 where user_id=#{userId} update recent set recent_status=2 where user_id=#{userId}