def update_task_run_count(self, taskid, run_count):
    conn = sqlite3.connect(self.dbname)
    cursor = conn.cursor()
    cursor.execute('UPDATE task_info SET startIterationNumber={} WHERE taskid={}'.format(run_count, taskid))
    logger.info('更新taskid={}，startIterationNumber={}，cursor.rowcount={}'.format(taskid, run_count, str(cursor.rowcount)))
    conn.commit()
    cursor.close()
    conn.close()
def update_task_run_count(self, taskid, run_count):
    conn = sqlite3.connect(self.dbname)
    cursor = conn.cursor()
    cursor.execute('UPDATE task_info SET startIterationNumber={} WHERE taskid={}'.format(run_count, taskid))
    logger.info('更新taskid={}，startIterationNumber={}，cursor.rowcount={}'.format(taskid, run_count, str(cursor.rowcount)))
    conn.commit()
    cursor.close()
    conn.close()