feat: mlogbin 在merge时向下取整
This commit is contained in:
parent
18f39bff9c
commit
155f305071
|
@ -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
|
||||
# 找寻质检表
|
||||
|
|
Loading…
Reference in New Issue