From 155f30507150f99ffcaf11d93e2e7301b3d8d979 Mon Sep 17 00:00:00 2001 From: caoqianming Date: Fri, 10 Jan 2025 14:55:45 +0800 Subject: [PATCH] =?UTF-8?q?feat:=20mlogbin=20=E5=9C=A8merge=E6=97=B6?= =?UTF-8?q?=E5=90=91=E4=B8=8B=E5=8F=96=E6=95=B4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- apps/wpm/views.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apps/wpm/views.py b/apps/wpm/views.py index b6d3a4c9..6cf17101 100644 --- a/apps/wpm/views.py +++ b/apps/wpm/views.py @@ -540,7 +540,7 @@ class MlogbInViewSet(CreateModelMixin, UpdateModelMixin, DestroyModelMixin, Cust d_count_real = xcount d_count_ok = xcount elif route.process.mtype == Process.PRO_MERGE: - xcount = math.ceil( mlogbin.count_use / route.div_number) + xcount = math.floor( mlogbin.count_use / route.div_number) d_count_real = xcount d_count_ok = xcount # 找寻质检表