From 5533cc69677a3aefdbe552e9b3b628d7e6dde85c Mon Sep 17 00:00:00 2001 From: caoqianming Date: Wed, 4 Dec 2024 11:18:23 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20get=5Falldata=5Fwith=5Fbatch=20=E5=8A=A0?= =?UTF-8?q?=E5=85=A5=E6=A3=80=E9=AA=8C=E5=A4=87=E6=B3=A8=E7=BB=9F=E8=AE=A1?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- apps/wpm/services_2.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/apps/wpm/services_2.py b/apps/wpm/services_2.py index 68d0650c..31011572 100644 --- a/apps/wpm/services_2.py +++ b/apps/wpm/services_2.py @@ -96,7 +96,7 @@ def get_alldata_with_batch(batch: str): last_time = item.update_time if item.update_time > last_time else last_time data["七车间入库_日期"].append(item.mio.inout_date) if item.test_note: - data["七车间入库_检验备注"] = ";".join([data["七车间入库_检验备注"], item.note]) + data["七车间入库_检验备注"] = ";".join([data["七车间入库_检验备注"], item.test_note]) if item.mio.mio_user: data["七车间入库_车间执行人"].append(item.mio.mio_user) if item.mio.do_user: @@ -125,7 +125,7 @@ def get_alldata_with_batch(batch: str): data["十车间入库_检验备注"] = "" for item in mioitem10_qs: if item.test_note: - data["十车间入库_检验备注"] = ";".join([data["十车间入库_检验备注"], item.note]) + data["十车间入库_检验备注"] = ";".join([data["十车间入库_检验备注"], item.test_note]) if item.mio.do_user: data["十车间入库_仓库执行人"].append(item.mio.do_user) if item.test_user: