调整兰溪本地流水条数为200

This commit is contained in:
wkc
2026-03-19 17:18:02 +08:00
parent 948caef532
commit 3ba5f9d266
5 changed files with 77 additions and 3 deletions

View File

@@ -69,6 +69,8 @@ class FileRecord:
class FileService:
"""文件上传和解析服务"""
INNER_FLOW_TOTAL_RECORDS = 200
def __init__(self, staff_identity_repository=None):
self.file_records: Dict[int, FileRecord] = {} # logId -> FileRecord
self.log_counter = settings.INITIAL_LOG_ID
@@ -532,7 +534,7 @@ class FileService:
primary_enterprise_name=primary_enterprise_name,
primary_account_no=primary_account_no,
file_size=random.randint(10000, 100000),
total_records=random.randint(100, 300),
total_records=self.INNER_FLOW_TOTAL_RECORDS,
trx_date_start_id=data_start_date_id,
trx_date_end_id=data_end_date_id,
le_id=10000 + random.randint(0, 9999),