def remove_items_from_book_table_sql(self, lst) -> tuple: time_now = str(int(time.time())) for line in lst: tuple_in = (time_now, line[0], line[2], time_now) self.library.call_sale_book(tuple_in) return tuple_to_str_list(self.library.get_store())
def get_book_table_sql(self) -> tuple: return tuple_to_str_list(self.library.get_store())
def get_paihangbang_by_ym(self, ym: str) -> tuple: return tuple_to_str_list(self.library.show_fuck(ym))
def get_tongji_table_sql(self) -> tuple: return tuple_to_str_list(self.library.show_month())
def get_tuihuo_table_after_select_xiaoshou_table_sql(self, lst) -> tuple: sale_id = lst[0][0] return tuple_to_str_list(self.library.show_inf_by_sale_id(sale_id))
def get_book_table_sql(self) -> tuple: return tuple_to_str_list(self.library.show_saleid())
def get_book_name_sql(self, name: str) -> tuple: return tuple_to_str_list(self.library.get_inf_by_name(name))