def delete_ShortUrl(self, where): """ 删除表数据 :param where: 条件 :return: 影响行数 """ return Base.delete(self, self.table, where)
def delete_apiPassRateWph(self, where): """ 删除表数据 :param where: 条件 :return: 影响行数 """ return Base.delete(self, self.table, where)
def delete_apiPerformance(self, where): """ 删除表数据 :param where: 条件 :return: 影响行数 """ return Base.delete(self, self.table, where)
def delete_testResult(self, init=False): """ 删除表数据 :param where: 条件 :return: 影响行数 """ if 'xx' in url_target: where = "url_target like 'xxt%'" else: where = "url_target like 'w%'" return Base.delete(self, self.table, where, init)