import sys,time



class SQL_vaffle():
    #status 状态(0: 新建提交, 1: 执行过程中, 2: 执行成功, 3: 执行失败, 4: 删除)

    def update_vape_members(self):
        sql = "update vape_members set email = '427871220222211@vk' where id = 438"
        return sql

    def select_uuid(self,i):
        #i = int(i) +1
        i = str(i)
        sql = "SELECT uuid from vaffle.vape_members where id ="+i+""
        print(sql)
        return sql

    def select_post_id(self):
        sql = "SELECT id from vaffle_post.vape_posts where status=1 order by id desc limit 1"
        print(sql)
        return sql
