From e38142713836e21516032ce4ab8bc1479798344d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E7=94=B2=E8=BE=B0=E7=94=9F=E4=BA=A7?= Date: Tue, 14 Apr 2026 16:34:39 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E8=A1=8C=E6=83=85=E7=BC=96=E5=8F=B7?= =?UTF-8?q?=E6=94=B9=E4=B8=BA=E7=BA=AF=E6=95=B0=E5=AD=97=E6=A0=BC=E5=BC=8F?= =?UTF-8?q?(=E5=A6=822404140001)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- backend/app/routers/information.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/backend/app/routers/information.py b/backend/app/routers/information.py index f6a8554..5aa7503 100644 --- a/backend/app/routers/information.py +++ b/backend/app/routers/information.py @@ -464,7 +464,7 @@ def create_information( ).count() # 编号 = 日期 + 5位自然数(如 DJ2026041100001) seq = count_today + 1 - deal_no = f"DJ{today[2:]}{seq:04d}" + deal_no = f"{today[2:]}{seq:04d}" info = Information( user_id=current_user.f99_90_id,