feat: mlogbin的bug

This commit is contained in:
caoqianming 2025-06-19 15:43:02 +08:00
parent dce573f892
commit 4f08374ca6
1 changed files with 1 additions and 0 deletions

View File

@ -664,6 +664,7 @@ class MlogbInViewSet(CreateModelMixin, UpdateModelMixin, DestroyModelMixin, Cust
mlogbout.count_json_from = mlogbin.count_json_from
mlogbout.save(update_fields=["count_json_from"])
elif mtype == Process.PRO_MERGE: # 支持批到批,批到个
div_number = route.div_number
xcount = math.floor( (mlogbin.count_use-mlogbin.count_pn_jgqbl) / div_number)
d_count_real = xcount
d_count_ok = xcount