@@ -43,7 +43,7 @@ def del_clerk_sale_submit_api(request): |
||
| 43 | 43 |
SaleclerkIntegralIncomeExpensesInfo.objects.filter(code=sn).update(status=False) |
| 44 | 44 |
|
| 45 | 45 |
try: |
| 46 |
- brand = BrandInfo.objects.get(brand_id=ssli.brand_pk) |
|
| 46 |
+ brand = BrandInfo.objects.get(pk=ssli.brand_pk) |
|
| 47 | 47 |
except BrandInfo.DoesNotExist: |
| 48 | 48 |
return response() |
| 49 | 49 |
|