From c4c61ff73734ab4f909579526fdb27402e760628 Mon Sep 17 00:00:00 2001 From: caoqianming Date: Fri, 12 Sep 2025 09:19:57 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E4=BA=A7=E7=94=9F=E7=BC=96=E5=8F=B7?= =?UTF-8?q?=E6=97=B6=E5=AD=98=E5=9C=A8bug?= 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 962a7d21..97c49e67 100644 --- a/apps/wpm/views.py +++ b/apps/wpm/views.py @@ -904,7 +904,7 @@ class MlogbInViewSet(CreateModelMixin, UpdateModelMixin, DestroyModelMixin, Cust wpr_mlogbw__mlogb__mlog__handle_date__year=c_year, wpr_mlogbw__mlogb__mlog__handle_date__month=c_month).order_by("number").last() cq_w = 4 - if '02d' in rule: + if 'n_count:02d' in rule: cq_w = 2 n_count = 0 if wpr: