feat: gen_number_with_rule bug
This commit is contained in:
parent
bfc37f69af
commit
fea3c320a9
|
@ -698,6 +698,7 @@ class MlogbInViewSet(CreateModelMixin, UpdateModelMixin, DestroyModelMixin, Cust
|
|||
cq_w = 4
|
||||
if '02d' in rule:
|
||||
cq_w = 2
|
||||
n_count = 0
|
||||
if wpr:
|
||||
try:
|
||||
n_count = int(wpr.number[-cq_w:].lstrip('0'))
|
||||
|
|
Loading…
Reference in New Issue