feat: mlogbin 在merge时向下取整

This commit is contained in:
caoqianming 2025-01-10 14:55:45 +08:00
parent 18f39bff9c
commit 155f305071
1 changed files with 1 additions and 1 deletions

View File

@ -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
# 找寻质检表