From d349970a47504b30de38bcf2705fdedc51bd744e Mon Sep 17 00:00:00 2001 From: caoqianming Date: Wed, 11 Dec 2024 08:41:35 +0800 Subject: [PATCH] =?UTF-8?q?doc:=20=E5=88=A0=E9=99=A4=E4=B8=80=E9=83=A8?= =?UTF-8?q?=E5=88=86print=E8=AF=AD=E5=8F=A5?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- apps/edu/views.py | 1 - apps/inm/services.py | 4 ---- 2 files changed, 5 deletions(-) diff --git a/apps/edu/views.py b/apps/edu/views.py index 990f3c99..c6fa69ef 100644 --- a/apps/edu/views.py +++ b/apps/edu/views.py @@ -124,7 +124,6 @@ class ExamViewSet(CustomModelViewSet): AnswerDetail.objects.bulk_create(details) sr = ExamRecordInitSerizlier(er) res_data = sr.data - print(res_data) res_data.update({"chance_used": chance_used}) return Response(sr.data, status=201) raise ParseError('暂不支持') diff --git a/apps/inm/services.py b/apps/inm/services.py index 77d6c6fd..12023589 100644 --- a/apps/inm/services.py +++ b/apps/inm/services.py @@ -337,8 +337,4 @@ def daoru_mb(path: str): material=material, batch=batch, warehouse=warehouse, defaults={"material": material, "batch": batch, "warehouse": warehouse, "count": count, "id": idWorker.get_id()} ) cal_material_count([material.id]) - # if not is_created: - # mb.count += count - # mb.save() - print(f"第{i}行数据导入成功") i = i + 1