fix: 产生编号时存在bug
This commit is contained in:
parent
aa72b0780a
commit
c4c61ff737
|
@ -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:
|
||||
|
|
Loading…
Reference in New Issue