Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
miladbarooni committed Jan 24, 2020
2 parents 48e5b65 + 42a5e0a commit dbdfcb8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion snapFood.py
Original file line number Diff line number Diff line change
Expand Up @@ -277,7 +277,7 @@ def ShowStatus(self, invoic_id): #NOT CHECKED

def showOrderByShop(self, user_id, shop_id): #NOT CHECKED
self._mycursor.execute("""SELECT FOOD.* FROM
((FOOD JOIN `FOOD-INVOIC` ON FOODfoodid = foodid)
((FOOD JOIN `FOOD_INVOIC` ON FOODfoodid = foodid)
JOIN INVOIC ON INVOICEinvoiceid = invoiceid)
JOIN USER ON USER.WALLETwalletid = INVOIC.WALLETwalletid
WHERE USER.userid = %s AND FOOD.SHOPshopid = %s""", (str(user_id), str(shop_id),))
Expand Down

0 comments on commit dbdfcb8

Please sign in to comment.