Beispiel #1
0
 def get_image(self, display_flag=False, *args, **kwargs):
     return Imagemodel.get_image(display_flag, *args, **kwargs)
Beispiel #2
0
 def get_data(self, table_num: int, display_flag=False, *args, **kwargs):
     table_str = TABLE_SET[table_num][0]
     err_msg = "查询" + TABLE_SET[table_num][1]
     return Imagemodel.get_data(table_str, err_msg, display_flag, *args,
                                **kwargs)
Beispiel #3
0
 def delete_data(self, table_num: int, condition={}, *args, **kwargs):
     table_str = TABLE_SET[table_num][0]
     err_msg = "删除" + TABLE_SET[table_num][1]
     return Imagemodel.delete_data(table_str, err_msg, condition, *args,
                                   **kwargs)
Beispiel #4
0
 def update_productlabel(self, relakwargs, imgkwargs, relaid=0, imgid=0):
     return Imagemodel.update_productlabel(relakwargs, imgkwargs, relaid,
                                           imgid)
Beispiel #5
0
 def delete_images(self, relaid, imgid):
     return Imagemodel.delete_img(relaid, imgid)
Beispiel #6
0
 def update_images(self, relakwargs, imgkwargs, relaid=0, imgid=0):
     return Imagemodel.update_img(relakwargs, imgkwargs, relaid, imgid)
Beispiel #7
0
 def update_image(self, key_dict=None, *args, **kwargs):
     return Imagemodel.save_image(key_dict, *args, **kwargs)
Beispiel #8
0
 def delete_image(self, key_dict=None, *args, **kwargs):
     return Imagemodel.delete_image(key_dict, *args, **kwargs)