From aa4138899ba7626e7451b1d91c40bcaf3f078a27 Mon Sep 17 00:00:00 2001 From: 13507605001 Date: Wed, 30 Nov 2022 11:12:36 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E4=BD=8D=E7=BD=AE?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- apps/drug/views.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apps/drug/views.py b/apps/drug/views.py index 7812a26..9fff909 100644 --- a/apps/drug/views.py +++ b/apps/drug/views.py @@ -114,7 +114,7 @@ def drug_return(): # 药剂归还,进入归还事务处理 drug_info.status = DrugStatus.Normal if place: - drug_info.place = place + drug_info.client_id = place # user_info = BllUser().findEntity(EntityUser.user_id == user_id) user_info = g.current_user BllMedicament().drugReturn(drug_info, BllClient().findEntity(drug_info.client_id), user_info)