diff --git a/hb_server/apps/wpm/services.py b/hb_server/apps/wpm/services.py index 72fbd10..dcff705 100644 --- a/hb_server/apps/wpm/services.py +++ b/hb_server/apps/wpm/services.py @@ -167,6 +167,8 @@ class WpmServies(object): for m in input_q: count_cut = count_cut + m.count from_batch = from_batch + ';' + m.batch if m.batch else from_batch + i.count_cut = count_cut + i.from_batch = from_batch wpfs = WproductFlow.objects.filter(subproduction_plan=i.subproduction_plan, is_lastlog=True, coperation=op)# 筛选本次操作下子计划的产品日志 i.count_real = wpfs.count()