fix: 产生编号时存在bug

This commit is contained in:
caoqianming 2025-09-12 09:19:57 +08:00
parent aa72b0780a
commit c4c61ff737
1 changed files with 1 additions and 1 deletions

View File

@ -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: