This commit is contained in:
zlwu committed 2026-08-22 09:08:05 +08:00
1 parent 833544def3
commit 16be6fa22d
204 files changed
+455089 -46491

No files matched your search

+1 -1
View File
@@ -1 +1 @@
25924
41167
+52
View File
@@ -2074,3 +2074,55 @@ def delete_menu_favorite(
db, user_id=user_id, tenant_no=tenant_no, menu_path=body.path
)
return success_response({"path": body.path})
# ---------------------------------------------------------------------------
# Demo 模板页:Mock 数据由前端组装行后走统一 xlsx 导出(无 Demo 业务表)
# ---------------------------------------------------------------------------
class DemoXlsxColumnSpec(BaseModel):
model_config = ConfigDict(populate_by_name=True)
title: str
field: str
class DemoXlsxExportBody(BaseModel):
model_config = ConfigDict(populate_by_name=True)
sheet_title: str = Field(default="导出", alias="sheetTitle")
filename_stem: str = Field(default="export", alias="filenameStem")
columns: List[DemoXlsxColumnSpec]
rows: List[dict]
@router.post("/demo/xlsx-export")
def demo_xlsx_export(
body: DemoXlsxExportBody,
user: dict = Depends(require_admin_or_super_admin),
db: Session = Depends(get_db),
):
"""Demo 列表导出:接收已筛选行与列定义,生成 xlsx。"""
try:
rows = body.rows or []
if not rows:
raise ExportValidationError("没有可导出的数据")
if len(rows) > EXPORT_MAX_ROWS:
raise ExportValidationError(f"导出超过 {EXPORT_MAX_ROWS} 条,请缩小筛选范围")
if not body.columns:
raise ExportValidationError("没有可导出的列")
cols = [ExportColumn(title=c.title, field=c.field) for c in body.columns]
tenant_no = _get_tenant_no(db, user)
date_str = datetime.now().strftime("%Y%m%d")
stem = (body.filename_stem or "export").strip() or "export"
return export_rows_to_xlsx_response(
db,
tenant_no=tenant_no,
sheet_title=body.sheet_title or "导出",
columns=cols,
rows=rows,
filename_stem=f"{stem}_{date_str}",
)
except ExportValidationError as e:
return error_response(400, str(e))
+152 -15
View File
@@ -28,6 +28,8 @@ from app.utils.crm_export_columns import (
CUSTOMER_EXPORT_COLUMNS,
CUSTOMER_FOLLOW_EXPORT_COLUMNS,
OPPORTUNITY_EXPORT_COLUMNS,
POOL_CUSTOMER_EXPORT_COLUMNS,
POOL_RULE_EXPORT_COLUMNS,
PRODUCT_EXPORT_COLUMNS,
SUPPLIER_INFO_EXPORT_COLUMNS,
)
@@ -331,6 +333,23 @@ router = APIRouter(prefix="/web/crm", tags=["CRM管理"])
# ── 产品分类 ──────────────────────────────────────────────────
def _filter_export_rows_by_ids(rows, ids):
"""按导出 ids 裁剪行(dict 或对象)。"""
if not ids:
return rows
id_set = {str(i) for i in ids}
out = []
for row in rows:
if isinstance(row, dict):
rid = row.get("id")
else:
rid = getattr(row, "id", None)
if rid is not None and str(rid) in id_set:
out.append(row)
return out
@router.post("/product-categories/tree")
def category_tree(
body: ProductCategoryTreeBody = None,
@@ -1093,18 +1112,23 @@ def customer_export(
user_id,
user_info=user_info,
page=1,
page_size=10000,
page_size=EXPORT_MAX_ROWS,
max_page_size=EXPORT_MAX_ROWS,
**list_body.to_list_kwargs(),
)
date_str = datetime.now().strftime("%Y%m%d")
rows = _filter_export_rows_by_ids(rows, getattr(list_body, "ids", None))
export_cols = filter_export_columns(CUSTOMER_EXPORT_COLUMNS, getattr(list_body, "columns", None))
return export_rows_to_xlsx_response(
db,
tenant_no=tenant_no,
sheet_title="客户列表",
columns=CUSTOMER_EXPORT_COLUMNS,
columns=export_cols,
rows=rows,
filename_stem=f"客户列表_{date_str}",
)
except ExportValidationError as e:
return error_response(400, str(e))
except ValueError as e:
return error_response(400, str(e))
except Exception as e:
@@ -1399,6 +1423,52 @@ def pool_customer_list(
return error_response(500, str(e))
@router.post("/customer/pool/export")
@oper_log(title="CRM客户管理", business_type=5, summary="导出公海客户列表")
def pool_customer_export(
body: PoolCustomerListBody = None,
_user: dict = Depends(require_admin_or_super_admin),
db: Session = Depends(get_db),
):
"""导出公海客户列表。"""
try:
tenant_no = get_tenant_no(db, _user)
list_body = body or PoolCustomerListBody()
rows, _ = list_pool_customers(
db,
tenant_no,
page=1,
page_size=EXPORT_MAX_ROWS,
max_page_size=EXPORT_MAX_ROWS,
keyword=list_body.keyword,
level=list_body.level,
industry=list_body.industry,
park_area=list_body.parkArea,
)
rows = _filter_export_rows_by_ids(rows, list_body.ids)
# map telephone -> phone for shared column if needed
for r in rows:
if isinstance(r, dict) and not r.get("telephone") and r.get("phone"):
r["telephone"] = r.get("phone")
export_cols = filter_export_columns(POOL_CUSTOMER_EXPORT_COLUMNS, list_body.columns)
date_str = datetime.now().strftime("%Y%m%d")
return export_rows_to_xlsx_response(
db,
tenant_no=tenant_no,
sheet_title="公海客户",
columns=export_cols,
rows=rows,
filename_stem=f"公海客户_{date_str}",
)
except ExportValidationError as e:
return error_response(400, str(e))
except ValueError as e:
return error_response(400, str(e))
except Exception as e:
return error_response(500, str(e))
@router.post("/customer/pool/assign")
@oper_log(title="CRM客户管理", business_type=2, business_id_field="customerIds", summary="公海分配客户")
def pool_customer_assign(
@@ -1667,19 +1737,23 @@ def contact_export(
tenant_no = get_tenant_no(db, _user)
user_info = crm_user_info(_user)
rows, _ = list_contacts(
db, tenant_no, page=1, page_size=10000, user_info=user_info,
db, tenant_no, page=1, page_size=EXPORT_MAX_ROWS, user_info=user_info,
keyword=body.keyword if body else None,
customer_id=body.customer_id if body else None,
)
date_str = datetime.now().strftime("%Y%m%d")
rows = _filter_export_rows_by_ids(rows, getattr(list_body, "ids", None))
export_cols = filter_export_columns(CONTACT_EXPORT_COLUMNS, getattr(list_body, "columns", None))
return export_rows_to_xlsx_response(
db,
tenant_no=tenant_no,
sheet_title="联系人列表",
columns=CONTACT_EXPORT_COLUMNS,
columns=export_cols,
rows=rows,
filename_stem=f"联系人列表_{date_str}",
)
except ExportValidationError as e:
return error_response(400, str(e))
except ValueError as e:
return error_response(400, str(e))
except Exception as e:
@@ -1932,19 +2006,23 @@ def follow_export(
tenant_no = get_tenant_no(db, _user)
user_info = crm_user_info(_user)
rows, _ = list_follows(
db, tenant_no, page=1, page_size=10000,
db, tenant_no, page=1, page_size=EXPORT_MAX_ROWS,
keyword=body.keyword if body else None,
customer_id=body.customer_id if body else None,
)
date_str = datetime.now().strftime("%Y%m%d")
rows = _filter_export_rows_by_ids(rows, getattr(list_body, "ids", None))
export_cols = filter_export_columns(CUSTOMER_FOLLOW_EXPORT_COLUMNS, getattr(list_body, "columns", None))
return export_rows_to_xlsx_response(
db,
tenant_no=tenant_no,
sheet_title="跟进记录",
columns=CUSTOMER_FOLLOW_EXPORT_COLUMNS,
columns=export_cols,
rows=rows,
filename_stem=f"跟进记录_{date_str}",
)
except ExportValidationError as e:
return error_response(400, str(e))
except ValueError as e:
return error_response(400, str(e))
except Exception as e:
@@ -1985,6 +2063,56 @@ def pool_rule_list(
return error_response(500, str(e))
@router.post("/customer/pool/rule/export")
@oper_log(title="CRM公海规则", business_type=5, summary="导出公海规则列表")
def pool_rule_export(
body: PoolRuleListBody = None,
_user: dict = Depends(require_admin_or_super_admin),
db: Session = Depends(get_db),
):
"""导出公海池规则列表。"""
try:
tenant_no = get_tenant_no(db, _user)
user_info = crm_user_info(_user)
list_body = body or PoolRuleListBody()
rows, _ = list_pool_rules(
db,
tenant_no,
user_info=user_info,
page=1,
page_size=EXPORT_MAX_ROWS,
max_page_size=EXPORT_MAX_ROWS,
pool_name=list_body.poolName,
rule_type=list_body.ruleType,
status=list_body.status,
)
rows = _filter_export_rows_by_ids(rows, list_body.ids)
# humanize ruleType / status for export readability
type_map = {"no_follow": "未跟进自动回收", "no_deal": "未成交自动回收"}
status_map = {"enable": "启用", "disable": "禁用"}
for r in rows:
if isinstance(r, dict):
r["ruleType"] = type_map.get(r.get("ruleType"), r.get("ruleType") or "")
r["status"] = status_map.get(r.get("status"), r.get("status") or "")
export_cols = filter_export_columns(POOL_RULE_EXPORT_COLUMNS, list_body.columns)
date_str = datetime.now().strftime("%Y%m%d")
return export_rows_to_xlsx_response(
db,
tenant_no=tenant_no,
sheet_title="公海规则",
columns=export_cols,
rows=rows,
filename_stem=f"公海规则_{date_str}",
)
except ExportValidationError as e:
return error_response(400, str(e))
except ValueError as e:
return error_response(400, str(e))
except Exception as e:
return error_response(500, str(e))
@router.post("/customer/pool/rule/detail")
def pool_rule_detail(
body: PoolRuleDetailBody,
@@ -3104,26 +3232,27 @@ def opportunity_export(
user_info=user_info,
**_opp_list_kwargs(list_body, user_id),
page=1,
page_size=10000,
page_size=EXPORT_MAX_ROWS,
)
rows = _filter_export_rows_by_ids(rows, getattr(list_body, "ids", None))
export_cols = filter_export_columns(OPPORTUNITY_EXPORT_COLUMNS, getattr(list_body, "columns", None))
return export_rows_to_xlsx_response(
db,
tenant_no=tenant_no,
sheet_title="商机列表",
columns=OPPORTUNITY_EXPORT_COLUMNS,
columns=export_cols,
rows=rows,
filename_stem=f"商机列表_{datetime.now().strftime('%Y%m%d%H%M%S')}",
include_legacy_filename=False,
)
except ExportValidationError as e:
return error_response(400, str(e))
except ValueError as e:
return error_response(400, str(e))
except Exception as e:
return error_response(500, str(e))
return error_response(500, str(e))
# ── 供方信息管理(P0,报价单前置) ─────────────────────────────
@@ -3309,19 +3438,23 @@ def supplier_info_export(
tenant_no,
user_info=user_info,
page=1,
page_size=10000,
page_size=EXPORT_MAX_ROWS,
supplier_name=list_body.supplier_name,
status=list_body.status,
)
rows = _filter_export_rows_by_ids(rows, getattr(list_body, "ids", None))
export_cols = filter_export_columns(SUPPLIER_INFO_EXPORT_COLUMNS, getattr(list_body, "columns", None))
return export_rows_to_xlsx_response(
db,
tenant_no=tenant_no,
sheet_title="供方信息",
columns=SUPPLIER_INFO_EXPORT_COLUMNS,
columns=export_cols,
rows=rows,
filename_stem=f"供方信息_{datetime.now().strftime('%Y%m%d%H%M%S')}",
include_legacy_filename=False,
)
except ExportValidationError as e:
return error_response(400, str(e))
except ValueError as e:
return error_response(400, str(e))
except Exception as e:
@@ -4112,7 +4245,7 @@ def clue_export(
user_id,
user_info=user_info,
page=1,
page_size=10000,
page_size=EXPORT_MAX_ROWS,
keyword=list_body.keyword or list_body.search_keyword,
view_type=list_body.view_type,
view_mode=list_body.view_mode,
@@ -4137,14 +4270,18 @@ def clue_export(
),
)
date_str = datetime.now().strftime("%Y%m%d")
rows = _filter_export_rows_by_ids(rows, getattr(list_body, "ids", None))
export_cols = filter_export_columns(CLUE_EXPORT_COLUMNS, getattr(list_body, "columns", None))
return export_rows_to_xlsx_response(
db,
tenant_no=tenant_no,
sheet_title="线索列表",
columns=CLUE_EXPORT_COLUMNS,
columns=export_cols,
rows=rows,
filename_stem=f"线索列表_{date_str}",
)
except ExportValidationError as e:
return error_response(400, str(e))
except ValueError as e:
return error_response(400, str(e))
except Exception as e:
+11 -2
View File
@@ -72,7 +72,12 @@ from app.schemas.crm.contract import (
ContractWithdrawBody,
)
from app.utils.crm_export_columns import CONTRACT_EXPORT_COLUMNS
from app.utils.excel_export import export_rows_to_xlsx_response
from app.utils.excel_export import (
ExportValidationError,
export_rows_to_xlsx_response,
filter_export_columns,
)
from app.api.crm import _filter_export_rows_by_ids
def register_contract_routes(router):
@@ -472,15 +477,19 @@ def register_contract_routes(router):
exclude_none=True,
)
rows = export_contracts(db, tenant_no, filters=filters)
rows = _filter_export_rows_by_ids(rows, getattr(list_body, "ids", None))
export_cols = filter_export_columns(CONTRACT_EXPORT_COLUMNS, getattr(list_body, "columns", None))
return export_rows_to_xlsx_response(
db,
tenant_no=tenant_no,
sheet_title="合同",
columns=CONTRACT_EXPORT_COLUMNS,
columns=export_cols,
rows=rows,
filename_stem=f"合同_{datetime.now().strftime('%Y%m%d%H%M%S')}",
include_legacy_filename=False,
)
except ExportValidationError as e:
return error_response(400, str(e))
except ValueError as e:
return error_response(400, str(e))
except Exception as e:
+15 -4
View File
@@ -62,7 +62,12 @@ from app.utils.crm_export_columns import (
CONTRACT_CHANGE_EXPORT_COLUMNS,
CONTRACT_TEMPLATE_EXPORT_COLUMNS,
)
from app.utils.excel_export import export_rows_to_xlsx_response
from app.utils.excel_export import (
ExportValidationError,
export_rows_to_xlsx_response,
filter_export_columns,
)
from app.api.crm import _filter_export_rows_by_ids
def register_contract_sub_routes(router):
@@ -275,11 +280,13 @@ def register_contract_sub_routes(router):
exclude_none=True,
)
rows = export_contract_changes(db, tenant_no, filters=filters)
rows = _filter_export_rows_by_ids(rows, getattr(list_body, "ids", None) or getattr(body, "ids", None))
export_cols = filter_export_columns(CONTRACT_CHANGE_EXPORT_COLUMNS, getattr(list_body, "columns", None) or getattr(body, "columns", None))
return export_rows_to_xlsx_response(
db,
tenant_no=tenant_no,
sheet_title="合同变更记录",
columns=CONTRACT_CHANGE_EXPORT_COLUMNS,
columns=export_cols,
rows=rows,
filename_stem=f"合同变更_{datetime.now().strftime('%Y%m%d%H%M%S')}",
include_legacy_filename=False,
@@ -476,11 +483,13 @@ def register_contract_sub_routes(router):
exclude_none=True,
)
rows = export_contract_templates(db, tenant_no, filters=filters)
rows = _filter_export_rows_by_ids(rows, getattr(list_body, "ids", None) or getattr(body, "ids", None))
export_cols = filter_export_columns(CONTRACT_TEMPLATE_EXPORT_COLUMNS, getattr(list_body, "columns", None) or getattr(body, "columns", None))
return export_rows_to_xlsx_response(
db,
tenant_no=tenant_no,
sheet_title="合同模板",
columns=CONTRACT_TEMPLATE_EXPORT_COLUMNS,
columns=export_cols,
rows=rows,
filename_stem=f"合同模板_{datetime.now().strftime('%Y%m%d%H%M%S')}",
include_legacy_filename=False,
@@ -627,11 +636,13 @@ def register_contract_sub_routes(router):
exclude_none=True,
)
rows = export_contract_approvals(db, tenant_no, filters=filters)
rows = _filter_export_rows_by_ids(rows, getattr(list_body, "ids", None) or getattr(body, "ids", None))
export_cols = filter_export_columns(CONTRACT_APPROVAL_EXPORT_COLUMNS, getattr(list_body, "columns", None) or getattr(body, "columns", None))
return export_rows_to_xlsx_response(
db,
tenant_no=tenant_no,
sheet_title="合同审批记录",
columns=CONTRACT_APPROVAL_EXPORT_COLUMNS,
columns=export_cols,
rows=rows,
filename_stem=f"合同审批_{datetime.now().strftime('%Y%m%d%H%M%S')}",
include_legacy_filename=False,
+13 -3
View File
@@ -79,7 +79,13 @@ from app.schemas.crm.quote import (
QuoteVersionsBody,
)
from app.utils.crm_export_columns import QUOTE_EXPORT_COLUMNS
from app.utils.excel_export import export_rows_to_xlsx_response
from app.utils.excel_export import (
EXPORT_MAX_ROWS,
ExportValidationError,
export_rows_to_xlsx_response,
filter_export_columns,
)
from app.api.crm import _filter_export_rows_by_ids
def register_quote_routes(router):
@@ -440,18 +446,22 @@ def register_quote_routes(router):
tenant_no,
user_info=user_info,
page=1,
page_size=10000,
page_size=EXPORT_MAX_ROWS,
filters=list_body.model_dump(by_alias=True, exclude={"page", "pageSize"}),
)
rows = _filter_export_rows_by_ids(rows, getattr(list_body, "ids", None))
export_cols = filter_export_columns(QUOTE_EXPORT_COLUMNS, getattr(list_body, "columns", None))
return export_rows_to_xlsx_response(
db,
tenant_no=tenant_no,
sheet_title="报价单",
columns=QUOTE_EXPORT_COLUMNS,
columns=export_cols,
rows=rows,
filename_stem=f"报价单_{datetime.now().strftime('%Y%m%d%H%M%S')}",
include_legacy_filename=False,
)
except ExportValidationError as e:
return error_response(400, str(e))
except ValueError as e:
return error_response(400, str(e))
except Exception as e:
+97 -2
View File
@@ -1,10 +1,10 @@
from typing import Optional
from typing import List, Optional
import re
from datetime import datetime
from fastapi import APIRouter, Depends, HTTPException, Query, status
from pydantic import BaseModel
from pydantic import BaseModel, Field
from sqlalchemy import func, or_
from sqlalchemy.orm import Session
@@ -38,6 +38,13 @@ from app.services.db.product_helpers import (
resolve_crm_product,
)
from app.services.db_inventory_site_token import build_site_inventory_url, ensure_site_access_token
from app.utils.excel_export import (
EXPORT_MAX_ROWS,
ExportColumn,
ExportValidationError,
export_rows_to_xlsx_response,
filter_export_columns,
)
router = APIRouter(prefix="/inventory", tags=["inventory"])
@@ -272,6 +279,94 @@ def list_inventory(
return result_list
INVENTORY_EXPORT_COLUMNS = [
ExportColumn(title="ID", field="id"),
ExportColumn(title="计划号", field="planNo"),
ExportColumn(title="出入库单号", field="batchNo"),
ExportColumn(title="日期", field="date"),
ExportColumn(title="往来单位", field="partnerCompany"),
ExportColumn(title="业务类型", field="businessType"),
ExportColumn(title="状态", field="status"),
ExportColumn(title="产品", field="product"),
ExportColumn(title="规格", field="specification"),
ExportColumn(title="车牌号", field="vehicleNo"),
ExportColumn(title="数量(吨)", field="quantity"),
ExportColumn(title="净重(吨)", field="netWeight"),
ExportColumn(title="毛重(吨)", field="grossWeight"),
ExportColumn(title="毛重时间", field="grossWeightTime"),
ExportColumn(title="皮重(吨)", field="tareWeight"),
ExportColumn(title="皮重时间", field="tareWeightTime"),
ExportColumn(title="扣杂(吨)", field="deduction"),
ExportColumn(title="备注", field="remarks"),
ExportColumn(title="创建人", field="createByName"),
]
class InventoryExportBody(BaseModel):
q: Optional[str] = None
plan_no: Optional[str] = Field(default=None, alias="planNo")
batch_no: Optional[str] = Field(default=None, alias="batchNo")
partner_company: Optional[str] = Field(default=None, alias="partnerCompany")
product: Optional[str] = None
vehicle_no: Optional[str] = Field(default=None, alias="vehicleNo")
date_from: Optional[str] = Field(default=None, alias="dateFrom")
date_to: Optional[str] = Field(default=None, alias="dateTo")
status: Optional[str] = None
business_type: Optional[str] = Field(default=None, alias="businessType")
ids: Optional[List[str]] = None
columns: Optional[List[str]] = None
model_config = {"populate_by_name": True}
@router.post("/export")
def export_inventory(
body: InventoryExportBody,
db: Session = Depends(get_db),
user: DbUserContext = Depends(get_db_current_user),
):
"""导出出入库列表(当前筛选全量,或 ids 已选)。"""
try:
items = list_inventory(
q=body.q,
plan_no=body.plan_no,
batch_no=body.batch_no,
partner_company=body.partner_company,
product=body.product,
vehicle_no=body.vehicle_no,
date_from=body.date_from,
date_to=body.date_to,
status_filter=body.status,
business_type=body.business_type,
db=db,
user=user,
)
if body.ids:
id_set = set(body.ids)
items = [x for x in items if x.id in id_set]
if len(items) > EXPORT_MAX_ROWS:
raise ExportValidationError(f"导出超过 {EXPORT_MAX_ROWS} 条,请缩小筛选范围")
rows = []
for item in items:
data = item.model_dump(by_alias=True)
if not data.get("createByName"):
data["createByName"] = data.get("createBy") or ""
rows.append(data)
cols = filter_export_columns(INVENTORY_EXPORT_COLUMNS, body.columns)
date_str = datetime.now().strftime("%Y%m%d")
tenant_no = get_tenant_no(db, user.to_tenant_user_dict())
return export_rows_to_xlsx_response(
db,
tenant_no=tenant_no,
sheet_title="出入库列表",
columns=cols,
rows=rows,
filename_stem=f"出入库列表_{date_str}",
)
except ExportValidationError as e:
raise HTTPException(status_code=400, detail=str(e)) from e
@router.post("/", response_model=InboundOutboundRead, status_code=status.HTTP_201_CREATED)
def create_inventory(
payload: InboundOutboundCreate,
+99 -2
View File
@@ -1,9 +1,9 @@
from typing import Optional
from typing import List, Optional
from datetime import date, datetime
from fastapi import APIRouter, Depends, HTTPException, Query, status
from pydantic import BaseModel
from pydantic import BaseModel, Field
from sqlalchemy import func, or_
from sqlalchemy.orm import Session
@@ -35,6 +35,13 @@ from app.services.db.product_helpers import (
apply_product_snapshot_to_plan,
resolve_crm_product,
)
from app.utils.excel_export import (
EXPORT_MAX_ROWS,
ExportColumn,
ExportValidationError,
export_rows_to_xlsx_response,
filter_export_columns,
)
router = APIRouter(prefix="/plans", tags=["plans"])
@@ -199,6 +206,96 @@ def list_plans(
return result_list
PLAN_EXPORT_COLUMNS = [
ExportColumn(title="计划号", field="planNo"),
ExportColumn(title="业务类型", field="businessType"),
ExportColumn(title="往来单位", field="customerName"),
ExportColumn(title="计划日期", field="planDate"),
ExportColumn(title="起始日期", field="startDate"),
ExportColumn(title="截止日期", field="endDate"),
ExportColumn(title="产品", field="product"),
ExportColumn(title="规格", field="specification"),
ExportColumn(title="车牌号", field="vehicleNo"),
ExportColumn(title="计划量(吨)", field="plannedQuantity"),
ExportColumn(title="已执行量(吨)", field="executedQuantity"),
ExportColumn(title="执行状态", field="executionStatus"),
ExportColumn(title="备注", field="remarks"),
ExportColumn(title="自动生成", field="autoGenerate"),
ExportColumn(title="创建人", field="createByName"),
]
class PlanExportBody(BaseModel):
q: Optional[str] = None
plan_no: Optional[str] = Field(default=None, alias="planNo")
customer_name: Optional[str] = Field(default=None, alias="customerName")
product: Optional[str] = None
business_type: Optional[str] = Field(default=None, alias="businessType")
execution_status: Optional[str] = Field(default=None, alias="executionStatus")
created_from: Optional[str] = Field(default=None, alias="createdFrom")
created_to: Optional[str] = Field(default=None, alias="createdTo")
start_date_from: Optional[str] = Field(default=None, alias="startDateFrom")
start_date_to: Optional[str] = Field(default=None, alias="startDateTo")
ids: Optional[List[str]] = None
columns: Optional[List[str]] = None
model_config = {"populate_by_name": True}
@router.post("/export")
def export_plans(
body: PlanExportBody,
db: Session = Depends(get_db),
user: DbUserContext = Depends(get_db_current_user),
):
"""导出计划列表(当前筛选全量,或 ids 已选)。"""
try:
items = list_plans(
q=body.q,
plan_no=body.plan_no,
customer_name=body.customer_name,
product=body.product,
business_type=body.business_type,
execution_status=body.execution_status,
created_from=body.created_from,
created_to=body.created_to,
start_date_from=body.start_date_from,
start_date_to=body.start_date_to,
db=db,
user=user,
)
if body.ids:
id_set = set(body.ids)
items = [x for x in items if x.id in id_set]
if len(items) > EXPORT_MAX_ROWS:
raise ExportValidationError(f"导出超过 {EXPORT_MAX_ROWS} 条,请缩小筛选范围")
rows = []
for item in items:
data = item.model_dump(by_alias=True)
data["autoGenerate"] = "是" if data.get("autoGenerateEnabled") else "否"
eq = data.get("executedQuantity") or 0
try:
data["executedQuantity"] = round(float(eq) / 1000, 2)
except (TypeError, ValueError):
data["executedQuantity"] = 0
if not data.get("createByName"):
data["createByName"] = data.get("createBy") or ""
rows.append(data)
cols = filter_export_columns(PLAN_EXPORT_COLUMNS, body.columns)
date_str = datetime.now().strftime("%Y%m%d")
tenant_no = get_tenant_no(db, user.to_tenant_user_dict())
return export_rows_to_xlsx_response(
db,
tenant_no=tenant_no,
sheet_title="计划列表",
columns=cols,
rows=rows,
filename_stem=f"计划列表_{date_str}",
)
except ExportValidationError as e:
raise HTTPException(status_code=400, detail=str(e)) from e
def _generate_plan_no() -> str:
from app.services.db.plan_helpers import generate_plan_no
+109 -2
View File
@@ -1,9 +1,9 @@
from typing import Optional
from typing import List, Optional
from datetime import datetime
from fastapi import APIRouter, Depends, HTTPException, Query, status
from pydantic import BaseModel
from pydantic import BaseModel, Field
from sqlalchemy import func, or_
from sqlalchemy.orm import Session
@@ -32,6 +32,13 @@ from app.services.db.product_helpers import (
apply_product_snapshot_to_weighing,
resolve_crm_product,
)
from app.utils.excel_export import (
EXPORT_MAX_ROWS,
ExportColumn,
ExportValidationError,
export_rows_to_xlsx_response,
filter_export_columns,
)
router = APIRouter(prefix="/weighing", tags=["weighing"])
@@ -195,6 +202,106 @@ def list_weighing(
]
WEIGHING_EXPORT_COLUMNS = [
ExportColumn(title="日期", field="inventoryDate"),
ExportColumn(title="计划单号", field="planNo"),
ExportColumn(title="出入库单号", field="batchNo"),
ExportColumn(title="车牌号", field="vehicleNo"),
ExportColumn(title="货物名称", field="cargoName"),
ExportColumn(title="规格", field="specification"),
ExportColumn(title="业务类型", field="businessType"),
ExportColumn(title="单据状态", field="docStatus"),
ExportColumn(title="供货单位", field="supplier"),
ExportColumn(title="收货单位", field="consignee"),
ExportColumn(title="本次量(吨)", field="currentQuantity"),
ExportColumn(title="净重(吨)", field="netWeight"),
ExportColumn(title="毛重(kg)", field="grossWeight"),
ExportColumn(title="毛重时间", field="grossWeightTime"),
ExportColumn(title="皮重(kg)", field="tareWeight"),
ExportColumn(title="皮重时间", field="tareWeightTime"),
ExportColumn(title="扣杂(kg)", field="deduction"),
ExportColumn(title="创建人", field="createByName"),
]
class WeighingExportBody(BaseModel):
q: Optional[str] = None
date_from: Optional[str] = Field(default=None, alias="dateFrom")
date_to: Optional[str] = Field(default=None, alias="dateTo")
plan_no: Optional[str] = Field(default=None, alias="planNo")
batch_no: Optional[str] = Field(default=None, alias="batchNo")
vehicle_no: Optional[str] = Field(default=None, alias="vehicleNo")
cargo_name: Optional[str] = Field(default=None, alias="cargoName")
supplier: Optional[str] = None
consignee: Optional[str] = None
business_type: Optional[str] = Field(default=None, alias="businessType")
ids: Optional[List[str]] = None
columns: Optional[List[str]] = None
model_config = {"populate_by_name": True}
def _kg_to_ton(value) -> float:
try:
return round(float(value or 0) / 1000, 2)
except (TypeError, ValueError):
return 0.0
@router.post("/export")
def export_weighing(
body: WeighingExportBody,
db: Session = Depends(get_db),
user: DbUserContext = Depends(get_db_current_user),
):
"""导出地磅单列表(当前筛选全量,或 ids 已选)。"""
try:
items = list_weighing(
q=body.q,
date_from=body.date_from,
date_to=body.date_to,
plan_no=body.plan_no,
batch_no=body.batch_no,
vehicle_no=body.vehicle_no,
cargo_name=body.cargo_name,
supplier=body.supplier,
consignee=body.consignee,
business_type=body.business_type,
db=db,
user=user,
)
if body.ids:
id_set = set(body.ids)
items = [x for x in items if x.id in id_set]
if len(items) > EXPORT_MAX_ROWS:
raise ExportValidationError(f"导出超过 {EXPORT_MAX_ROWS} 条,请缩小筛选范围")
rows = []
for item in items:
data = item.model_dump(by_alias=True)
data["docStatus"] = "已作废" if data.get("isVoided") == 1 else "正常"
data["currentQuantity"] = _kg_to_ton(data.get("currentQuantity"))
data["netWeight"] = _kg_to_ton(data.get("netWeight"))
if not data.get("inventoryDate"):
gwt = data.get("grossWeightTime") or ""
data["inventoryDate"] = str(gwt)[:10] if gwt else ""
if not data.get("createByName"):
data["createByName"] = data.get("createBy") or ""
rows.append(data)
cols = filter_export_columns(WEIGHING_EXPORT_COLUMNS, body.columns)
date_str = datetime.now().strftime("%Y%m%d")
tenant_no = get_tenant_no(db, user.to_tenant_user_dict())
return export_rows_to_xlsx_response(
db,
tenant_no=tenant_no,
sheet_title="地磅单列表",
columns=cols,
rows=rows,
filename_stem=f"地磅单列表_{date_str}",
)
except ExportValidationError as e:
raise HTTPException(status_code=400, detail=str(e)) from e
@router.post("/", response_model=WeighingSlipRead, status_code=status.HTTP_201_CREATED)
def create_weighing(
payload: WeighingSlipCreate,
+128 -5
View File
@@ -22,10 +22,12 @@ from app.models.pl_models import (
PlOutboundOrder,
PlOutboundOrderItem,
PlPlan,
PlPlanProduct,
)
from app.schemas.pl.io_order import (
PublicIoOrderFeedback,
PublicIoOrderHistoryPageRead,
PublicIoOrderHistoryProductRead,
PublicIoOrderHistoryRecordRead,
)
from app.services.pl_io_order_service import (
@@ -34,10 +36,24 @@ from app.services.pl_io_order_service import (
order_header_to_dict,
parse_feedback_images,
)
from app.services.pl_product_display import (
load_crm_product_alias_maps,
resolve_product_display_names,
)
from app.utils.excel_export import load_dict_label_maps
inbound_public_router = APIRouter(prefix="/public/pl/inbound", tags=["运输计划-入库单公共"])
outbound_public_router = APIRouter(prefix="/public/pl/outbound", tags=["运输计划-出库单公共"])
CRM_PRODUCT_UNIT = "crm_product_unit"
def _resolve_unit_label(unit_map: dict[str, str], unit_code: Optional[str]) -> str:
code = (unit_code or "").strip()
if not code:
return "吨"
return unit_map.get(code, code)
def _models(kind: str):
if kind == "inbound":
@@ -99,7 +115,7 @@ def _query_kind_history(
keyword: str,
) -> list[tuple]:
"""返回 [(create_time, PublicIoOrderHistoryRecordRead), ...]。"""
header_m, _item_m = _models(kind)
header_m, item_m = _models(kind)
query = (
db.query(header_m, PlPlan)
.outerjoin(
@@ -115,10 +131,19 @@ def _query_kind_history(
kw = (keyword or "").strip()
if kw:
like = f"%{kw}%"
product_match = (
db.query(item_m.id)
.filter(
item_m.order_id == header_m.id,
item_m.del_flag == 0,
item_m.product_name.like(like),
)
.exists()
)
query = query.filter(
or_(
PlPlan.supplier_name.like(like),
PlPlan.customer_name.like(like),
header_m.vehicle_no.like(like),
product_match,
)
)
rows = query.order_by(header_m.create_time.desc()).all()
@@ -140,6 +165,12 @@ def _query_kind_history(
supplier_name=plan.supplier_name if plan else None,
customer_name=plan.customer_name if plan else None,
vehicle_no=header.vehicle_no,
pickup_time=plan.pickup_time if plan else None,
delivery_time=plan.delivery_time if plan else None,
pickup_address=plan.pickup_address if plan else None,
destination_address=(
(plan.destination_address or plan.destination_name) if plan else None
),
site_access_token=tok or None,
site_url=build_io_order_site_url(kind, tok) if tok else None,
status=header.status,
@@ -178,16 +209,108 @@ def _build_history_page(
page_size = min(max(1, int(page_size or 20)), 500)
start = (page - 1) * page_size
page_rows = merged[start : start + page_size]
records = [r for _, r in page_rows]
_attach_history_products(db, tenant_no=header.tenant_no, records=records)
return PublicIoOrderHistoryPageRead(
date=day.isoformat(),
keyword=kw or None,
page=page,
page_size=page_size,
total=total,
records=[r for _, r in page_rows],
records=records,
)
def _attach_history_products(
db: Session,
*,
tenant_no: str,
records: list[PublicIoOrderHistoryRecordRead],
) -> None:
if not records:
return
inbound_ids = [r.order_id for r in records if r.kind == "inbound"]
outbound_ids = [r.order_id for r in records if r.kind == "outbound"]
items_by_order: dict[str, list] = {}
if inbound_ids:
for item in (
db.query(PlInboundOrderItem)
.filter(
PlInboundOrderItem.order_id.in_(inbound_ids),
PlInboundOrderItem.del_flag == 0,
)
.order_by(PlInboundOrderItem.order_num.asc(), PlInboundOrderItem.create_time.asc())
.all()
):
items_by_order.setdefault(item.order_id, []).append(item)
if outbound_ids:
for item in (
db.query(PlOutboundOrderItem)
.filter(
PlOutboundOrderItem.order_id.in_(outbound_ids),
PlOutboundOrderItem.del_flag == 0,
)
.order_by(PlOutboundOrderItem.order_num.asc(), PlOutboundOrderItem.create_time.asc())
.all()
):
items_by_order.setdefault(item.order_id, []).append(item)
all_items = [it for items in items_by_order.values() for it in items]
plan_product_ids = {
(it.plan_product_id or "").strip() for it in all_items if (it.plan_product_id or "").strip()
}
plan_product_by_id: dict[str, PlPlanProduct] = {}
if plan_product_ids:
for prod in (
db.query(PlPlanProduct)
.filter(PlPlanProduct.id.in_(list(plan_product_ids)), PlPlanProduct.del_flag == 0)
.all()
):
plan_product_by_id[prod.id] = prod
crm_product_ids = {
(it.product_id or "").strip() for it in all_items if (it.product_id or "").strip()
}
standard_by_id, alias_options_by_id = load_crm_product_alias_maps(
db, tenant_no=tenant_no, product_ids=crm_product_ids
)
unit_map = load_dict_label_maps(db, [CRM_PRODUCT_UNIT], tenant_no=tenant_no).get(
CRM_PRODUCT_UNIT, {}
)
for record in records:
products: list[PublicIoOrderHistoryProductRead] = []
for item in items_by_order.get(record.order_id) or []:
product_id = (item.product_id or "").strip()
plan_product = plan_product_by_id.get((item.plan_product_id or "").strip())
display_name, _alias = resolve_product_display_names(
saved_product_name=item.product_name,
product_id=product_id,
standard_by_id=standard_by_id,
alias_options_by_id=alias_options_by_id,
)
model = (item.specification or "").strip() or (
(plan_product.model or "").strip() if plan_product else ""
) or None
package_spec = (
(plan_product.package_spec or "").strip() if plan_product else ""
) or None
qty = item.actual_qty if item.actual_qty is not None else item.plan_qty
products.append(
PublicIoOrderHistoryProductRead(
product_name=display_name or item.product_name or "—",
model=model,
package_spec=package_spec,
quantity=qty,
unit=_resolve_unit_label(unit_map, item.unit),
)
)
record.products = products
def _build_page(db: Session, kind: str, header, items) -> dict:
plan = db.query(PlPlan).filter(PlPlan.id == header.plan_id, PlPlan.del_flag == 0).first()
voided, archived = _resolve_io_order_link_flags(plan, header)
@@ -216,7 +339,7 @@ def _make_handlers(kind: str):
def get_history(
token: str,
date: str = Query(..., description="筛选日 YYYY-MM-DD"),
q: Optional[str] = Query(None, description="供方/需方名称模糊"),
q: Optional[str] = Query(None, description="车牌号/产品名称模糊"),
page: int = Query(1, ge=1, description="页码,从 1 开始"),
page_size: int = Query(20, ge=1, le=500, alias="pageSize", description="每页条数"),
db: Session = Depends(get_db),
+46 -1
View File
@@ -30,6 +30,7 @@ from app.schemas.pl.resource_snapshot import parse_resource_snapshot
from app.schemas.pl.transport import (
PublicTransportFeedback,
PublicTransportHistoryPageRead,
PublicTransportHistoryProductRead,
PublicTransportHistoryRecordRead,
PublicTransportPageRead,
PublicTransportPersonnelRead,
@@ -389,11 +390,54 @@ def get_public_transport_history(
)
seen_plan: set[str] = set()
records: list[PublicTransportHistoryRecordRead] = []
plan_rows: list[tuple[PlPlan, PlTransport]] = []
for plan, tr in rows:
if plan.id in seen_plan:
continue
seen_plan.add(plan.id)
plan_rows.append((plan, tr))
products_by_plan: dict[str, list[PublicTransportHistoryProductRead]] = {}
if plan_rows:
plan_ids = [plan.id for plan, _ in plan_rows]
product_rows = (
db.query(PlPlanProduct)
.filter(
PlPlanProduct.plan_id.in_(plan_ids),
PlPlanProduct.del_flag == 0,
)
.order_by(PlPlanProduct.order_num.asc(), PlPlanProduct.create_time.asc())
.all()
)
crm_product_ids = {
(p.product_id or "").strip() for p in product_rows if (p.product_id or "").strip()
}
standard_by_id, alias_options_by_id = load_crm_product_alias_maps(
db, tenant_no=transport.tenant_no, product_ids=crm_product_ids
)
unit_map = load_dict_label_maps(
db, [CRM_PRODUCT_UNIT], tenant_no=transport.tenant_no
).get(CRM_PRODUCT_UNIT, {})
for prod in product_rows:
product_id = (prod.product_id or "").strip()
display_name, _alias_name = resolve_product_display_names(
saved_product_name=prod.product_name,
product_id=product_id,
standard_by_id=standard_by_id,
alias_options_by_id=alias_options_by_id,
)
products_by_plan.setdefault(prod.plan_id, []).append(
PublicTransportHistoryProductRead(
product_name=display_name or prod.product_name or "—",
model=prod.model,
package_spec=prod.package_spec,
quantity=prod.quantity or prod.inbound_estimate_qty or prod.outbound_estimate_qty,
unit=_resolve_unit_label(unit_map, prod.unit),
)
)
records: list[PublicTransportHistoryRecordRead] = []
for plan, tr in plan_rows:
voided, archived = _resolve_driver_link_flags(plan, tr)
tok = (tr.driver_access_token or "").strip()
records.append(
@@ -408,6 +452,7 @@ def get_public_transport_history(
delivery_time=plan.delivery_time,
pickup_address=plan.pickup_address,
destination_address=plan.destination_address or plan.destination_name,
products=products_by_plan.get(plan.id) or [],
plan_voided=voided,
plan_archived=archived,
status_label=_history_status_label(voided, archived),
+5 -1
View File
@@ -234,6 +234,7 @@ def list_customers(
create_time_end: str = None,
user_info=None,
skip_data_scope: bool = False,
max_page_size: Optional[int] = None,
) -> Tuple[List[Dict[str, Any]], int]:
q = db.query(CrmCustomer).filter(
CrmCustomer.tenant_no == tenant_no,
@@ -321,7 +322,8 @@ def list_customers(
total = q.order_by(None).with_entities(func.count(CrmCustomer.id)).scalar() or 0
page = max(1, page)
page_size = min(max(1, page_size), 500)
cap = max_page_size if max_page_size is not None else 500
page_size = min(max(1, page_size), cap)
order_by = CrmCustomer.create_time.desc()
if view_mode == "toFollow":
@@ -349,6 +351,7 @@ def list_pool_customers(
industry: str = None,
park_area: str = None,
user_info=None,
max_page_size: Optional[int] = None,
) -> Tuple[List[Dict[str, Any]], int]:
return list_customers(
db,
@@ -362,6 +365,7 @@ def list_pool_customers(
park_area=park_area,
user_info=user_info,
skip_data_scope=True,
max_page_size=max_page_size,
)
+4
View File
@@ -55,6 +55,7 @@ def list_pool_rules(
rule_type: Optional[str] = None,
status: Optional[str] = None,
user_info=None,
max_page_size: Optional[int] = None,
) -> Tuple[List[Dict[str, Any]], int]:
q = db.query(CrmCustomerPoolRule).filter(
CrmCustomerPoolRule.tenant_no == tenant_no,
@@ -73,6 +74,9 @@ def list_pool_rules(
total = q.count()
q = q.order_by(CrmCustomerPoolRule.sort.asc(), CrmCustomerPoolRule.create_time.desc())
cap = max_page_size if max_page_size is not None else 500
page_size = min(max(1, page_size), cap)
page = max(1, page)
offset = (page - 1) * page_size
rows = q.offset(offset).limit(page_size).all()
return [_row_to_dict(r) for r in rows], total
+3
View File
@@ -39,6 +39,9 @@ class ClueListBody(BaseModel):
# ── 线索新增/编辑 ──────────────────────────────────────────────────
ids: Optional[List[str]] = Field(default=None, description="导出指定ID列表")
columns: Optional[List[str]] = Field(default=None, description="导出列(前端 visibleColumns)")
class ClueCreateBody(BaseModel):
model_config = ConfigDict(populate_by_name=True)
+3
View File
@@ -20,6 +20,9 @@ class ContactListBody(BaseModel):
status: Optional[str] = Field(default=None, description="状态")
role: Optional[str] = Field(default=None, description="角色")
ids: Optional[List[str]] = Field(default=None, description="导出指定ID列表")
columns: Optional[List[str]] = Field(default=None, description="导出列(前端 visibleColumns)")
class ContactCreateBody(BaseModel):
model_config = ConfigDict(populate_by_name=True)
+15 -4
View File
@@ -217,7 +217,9 @@ class ContractUploadAttachmentsBody(BaseModel):
class ContractExportBody(ContractListQuery):
"""POST /contract/export 筛选条件(无分页或沿用 list 参数)"""
pass
ids: Optional[List[str]] = Field(default=None, description="导出指定ID列表")
columns: Optional[List[str]] = Field(default=None, description="导出列(前端 visibleColumns)")
class ContractStatisticsOverviewQuery(BaseModel):
@@ -324,7 +326,10 @@ class ContractChangeSubmitBody(BaseModel):
class ContractChangeExportBody(ContractChangeListQuery):
pass
ids: Optional[List[str]] = Field(default=None, description="导出指定ID列表")
columns: Optional[List[str]] = Field(default=None, description="导出列(前端 visibleColumns)")
class ContractTemplateCreateBody(BaseModel):
@@ -354,7 +359,10 @@ class ContractTemplateUpdateBody(ContractTemplateCreateBody):
class ContractTemplateExportBody(ContractTemplateListQuery):
pass
ids: Optional[List[str]] = Field(default=None, description="导出指定ID列表")
columns: Optional[List[str]] = Field(default=None, description="导出列(前端 visibleColumns)")
class ContractApprovalTransferBody(BaseModel):
@@ -364,4 +372,7 @@ class ContractApprovalTransferBody(BaseModel):
class ContractApprovalExportBody(ContractApprovalListQuery):
pass
ids: Optional[List[str]] = Field(default=None, description="导出指定ID列表")
columns: Optional[List[str]] = Field(default=None, description="导出列(前端 visibleColumns)")
+4
View File
@@ -51,6 +51,10 @@ class CustomerListBody(BaseModel):
begin_time: Optional[str] = Field(default=None, alias="beginTime", description="创建时间起")
end_time: Optional[str] = Field(default=None, alias="endTime", description="创建时间止")
ids: Optional[List[str]] = Field(default=None, description="导出指定ID列表")
columns: Optional[List[str]] = Field(default=None, description="导出列(前端 visibleColumns)")
def to_list_kwargs(self, *, view_mode_override: Optional[str] = None) -> dict:
"""解析列表查询参数,供 API 与 CRUD 共用。"""
keyword = (self.keyword or self.search_keyword or "").strip() or None
@@ -17,6 +17,9 @@ class CustomerFollowListBody(BaseModel):
follow_time_start: Optional[str] = Field(default=None, alias="followTimeStart", description="跟进时间起")
follow_time_end: Optional[str] = Field(default=None, alias="followTimeEnd", description="跟进时间止")
ids: Optional[List[str]] = Field(default=None, description="导出指定ID列表")
columns: Optional[List[str]] = Field(default=None, description="导出列(前端 visibleColumns)")
class CustomerFollowCreateBody(BaseModel):
model_config = ConfigDict(populate_by_name=True)
+2
View File
@@ -13,6 +13,8 @@ class PoolCustomerListBody(BaseModel):
level: Optional[str] = Field(default=None)
industry: Optional[str] = Field(default=None)
parkArea: Optional[str] = Field(default=None, alias="parkArea")
ids: Optional[List[str]] = Field(default=None, description="导出指定ID列表")
columns: Optional[List[str]] = Field(default=None, description="导出列(前端 visibleColumns)")
class PoolAssignBody(BaseModel):
+3
View File
@@ -28,6 +28,9 @@ class OpportunityListBody(BaseModel):
min_amount: Optional[float] = Field(default=None, alias="minAmount")
max_amount: Optional[float] = Field(default=None, alias="maxAmount")
ids: Optional[List[str]] = Field(default=None, description="导出指定ID列表")
columns: Optional[List[str]] = Field(default=None, description="导出列(前端 visibleColumns)")
class OpportunityDetailBody(BaseModel):
model_config = ConfigDict(populate_by_name=True)
+3 -1
View File
@@ -1,5 +1,5 @@
"""CRM 客户公海池规则 Pydantic Schemas"""
from typing import Optional
from typing import List, Optional
from pydantic import BaseModel, ConfigDict, Field
@@ -12,6 +12,8 @@ class PoolRuleListBody(BaseModel):
poolName: Optional[str] = Field(default=None)
ruleType: Optional[str] = Field(default=None)
status: Optional[str] = Field(default=None)
ids: Optional[List[str]] = Field(default=None, description="导出指定ID列表")
columns: Optional[List[str]] = Field(default=None, description="导出列(前端 visibleColumns)")
class PoolRuleDetailBody(BaseModel):
+3
View File
@@ -57,6 +57,9 @@ class QuoteListBody(BaseModel):
approvedByUserId: Optional[str] = None
pendingApprovalUserId: Optional[str] = None
ids: Optional[List[str]] = Field(default=None, description="导出指定ID列表")
columns: Optional[List[str]] = Field(default=None, description="导出列(前端 visibleColumns)")
class QuoteDetailBody(BaseModel):
id: str
+3
View File
@@ -15,6 +15,9 @@ class SupplierInfoListBody(BaseModel):
supplier_name: Optional[str] = Field(default=None, alias="supplierName", description="供方名称")
status: Optional[str] = Field(default=None, description="状态(0正常 1停用)")
ids: Optional[List[str]] = Field(default=None, description="导出指定ID列表")
columns: Optional[List[str]] = Field(default=None, description="导出列(前端 visibleColumns)")
class SupplierInfoListAllBody(BaseModel):
"""供方全量列表(下拉,不分页)"""
+14
View File
@@ -125,6 +125,15 @@ class PublicIoOrderFeedback(BaseModel):
model_config = {"populate_by_name": True}
class PublicIoOrderHistoryProductRead(BaseModel):
product_name: str = Field(alias="productName")
model: Optional[str] = None
package_spec: Optional[str] = Field(default=None, alias="packageSpec")
quantity: Optional[Decimal] = None
unit: Optional[str] = None
model_config = {"populate_by_name": True}
class PublicIoOrderHistoryRecordRead(BaseModel):
kind: str = Field(description="inbound | outbound")
order_id: str = Field(alias="orderId")
@@ -136,6 +145,11 @@ class PublicIoOrderHistoryRecordRead(BaseModel):
supplier_name: Optional[str] = Field(default=None, alias="supplierName")
customer_name: Optional[str] = Field(default=None, alias="customerName")
vehicle_no: Optional[str] = Field(default=None, alias="vehicleNo")
pickup_time: Optional[datetime] = Field(default=None, alias="pickupTime")
delivery_time: Optional[datetime] = Field(default=None, alias="deliveryTime")
pickup_address: Optional[str] = Field(default=None, alias="pickupAddress")
destination_address: Optional[str] = Field(default=None, alias="destinationAddress")
products: list[PublicIoOrderHistoryProductRead] = Field(default_factory=list)
site_access_token: Optional[str] = Field(default=None, alias="siteAccessToken")
site_url: Optional[str] = Field(default=None, alias="siteUrl")
status: Optional[str] = None
+10
View File
@@ -283,6 +283,15 @@ class PublicTransportPageRead(BaseModel):
model_config = {"populate_by_name": True}
class PublicTransportHistoryProductRead(BaseModel):
product_name: str = Field(alias="productName")
model: Optional[str] = None
package_spec: Optional[str] = Field(default=None, alias="packageSpec")
quantity: Optional[Decimal] = None
unit: Optional[str] = None
model_config = {"populate_by_name": True}
class PublicTransportHistoryRecordRead(BaseModel):
plan_id: str = Field(alias="planId")
plan_no: str = Field(alias="planNo")
@@ -294,6 +303,7 @@ class PublicTransportHistoryRecordRead(BaseModel):
delivery_time: Optional[datetime] = Field(default=None, alias="deliveryTime")
pickup_address: Optional[str] = Field(default=None, alias="pickupAddress")
destination_address: Optional[str] = Field(default=None, alias="destinationAddress")
products: list[PublicTransportHistoryProductRead] = Field(default_factory=list)
plan_voided: bool = Field(default=False, alias="planVoided")
plan_archived: bool = Field(default=False, alias="planArchived")
status_label: str = Field(default="进行中", alias="statusLabel")
+34
View File
@@ -66,6 +66,40 @@ CUSTOMER_EXPORT_COLUMNS = (
ExportColumn("备注", "remark"),
)
POOL_CUSTOMER_EXPORT_COLUMNS = (
ExportColumn("客户编号", "customerNo"),
ExportColumn("客户名称", "customerName"),
ExportColumn("客户简称", "shortName"),
ExportColumn("客户类型", "customerType", dict_type="crm_customer_type"),
ExportColumn("级别", "level", dict_type="crm_customer_level"),
ExportColumn("来源", "source", dict_type="crm_clue_source"),
ExportColumn("行业", "industry", dict_type="crm_customer_industry"),
ExportColumn("所在园区", "parkArea", dict_type="crm_customer_park"),
ExportColumn("手机号", "mobile"),
ExportColumn("电话", "telephone"),
ExportColumn("邮箱", "email"),
ExportColumn("地址", "address"),
ExportColumn("成交状态", "dealStatus", dict_type="crm_deal_status"),
ExportColumn("原负责人", "ownerUserName"),
ExportColumn("跟进次数", "followCount"),
ExportColumn("最后跟进时间", "lastTime"),
ExportColumn("进入公海时间", "intoPoolTime"),
ExportColumn("创建时间", "createTime"),
ExportColumn("备注", "remark"),
)
POOL_RULE_EXPORT_COLUMNS = (
ExportColumn("规则名称", "poolName"),
ExportColumn("规则类型", "ruleType"),
ExportColumn("超时天数", "timeoutDays"),
ExportColumn("保护天数", "protectDays"),
ExportColumn("状态", "status"),
ExportColumn("排序", "sort"),
ExportColumn("创建时间", "createTime"),
ExportColumn("备注", "remark"),
)
PRODUCT_EXPORT_COLUMNS = (
ExportColumn("产品编号", "productNo"),
ExportColumn("产品名称", "productName"),
+15 -21
View File
@@ -108,46 +108,40 @@
"106": "site.py",
"107": "apply_pl_scope",
"108": "statistics.py",
"109": "_ensure_subpack_slip_no",
"109": "monitor.py",
"110": "list_duty_staff_users",
"111": "Community 111",
"111": "dict_data.py",
"112": ".to_tenant_user_dict",
"113": "quote_share_log.py",
"113": "dict_type.py",
"114": "db_models.py",
"115": "site.py",
"116": "Community 116",
"117": "get_web_auth_menu_codes",
"117": "price_letter_detail",
"118": "Community 118",
"119": "Community 119",
"120": "sqlalchemy_exception_handler",
"121": "Session",
"122": "Community 122",
"121": "post.py",
"122": "site.py",
"123": "customer_options",
"124": "datetime_parse.py",
"125": "build_annotated_result_bytes",
"125": "resolve_crm_product",
"126": "customer_pool.py",
"127": "web_login_rsa_public_key",
"127": "allocate_next_biz_no",
"128": "product_allowed",
"129": "BaseStorage",
"130": ".to_tenant_user_dict",
"131": "list_product_options",
"130": "contact.py",
"131": "customer_update",
"132": "context.py",
"133": "product.py",
"134": "test_crm_approval_reedit.py",
"135": "opportunity_follow.py",
"133": "opportunity_export",
"134": "response.py",
"135": "unsettled_plans_q_filter",
"136": "Community 136",
"137": "statistics.py",
"137": "customer_options",
"138": "Community 138",
"139": "get_current_user_by_token",
"140": "utils.py",
"141": "customer_follow.py",
"142": "price_letter_detail",
"143": "opportunity_export",
"144": "dict_data.py",
"140": "UserRole",
"145": "resolve_crm_product",
"146": "__init__.py",
"147": "Community 147",
"148": "get_db_current_user_optional",
"151": "Community 151",
"154": "response.py",
"159": "customer_update",
@@ -108,35 +108,23 @@
"106": "site.py",
"107": "apply_pl_scope",
"108": "statistics.py",
"109": "_ensure_subpack_slip_no",
"110": "list_duty_staff_users",
"111": "Community 111",
"112": ".to_tenant_user_dict",
"113": "quote_share_log.py",
"114": "db_models.py",
"115": "site.py",
"116": "Community 116",
"117": "get_web_auth_menu_codes",
"118": "Community 118",
"119": "Community 119",
"120": "sqlalchemy_exception_handler",
"121": "Session",
"122": "Community 122",
"123": "customer_options",
"124": "datetime_parse.py",
"125": "build_annotated_result_bytes",
"126": "customer_pool.py",
"127": "web_login_rsa_public_key",
"128": "product_allowed",
"129": "BaseStorage",
"130": ".to_tenant_user_dict",
"131": "list_product_options",
"132": "context.py",
"136": "Community 136",
"137": "statistics.py",
"138": "Community 138",
"139": "get_current_user_by_token",
"144": "dict_data.py",
"145": "resolve_crm_product",
"147": "Community 147",
"151": "Community 151",
+203 -255
View File
@@ -1,16 +1,16 @@
# Graph Report - backend (2026-08-21)
## Corpus Check
- 338 files · ~223,450 words
- 339 files · ~229,621 words
- Verdict: corpus is large enough that graph structure adds value.
## Summary
- 4635 nodes · 16891 edges · 177 communities (159 shown, 18 thin omitted)
- Extraction: 97% EXTRACTED · 3% INFERRED · 0% AMBIGUOUS · INFERRED: 537 edges (avg confidence: 0.53)
- 4739 nodes · 17613 edges · 165 communities (149 shown, 16 thin omitted)
- Extraction: 95% EXTRACTED · 5% INFERRED · 0% AMBIGUOUS · INFERRED: 794 edges (avg confidence: 0.52)
- Token cost: 0 input · 0 output
## Graph Freshness
- Built from commit: `e9ad26cb`
- Built from commit: `89e8d6e6`
- Run `git rev-parse HEAD` and compare to check if the graph is stale.
- Run `graphify update .` after code changes (no API cost).
@@ -124,35 +124,23 @@
- [[_COMMUNITY_site.py|site.py]]
- [[_COMMUNITY_apply_pl_scope|apply_pl_scope]]
- [[_COMMUNITY_statistics.py|statistics.py]]
- [[_COMMUNITY__ensure_subpack_slip_no|_ensure_subpack_slip_no]]
- [[_COMMUNITY_list_duty_staff_users|list_duty_staff_users]]
- [[_COMMUNITY_Community 111|Community 111]]
- [[_COMMUNITY_.to_tenant_user_dict|.to_tenant_user_dict]]
- [[_COMMUNITY_quote_share_log.py|quote_share_log.py]]
- [[_COMMUNITY_db_models.py|db_models.py]]
- [[_COMMUNITY_site.py|site.py]]
- [[_COMMUNITY_Community 116|Community 116]]
- [[_COMMUNITY_get_web_auth_menu_codes|get_web_auth_menu_codes]]
- [[_COMMUNITY_Community 118|Community 118]]
- [[_COMMUNITY_Community 119|Community 119]]
- [[_COMMUNITY_sqlalchemy_exception_handler|sqlalchemy_exception_handler]]
- [[_COMMUNITY_Session|Session]]
- [[_COMMUNITY_Community 122|Community 122]]
- [[_COMMUNITY_customer_options|customer_options]]
- [[_COMMUNITY_datetime_parse.py|datetime_parse.py]]
- [[_COMMUNITY_build_annotated_result_bytes|build_annotated_result_bytes]]
- [[_COMMUNITY_customer_pool.py|customer_pool.py]]
- [[_COMMUNITY_web_login_rsa_public_key|web_login_rsa_public_key]]
- [[_COMMUNITY_product_allowed|product_allowed]]
- [[_COMMUNITY_BaseStorage|BaseStorage]]
- [[_COMMUNITY_.to_tenant_user_dict|.to_tenant_user_dict]]
- [[_COMMUNITY_list_product_options|list_product_options]]
- [[_COMMUNITY_context.py|context.py]]
- [[_COMMUNITY_Community 136|Community 136]]
- [[_COMMUNITY_statistics.py|statistics.py]]
- [[_COMMUNITY_Community 138|Community 138]]
- [[_COMMUNITY_get_current_user_by_token|get_current_user_by_token]]
- [[_COMMUNITY_dict_data.py|dict_data.py]]
- [[_COMMUNITY_resolve_crm_product|resolve_crm_product]]
- [[_COMMUNITY_Community 147|Community 147]]
- [[_COMMUNITY_Community 151|Community 151]]
@@ -184,16 +172,16 @@
- [[_COMMUNITY_PlanResourceSnapshotMixin|PlanResourceSnapshotMixin]]
## God Nodes (most connected - your core abstractions)
1. `BaseModel` - 461 edges
2. `get_tenant_no()` - 353 edges
3. `success_response()` - 271 edges
4. `DbUserContext` - 258 edges
5. `error_response()` - 250 edges
1. `BaseModel` - 494 edges
2. `get_tenant_no()` - 368 edges
3. `DbUserContext` - 290 edges
4. `success_response()` - 273 edges
5. `error_response()` - 266 edges
6. `generate_uuid()` - 198 edges
7. `BxUserContext` - 188 edges
8. `crm_user_info()` - 137 edges
9. `assert_row_deletable_by_creator()` - 83 edges
10. `ApiResponse` - 80 edges
9. `SysUser` - 91 edges
10. `assert_row_deletable_by_creator()` - 83 edges
## Surprising Connections (you probably didn't know these)
- `BackfillRule` --uses--> `Settings` [INFERRED]
@@ -210,7 +198,7 @@
## Import Cycles
- None detected.
## Communities (177 total, 18 thin omitted)
## Communities (165 total, 16 thin omitted)
### Community 0 - "Community 0"
Cohesion: 0.11
@@ -218,7 +206,7 @@ Nodes (23): BxAdvanceApply, BxAdvanceApproval, BxReimburseOffset, BxWorkflowNode
### Community 1 - "Community 1"
Cohesion: 0.08
Nodes (39): CRM 合同 API 路由 — GET/PUT/DELETE/POST 对齐原 Java CRM, 运营端角色守卫:admin / super_admin 可访问。, 接口菜单权限守卫。super_admin 直接放行。, require_admin_or_super_admin(), require_menu_code(), oper_log(), 在 handler 执行前设置操作日志元数据。, ContractApproverSettingSaveBody (+31 more)
Nodes (35): CRM 合同 API 路由 — GET/PUT/DELETE/POST 对齐原 Java CRM, 接口菜单权限守卫。super_admin 直接放行。, require_menu_code(), ContractApproverSettingSaveBody, ContractApprovalActionBody, ContractBatchAssignBody, ContractBatchSubmitBody, ContractChangeCreateBody (+27 more)
### Community 2 - "Community 2"
Cohesion: 0.10
@@ -226,47 +214,47 @@ Nodes (32): advance_issue_stats(), batch_offset(), export_advance_issues(), issu
### Community 3 - "Community 3"
Cohesion: 0.07
Nodes (66): attachment_download_url(), attachment_preview_url(), create_dept(), create_dict_data(), create_dict_type(), create_menu(), create_menu_favorite(), create_post() (+58 more)
Nodes (97): attachment_download_url(), attachment_preview_url(), create_dept(), create_dict_data(), create_dict_type(), create_menu(), create_menu_favorite(), create_post() (+89 more)
### Community 4 - "Community 4"
Cohesion: 0.09
Nodes (76): _apply_list_filters(), assign_opportunities(), batch_update_expect_date(), batch_update_stage(), change_stage(), create_opportunity(), _decimal_value(), _enrich_user_names() (+68 more)
Cohesion: 0.12
Nodes (61): _apply_list_filters(), assign_opportunities(), batch_update_expect_date(), batch_update_stage(), change_stage(), create_opportunity(), _decimal_value(), _enrich_user_names() (+53 more)
### Community 5 - "Community 5"
Cohesion: 0.07
Nodes (69): archive_plan(), _build_driver_url(), cancel_plan(), cancel_plan_wait_notice(), count_plans_by_contract(), create_from_contract(), create_plan(), create_plan_full() (+61 more)
Cohesion: 0.05
Nodes (97): cancel_plan(), cancel_plan_wait_notice(), count_plans_by_contract(), create_from_contract(), create_plan(), create_plan_full(), _determine_plan_type(), _ensure_subpack_slip_no() (+89 more)
### Community 6 - "Community 6"
Cohesion: 0.10
Nodes (51): customer_create(), customer_update(), follow_by_customer(), follow_detail(), assign_customer(), batch_claim_customers(), check_duplicate_customer(), claim_customer() (+43 more)
Cohesion: 0.14
Nodes (39): assign_customer(), batch_claim_customers(), check_duplicate_customer(), claim_customer(), create_customer(), deal_customer(), _enrich_user_names(), _ensure_customer_in_scope() (+31 more)
### Community 7 - "Community 7"
Cohesion: 0.04
Nodes (204): category_add(), category_delete(), category_tree(), category_update(), clue_assign(), clue_check_convert(), clue_check_duplicate(), clue_convert() (+196 more)
Cohesion: 0.03
Nodes (228): clue_assign(), clue_convert(), clue_create(), clue_delete(), clue_detail(), clue_export(), clue_follow_create(), clue_follow_delete() (+220 more)
### Community 8 - "Community 8"
Cohesion: 0.13
Nodes (50): register_quote_routes(), accept_quote(), assert_quote_editable_for_update(), calculate_quote_amount(), create_new_version(), create_quote(), _decimal_value(), _enrich_contact_fields() (+42 more)
Cohesion: 0.09
Nodes (72): register_quote_routes(), create_from_quote(), _quote_products_to_contract_products(), Java: createFromQuote — 返回合同 id, accept_quote(), assert_quote_editable_for_update(), _build_quote_filters(), calculate_quote_amount() (+64 more)
### Community 9 - "Community 9"
Cohesion: 0.10
Nodes (49): download_reimburse_import_template(), build_annotated_result_bytes(), build_applicant_label(), build_expense_path_labels(), build_import_template_bytes(), cell_str(), _ids_visible_in_web_tree(), import_reimburse_workbook() (+41 more)
### Community 10 - "Community 10"
Cohesion: 0.13
Nodes (34): _apply_inventory_product_update(), _apply_inventory_update(), _base_query(), create_inventory(), create_link_for_plan(), delete_inventory(), _generate_batch_no(), _get_inventory() (+26 more)
Cohesion: 0.20
Nodes (31): DutyAssignment, DutyDay, DutySlot, 值班排班模型 — docs/superpowers/specs/2026-08-14-duty-schedule-design.md, assert_user_is_duty_staff(), _assignment_dict(), build_public_url(), _count_active_assignments() (+23 more)
### Community 11 - "Community 11"
Cohesion: 0.10
Nodes (55): cancel_apply(), create_apply(), create_disburse(), delete_applies(), delete_disburses(), get_apply(), get_disburse(), list_applies() (+47 more)
Nodes (59): cancel_apply(), create_apply(), create_disburse(), delete_applies(), delete_disburses(), export_urea_applies(), export_urea_disburse_board(), get_apply() (+51 more)
### Community 12 - "Community 12"
Cohesion: 0.05
Nodes (72): RecognizeCertResult, BaseModel, AttachmentUploadResponse, ChangePasswordRequest, Config, LoginRequest, LoginResponse, Pydantic schemas - 用户认证 (+64 more)
Nodes (70): customer_create(), BaseModel, AttachmentUploadResponse, ChangePasswordRequest, Config, LoginRequest, LoginResponse, Pydantic schemas - 用户认证 (+62 more)
### Community 13 - "Community 13"
Cohesion: 0.19
Nodes (13): create_expense_item(), delete_expense_item(), get_expense_item(), get_expense_item_tree(), Session, update_expense_item(), BxExpenseItem, _coerce_id() (+5 more)
Cohesion: 0.29
Nodes (9): _build_driver_url(), get_plan_arrange_info(), 获取计划已安排运输后的司机链接与地磅出入库关联(供查看弹窗复制简述/二维码)。, PlanArrangeInfoRead, TransportSiteLinkRead, build_transport_site_link_read(), build_transport_site_link_read_from_row(), _parse_feedback_images() (+1 more)
### Community 14 - "Community 14"
Cohesion: 0.11
@@ -277,36 +265,36 @@ Cohesion: 0.09
Nodes (42): approve_reimburse(), approved_by_me(), _build_details_data(), create_reimburse(), delete_reimburse(), get_approval_history(), get_approvals(), get_generated_title() (+34 more)
### Community 16 - "Community 16"
Cohesion: 0.14
Nodes (41): PlVehicleRechargeApply, PlVehicleRechargeRecord, 车辆ETC/加油充值申请 pl_vehicle_recharge_apply, 车辆ETC/加油充值发放登记 pl_vehicle_recharge_record, Decimal, 发放登记页:申请单 + 关联发放信息(左连接), VehicleRechargeApplyCreate, VehicleRechargeApplyRead (+33 more)
Cohesion: 0.09
Nodes (64): cancel_apply(), create_apply(), create_record(), delete_applies(), delete_records(), export_recharge_applies(), export_recharge_disburse_board(), get_apply() (+56 more)
### Community 17 - "Community 17"
Cohesion: 0.10
Nodes (32): build_dict_value_from_label(), ensure_dict_data(), grab(), join_work_plans(), list_duty_staff_users(), normalize_person_name(), _pad_hhmm(), parse_time_range_input() (+24 more)
Nodes (35): build_dict_value_from_label(), ensure_dict_data(), format_hhmm(), format_time_label(), grab(), join_work_plans(), normalize_person_name(), _pad_hhmm() (+27 more)
### Community 18 - "Community 18"
Cohesion: 0.11
Nodes (41): advance_pending_approval_stats(), advance_status_counts(), approve_advance(), approved_by_me(), create_advance(), delete_advance(), _fill_offset_amounts(), get_advance() (+33 more)
### Community 19 - "Community 19"
Cohesion: 0.24
Nodes (12): DbSequence, 地磅(db)模块数据模型 — 对齐 docs/sql/db_tables.sql, _allocate_inbound_outbound_id(), _ensure_sequence_row(), max_numeric_inbound_outbound_id(), next_inbound_outbound_id(), Session, 出入库单 id 生成 — 租户内纯数字自增,并发安全。 (+4 more)
Cohesion: 0.28
Nodes (11): DbSequence, _allocate_inbound_outbound_id(), _ensure_sequence_row(), max_numeric_inbound_outbound_id(), next_inbound_outbound_id(), Session, 出入库单 id 生成 — 租户内纯数字自增,并发安全。, 当前租户下纯数字 id 的最大值(不含 UUID 等非数字主键)。 (+3 more)
### Community 20 - "Community 20"
Cohesion: 0.13
Cohesion: 0.12
Nodes (34): approve_settlement_legacy(), cancel_settlement(), create_settlement(), delete_settlement(), disburse_settlement(), _generate_settlement_no(), get_settlement(), get_settlement_approval_flow() (+26 more)
### Community 21 - "Community 21"
Cohesion: 0.15
Nodes (34): _assert_brand_deletable(), barcode_exists(), category_code_exists(), create_category(), create_oss(), create_product(), generate_auto_product_no(), generate_barcode() (+26 more)
Cohesion: 0.08
Nodes (60): _alias_row_to_dict(), _assert_brand_deletable(), barcode_exists(), _brand_row_to_dict(), _build_category_tree(), category_code_exists(), _category_row_to_dict(), _collect_category_with_ancestors() (+52 more)
### Community 22 - "Community 22"
Cohesion: 0.08
Nodes (28): parse_admin_request_json(), Any, Request, 运营 Web(/web/admin)JSON 请求体解析。 与 ApiCryptoMiddleware 配合:中间件未改写 body 时,在路由内解密 `{, 读取 JSON body;dict 时走 resolve_request_payload(明文 / 密文 / data 包装)。 Returns:, ApiCryptoError, _b64url_decode(), _b64url_encode() (+20 more)
### Community 23 - "Community 23"
Cohesion: 0.10
Nodes (60): _generate_notify_message(), update_plan(), PlPlan, PlanArchiveFreightBlock, PlanArchiveProductItem, PlanProductCreate, PlanTransportCreateBlock, all_hazard_products_cert_complete() (+52 more)
Cohesion: 0.09
Nodes (64): archive_plan(), get_plan(), update_plan_site_feedback(), PlPlan, PlPlanChange, PlPlanProduct, 计划产品明细表 pl_plan_product, 计划变更记录表 pl_plan_change (+56 more)
### Community 24 - "Community 24"
Cohesion: 0.19
@@ -317,68 +305,68 @@ Cohesion: 0.26
Nodes (12): list_share_logs(), _parse_user_agent(), Any, Session, CRM 报价单分享访问日志 CRUD — 对照 CrmQuoteShareLogServiceImpl.java, Java: statisticsVisits, 简易 User-Agent 解析(替代 Hutool UserAgentUtil), Java: queryLogsByQuoteId (+4 more)
### Community 26 - "Community 26"
Cohesion: 0.21
Nodes (29): DutyAssignment, DutyDay, DutySlot, 值班排班模型 — docs/superpowers/specs/2026-08-14-duty-schedule-design.md, assert_user_is_duty_staff(), build_public_url(), _count_active_assignments(), _day_dict() (+21 more)
Cohesion: 0.13
Nodes (37): check_document_expiry(), document_reminder_stats(), export_inventory_ledger(), get_inventory_ledger(), get_summary(), InventoryLedgerExportBody, list_document_reminders(), list_transactions() (+29 more)
### Community 27 - "Community 27"
Cohesion: 0.11
Nodes (32): CRM 报价单 API 路由 — 挂接到 crm.router, QuoteApproverSettingSaveBody, QuoteAcceptBody, QuoteApprovalApproveBody, QuoteApprovalListBody, QuoteApprovalRefreshNamesBody, QuoteApprovalWithdrawBody, QuoteCreateBody (+24 more)
Cohesion: 0.10
Nodes (33): CRM 报价单 API 路由 — 挂接到 crm.router, total_pages(), QuoteApproverSettingSaveBody, QuoteAcceptBody, QuoteApprovalApproveBody, QuoteApprovalListBody, QuoteApprovalRefreshNamesBody, QuoteApprovalWithdrawBody (+25 more)
### Community 28 - "Community 28"
Cohesion: 0.09
Nodes (61): PlFreightSettlement, PlFreightSettlementApproval, PlFreightSettlementTransport, PlRemittanceVoucher, 运费结算表 pl_freight_settlement, 运费结算审批 pl_freight_settlement_approval, 结算单-运输关联表 pl_freight_settlement_transport, 汇款凭证表 pl_remittance_voucher (+53 more)
Nodes (64): PlFreightSettlement, PlFreightSettlementApproval, PlFreightSettlementTransport, PlRemittanceVoucher, 运费结算表 pl_freight_settlement, 运费结算审批 pl_freight_settlement_approval, 结算单-运输关联表 pl_freight_settlement_transport, 汇款凭证表 pl_remittance_voucher (+56 more)
### Community 29 - "Community 29"
Cohesion: 0.07
Nodes (102): register_contract_routes(), _apply_contract_entity_fields(), batch_assign_owner(), batch_submit_contract_approval(), _build_contract_filters(), _build_contract_name_from_parties(), _build_customer_address(), _calc_amount_with_tax() (+94 more)
Cohesion: 0.18
Nodes (18): align_contract_no_to_sign_date(), generate_contract_no(), date, Java: generateContractNo — {供方编码}/X-JT{yyyyMMdd}{3位序号} 流水与撞号检测须含软删:uk_contr, 标准编号替换日期段,保留序号;非标准返回 None。, 将标准合同编号日期段对齐签订日;撞号则序号顺延(含软删查重)。 非标准编号原样返回。无签订日则原样返回。, replace_contract_no_date(), _mock_last_contract() (+10 more)
### Community 30 - "Community 30"
Cohesion: 0.09
Nodes (50): count_source_rows(), derive_source_url(), fetch_portal_admin_id(), fetch_source_rows(), legacy_id_to_str(), load_runtime_settings(), load_settings_env(), load_user_mapping() (+42 more)
Cohesion: 0.16
Nodes (26): clear_target_categories(), compute_level(), count_target_rows(), derive_source_url(), fetch_portal_admin_id(), fetch_source_rows(), legacy_id_to_str(), load_runtime_settings() (+18 more)
### Community 31 - "Community 31"
Cohesion: 0.09
Nodes (42): 返回 (作废, 归档)。现场链接实际走入库/出库单公共页。, _resolve_io_order_link_flags(), _resolve_site_link_flags(), _as_date(), _build_driver_url(), _build_public_page(), _format_file_size(), _format_plan_date() (+34 more)
Cohesion: 0.06
Nodes (73): _attach_history_products(), _build_history_page(), _build_page(), _get_by_token(), _history_status_label(), _make_handlers(), _models(), _parse_history_date() (+65 more)
### Community 32 - "Community 32"
Cohesion: 0.12
Nodes (44): check_document_expiry(), document_reminder_stats(), get_inventory_ledger(), get_summary(), list_document_reminders(), list_transactions(), list_warnings(), date (+36 more)
Cohesion: 0.15
Nodes (27): 验证密码(哈希非 bcrypt 或损坏时返回 False,避免抛错), verify_password(), change_password(), create_user(), get_user(), get_user_with_relations(), _hash_password(), list_post_ids_for_user() (+19 more)
### Community 33 - "Community 33"
Cohesion: 0.12
Nodes (37): clue_detail(), contact_by_customer(), contact_detail(), contact_set_primary(), customer_detail(), create_contact(), get_contact(), list_contacts_by_customer() (+29 more)
Cohesion: 0.38
Nodes (13): ensure_crm_customer_linked_row_in_scope(), 客户子表(开票信息等):先校验关联客户 owner scope,否则校验 create_by。, _clear_default_for_customer(), create_invoice_info(), get_invoice_info(), list_invoice_info_by_customer(), Any, Session (+5 more)
### Community 34 - "Community 34"
Cohesion: 0.18
Nodes (31): _dec(), derive_source_url(), fetch_portal_admin_id(), fetch_source_rows(), legacy_id_to_str(), legacy_parent_id(), load_oss_id_to_url(), load_runtime_settings() (+23 more)
Cohesion: 0.12
Nodes (41): _apply_contract_entity_fields(), _build_contract_filters(), _build_contract_name_from_parties(), _build_customer_address(), _calc_amount_with_tax(), contract_no_exists(), _contract_period_key(), create_contract() (+33 more)
### Community 35 - "Community 35"
Cohesion: 0.18
Nodes (36): clear_portal_workflow(), _dec(), derive_source_url(), fetch_portal_admin_id(), fetch_source_rows(), legacy_id_to_str(), load_bx_user_mapping(), load_runtime_settings() (+28 more)
### Community 36 - "Community 36"
Cohesion: 0.15
Nodes (27): 验证密码(哈希非 bcrypt 或损坏时返回 False,避免抛错), verify_password(), change_password(), create_user(), get_user(), get_user_with_relations(), _hash_password(), list_post_ids_for_user() (+19 more)
Cohesion: 0.18
Nodes (30): _dec(), derive_source_url(), fetch_portal_admin_id(), fetch_source_rows(), legacy_id_to_str(), legacy_parent_id(), load_oss_id_to_url(), load_runtime_settings() (+22 more)
### Community 37 - "Community 37"
Cohesion: 0.18
Nodes (29): _dec(), derive_source_url(), fetch_portal_admin_id(), fetch_source_rows(), legacy_id_to_str(), load_oss_id_to_url(), load_runtime_settings(), load_settings_env() (+21 more)
Cohesion: 0.10
Nodes (26): list_public_vehicle_plates(), Session, 地磅公共只读:免登车牌 options(现场填写页), 免登:按出入库/计划解析 tenant_no,返回 pl_vehicle 车牌(self + carrier)。, _resolve_tenant_no(), get_menu_list(), 运营端菜单接口(与 web-admin 前端静态路由 sqxp.ts 对齐,14 个一级菜单), menu_badge_stats() (+18 more)
### Community 38 - "Community 38"
Cohesion: 0.31
Nodes (9): decrypt_login_payload(), ensure_initialized(), extract_login_credentials(), get_public_pem(), Any, 登录凭据 RSA 解密(与前端 JSEncrypt PKCS#1 v1.5 兼容)。, Base64 密文 -> JSON 对象(须含 username、password、ts 毫秒时间戳)。, 从请求体解析用户名、密码。 返回 (username, password, error_message);error_message 非空时表示失败。 (+1 more)
Cohesion: 0.18
Nodes (11): Config, decrypt_login_payload(), ensure_initialized(), extract_login_credentials(), get_public_pem(), Any, 登录凭据 RSA 解密(与前端 JSEncrypt PKCS#1 v1.5 兼容)。, Base64 密文 -> JSON 对象(须含 username、password、ts 毫秒时间戳)。 (+3 more)
### Community 39 - "Community 39"
Cohesion: 0.13
Nodes (42): clue_follow_detail(), assign_clues(), check_convert(), check_duplicate_clue(), convert_clue(), create_clue(), _enrich_user_names(), _ensure_clue_in_scope() (+34 more)
Cohesion: 0.11
Nodes (50): assign_clues(), check_convert(), check_duplicate_clue(), convert_clue(), create_clue(), _enrich_user_names(), _ensure_clue_in_scope(), create_clue_follow() (+42 more)
### Community 40 - "Community 40"
Cohesion: 0.08
Nodes (72): _apply_plan_product_update(), _apply_plan_update(), AutoGenerateMonthlyResult, _base_query(), create_plan(), _generate_plan_no(), get_plan(), _get_plan_by_id_only() (+64 more)
Cohesion: 0.12
Nodes (26): day_detail(), delete_assignment(), duty_user_options(), _enrich_assign_names(), ensure_duty_dict(), month_summary(), Session, 指定用户时补全 personName(用 nick_name)。 (+18 more)
### Community 41 - "Community 41"
Cohesion: 0.16
Nodes (22): operlog_detail(), operlog_list(), Session, 操作日志分页列表(基于 API 请求日志适配 RuoYi OperLog 结构), _user_info(), 获取用户所有角色的数据权限配置。 返回: [{"data_scope": str, "details": [SysRoleDataScopeDetai, _resolve_user_role_scopes(), business_type_from_path() (+14 more)
Cohesion: 0.17
Nodes (32): export_inbound(), _export_orders(), export_outbound(), _get_by_plan(), get_inbound(), get_inbound_by_plan(), _get_order(), get_outbound() (+24 more)
### Community 42 - "Community 42"
Cohesion: 0.19
@@ -389,60 +377,60 @@ Cohesion: 0.09
Nodes (34): create_invoice(), delete_invoice(), get_mine_wallet_summary(), list_invoice_ledgers(), list_invoice_wallets(), list_invoices(), Request, Session (+26 more)
### Community 44 - "Community 44"
Cohesion: 0.15
Nodes (32): approve_task(), _assert_wf_instance_in_scope(), _business_type_label(), create_process_def(), delete_process_def(), _enrich_task_list(), get_business_all_tasks(), _get_business_form_fields() (+24 more)
Cohesion: 0.10
Nodes (54): clue_import_template(), customer_import_template(), product_import_template(), approve_task(), _assert_wf_instance_in_scope(), _business_type_label(), CompletedTaskExportBody, create_process_def() (+46 more)
### Community 45 - "Community 45"
Cohesion: 0.34
Nodes (32): AttachmentDownloadUrlBody, DeptCreateBody, DeptUpdateBody, DictDataCreateBody, DictDataUpdateBody, DictTypeCreateBody, DictTypeUpdateBody, MenuCreateBody (+24 more)
Cohesion: 0.19
Nodes (57): AttachmentDownloadUrlBody, DeptCreateBody, DeptExportBody, DeptUpdateBody, DictDataCreateBody, DictDataUpdateBody, DictEnsureBody, DictEnsureRemoveBody (+49 more)
### Community 46 - "Community 46"
Cohesion: 0.15
Nodes (26): Session, recognize_cert(), RecognizeCertBody, cancel_apply(), create_apply(), create_record(), delete_applies(), delete_records() (+18 more)
Cohesion: 0.08
Nodes (66): register_contract_routes(), delete_pending_approvals(), Java: withdraw — 软删除 pending 审批, batch_assign_owner(), batch_submit_contract_approval(), _change_row_to_dict(), contract_row_to_dict(), create_contract_change() (+58 more)
### Community 47 - "Community 47"
Cohesion: 0.14
Nodes (31): PlanContractGapRead, PlanContractLink, PlanProductRead, is_internal_customer_name(), 运输计划:内置山峡/云栋客户判定(合同可免), build_plan_contract_gap_read(), compute_contract_gap_sides(), _demander_gap_expr() (+23 more)
Cohesion: 0.47
Nodes (11): apply_pl_scope(), Session, build_menu_badge_counts(), count_document_reminder_expired_pending(), count_freight_approval_pending(), count_freight_disburse_pending(), _count_pending_applies(), count_plan_archive_pending() (+3 more)
### Community 48 - "Community 48"
Cohesion: 0.21
Nodes (22): clear_target_products(), count_target_rows(), _dec(), derive_source_url(), fetch_portal_admin_id(), fetch_source_rows(), legacy_id_to_str(), load_runtime_settings() (+14 more)
### Community 49 - "Community 49"
Cohesion: 0.49
Nodes (10): clue_statistics_level(), _apply_create_range(), _base_query(), get_clue_level_statistics(), get_clue_overview_statistics(), get_clue_owner_statistics(), get_clue_source_statistics(), get_clue_trend_statistics() (+2 more)
Cohesion: 0.19
Nodes (13): create_expense_item(), delete_expense_item(), get_expense_item(), get_expense_item_tree(), Session, update_expense_item(), BxExpenseItem, _coerce_id() (+5 more)
### Community 50 - "Community 50"
Cohesion: 0.26
Nodes (23): _get_by_plan(), get_inbound(), get_inbound_by_plan(), _get_order(), get_outbound(), get_outbound_by_plan(), inbound_site_url(), list_inbound() (+15 more)
Cohesion: 0.06
Nodes (100): _apply_inventory_product_update(), _apply_inventory_update(), _base_query(), create_inventory(), create_link_for_plan(), delete_inventory(), _generate_batch_no(), _get_inventory() (+92 more)
### Community 51 - "Community 51"
Cohesion: 0.26
Nodes (18): _address_to_read(), _build_address_query(), create_transport_address(), delete_transport_address(), _get_address(), get_transport_address(), list_all_transport_addresses(), list_transport_addresses() (+10 more)
Cohesion: 0.15
Nodes (30): delete_plan(), delete_carrier(), delete_driver(), delete_personnel(), delete_vehicle(), unbind_vehicle_driver(), delete_plan(), _address_to_read() (+22 more)
### Community 52 - "Community 52"
Cohesion: 0.22
Nodes (12): CRM 模块 Excel 导出列定义(字段与字典类型对齐 Java *Vo @ExcelDictFormat)。, _build_workbook(), DictLabelResolver, export_rows_to_xlsx_response(), ExportColumn, Any, Session, Excel 导出工具:集中处理字典 code → label(对齐 Java ExcelDictConvert / ExcelDictPreloadConver (+4 more)
Cohesion: 0.05
Nodes (85): 返回 (作废, 归档)。现场链接实际走入库/出库单公共页。, _resolve_io_order_link_flags(), _build_public_page(), _build_site_product_read(), _format_file_size(), get_public_site(), _get_site_link_by_token(), _parse_feedback_images() (+77 more)
### Community 53 - "Community 53"
Cohesion: 0.19
Nodes (28): apply_biz_backfill(), BackfillRule, BizRef, build_biz_index(), count_target_rows(), derive_source_url(), fetch_portal_admin_id(), fetch_source_rows() (+20 more)
Cohesion: 0.17
Nodes (30): apply_biz_backfill(), BackfillRule, BizRef, build_biz_index(), count_target_rows(), derive_source_url(), fetch_portal_admin_id(), fetch_source_rows() (+22 more)
### Community 54 - "Community 54"
Cohesion: 0.08
Nodes (52): _build_history_page(), _build_page(), _get_by_token(), _history_status_label(), _make_handlers(), _models(), _parse_history_date(), date (+44 more)
Cohesion: 0.12
Nodes (29): PlCert, PlDocumentReminder, 证件到期提醒表 pl_document_reminder, CertRead, 运输计划 - 安排运输时车辆/人员/证件资源快照 Schema, SnapshotCertRead, SnapshotPersonnelRow, TransportResourceSnapshot (+21 more)
### Community 55 - "Community 55"
Cohesion: 0.33
Nodes (8): allocate_next_biz_no(), _format_biz_no(), _prefix_for(), datetime, Session, 业务协议号自动生成:XBCC / JZCC + YYYYMMDD + 6 位序号, 原子分配下一个业务协议号。 须在 create 事务内调用;使用 MySQL LAST_INSERT_ID 保证并发安全。, BizNoKind
Cohesion: 0.12
Nodes (16): 供方全量列表(下拉)— Java: CrmSupplierInfoController.listAll, 供方详情 — Java: CrmSupplierInfoController.getInfo, 新增供方 — Java: CrmSupplierInfoController.add, 修改供方 — Java: CrmSupplierInfoController.edit, 删除供方 — Java: CrmSupplierInfoController.remove, supplier_info_add(), supplier_info_delete(), supplier_info_detail() (+8 more)
### Community 56 - "Community 56"
Cohesion: 0.16
Nodes (18): _build_quote_filters(), _fill_contract_linked_count(), list_quotes(), _parse_optional_datetime(), _period_key(), Any, datetime, Query (+10 more)
Cohesion: 0.12
Nodes (29): PlInventoryTransaction, PlPlanProductBrandQty, 计划产品归档品牌数量 pl_plan_product_brand_qty, 库存流水表 pl_inventory_transaction, load_brand_qtys_by_plan_product_ids(), persist_plan_product_brand_qtys(), Any, Decimal (+21 more)
### Community 57 - "Community 57"
Cohesion: 0.23
Nodes (15): create_leave(), delete_leave(), get_leave(), _leave_local_callback(), leave_workflow_callback(), list_leaves(), Session, submit_leave() (+7 more)
Cohesion: 0.10
Nodes (31): API 路由包 — 山峡化工生产一体化门户, create_leave(), delete_leave(), export_leaves(), get_leave(), _leave_local_callback(), leave_workflow_callback(), LeaveExportBody (+23 more)
### Community 58 - "Community 58"
Cohesion: 0.18
@@ -453,289 +441,253 @@ Cohesion: 0.20
Nodes (28): _dec(), derive_source_url(), fetch_portal_admin_id(), fetch_source_rows(), legacy_id_to_str(), load_oss_id_to_url(), load_runtime_settings(), load_settings_env() (+20 more)
### Community 60 - "Community 60"
Cohesion: 0.08
Nodes (35): 分页查询供方列表 — Java: CrmSupplierInfoController.list, 供方全量列表(下拉)— Java: CrmSupplierInfoController.listAll, 新增供方 — Java: CrmSupplierInfoController.add, 修改供方 — Java: CrmSupplierInfoController.edit, 删除供方 — Java: CrmSupplierInfoController.remove, 导出供方列表 — Java: CrmSupplierInfoController.export, supplier_info_add(), supplier_info_delete() (+27 more)
Cohesion: 0.13
Nodes (32): apply_crm_create_by_scope(), ensure_crm_create_by_row_in_scope(), create_pool_rule(), delete_pool_rules(), execute_pool_rules(), _execute_single_rule(), get_pool_rule(), list_pool_rules() (+24 more)
### Community 61 - "Community 61"
Cohesion: 0.12
Nodes (45): DbInboundOutbound, PlPlanProduct, PlTransportDbLink, 计划产品明细表 pl_plan_product, 运输-地磅出入库关联 pl_transport_db_link, parse_date_str(), _apply_plan_quantity_delta(), _create_db_inventory() (+37 more)
Cohesion: 0.09
Nodes (50): AutoGenerateMonthlyResult, PlanRelatedData, 手动触发计划按月自动生成(定时任务同款逻辑)。, run_auto_generate_monthly(), ThirdPartyPlanPageData, DbInboundOutbound, DbPurchasePlan, 地磅(db)模块数据模型 — 对齐 docs/sql/db_tables.sql (+42 more)
### Community 62 - "Community 62"
Cohesion: 0.09
Nodes (53): approve_carrier(), bind_vehicle_driver(), create_carrier(), create_driver(), create_personnel(), delete_driver(), delete_personnel(), delete_vehicle() (+45 more)
Cohesion: 0.12
Nodes (15): category_add(), category_delete(), category_tree(), category_update(), product_delete(), 删除产品(支持单条 body.id 和批量 body.ids), CategoryDeleteBody, ProductAliasItem (+7 more)
### Community 63 - "Community 63"
Cohesion: 0.38
Nodes (14): _cargo_stats(), get_dashboard_stats(), get_inbound_by_cargo(), get_inbound_by_partner_cargo(), get_outbound_by_cargo(), get_outbound_by_partner_cargo(), _partner_cargo_stats(), Session (+6 more)
Cohesion: 0.28
Nodes (15): _cargo_stats(), get_dashboard_stats(), get_inbound_by_cargo(), get_inbound_by_partner_cargo(), get_outbound_by_cargo(), get_outbound_by_partner_cargo(), _partner_cargo_stats(), Session (+7 more)
### Community 64 - "Community 64"
Cohesion: 0.18
Nodes (18): create_workflow(), delete_workflow(), get_workflow(), get_workflow_by_biz_type(), list_workflows(), Session, save_workflow_nodes(), update_workflow() (+10 more)
### Community 65 - "Community 65"
Cohesion: 0.10
Nodes (58): cancel_apply(), create_apply(), create_process(), delete_applies(), delete_processes(), get_apply(), get_process(), list_applies() (+50 more)
Cohesion: 0.09
Nodes (67): cancel_apply(), create_apply(), create_process(), delete_applies(), delete_processes(), export_applies(), export_process_board(), get_apply() (+59 more)
### Community 66 - "Community 66"
Cohesion: 0.15
Nodes (20): ApiRequestLogMiddleware, _claims_from_auth(), _format_body_bytes(), _persist_log(), Any, Request, 统一记录 API 请求/响应出入参的中间件, _redact_obj() (+12 more)
Cohesion: 0.16
Nodes (19): ApiRequestLogMiddleware, _claims_from_auth(), _format_body_bytes(), _persist_log(), Any, Request, 统一记录 API 请求/响应出入参的中间件, _redact_obj() (+11 more)
### Community 67 - "Community 67"
Cohesion: 0.12
Nodes (36): get_password_hash(), Namespace, build_merged_users(), bx_role_labels(), check_minio(), check_mysql(), check_redis(), _clip() (+28 more)
### Community 68 - "Community 68"
Cohesion: 0.33
Nodes (13): _build_tree(), _cascade_soft_delete(), _collect_with_ancestors(), create_dept(), get_dept(), list_depts(), list_depts_tree(), Any (+5 more)
Cohesion: 0.05
Nodes (72): _actor_ids(), _actor_names(), assert_rows_deletable_by_creator(), can_delete_by_creator(), is_super_admin(), normalize_user_info(), Any, 删除权限:仅创建人可删(super_admin 例外)。 (+64 more)
### Community 69 - "Community 69"
Cohesion: 0.15
Nodes (25): _append_user_scope_conditions(), apply_data_scope(), assert_row_in_data_scope(), _collect_scope_ids(), _get_child_dept_ids(), get_user_dept_id(), Session, 数据权限过滤(V0.3:基于角色 data_scope 的查询级行级过滤) data_scope 值: 1 = 全部数据 2 = 本部门数据 3 (+17 more)
Cohesion: 0.13
Nodes (27): _append_user_scope_conditions(), apply_data_scope(), assert_row_in_data_scope(), _collect_scope_ids(), _get_child_dept_ids(), get_user_dept_id(), Session, 数据权限过滤(V0.3:基于角色 data_scope 的查询级行级过滤) data_scope 值: 1 = 全部数据 2 = 本部门数据 3 (+19 more)
### Community 70 - "Community 70"
Cohesion: 0.18
Nodes (18): align_contract_no_to_sign_date(), generate_contract_no(), date, Java: generateContractNo — {供方编码}/X-JT{yyyyMMdd}{3位序号} 流水与撞号检测须含软删:uk_contr, 标准编号替换日期段,保留序号;非标准返回 None。, 将标准合同编号日期段对齐签订日;撞号则序号顺延(含软删查重)。 非标准编号原样返回。无签订日则原样返回。, replace_contract_no_date(), _mock_last_contract() (+10 more)
Nodes (29): _dec(), derive_source_url(), fetch_portal_admin_id(), fetch_source_rows(), legacy_id_to_str(), load_oss_id_to_url(), load_runtime_settings(), load_settings_env() (+21 more)
### Community 71 - "Community 71"
Cohesion: 0.24
Nodes (7): camel_to_snake(), CRUDBase, get_model_attr(), HistoryCRUD, Any, Session, ModelType
Cohesion: 0.18
Nodes (14): invalidate_all_approvals(), 作废该合同全部有效审批记录(含已通过/已拒绝),用于再编辑或重新提审。, invalidate_all_approvals(), 作废该报价单全部有效审批记录(含已通过/已拒绝),用于再编辑或重新提审。, _approval(), 再编辑并重新提审后,历史审批记录不得阻塞当前轮审批。, 再提审后同审批人同时存在历史已通过 + 新 pending 时,应允许审批。, 编辑保存回草稿时须作废全部历史审批(含已通过),不能只删 pending。 (+6 more)
### Community 72 - "Community 72"
Cohesion: 0.25
Nodes (18): batch_generate_sample_codes(), batch_issue_sample_codes(), batch_revoke_sample_codes(), create_sample_code(), get_sample_code(), list_sample_codes(), _parse_issued_time(), Any (+10 more)
Cohesion: 0.12
Nodes (25): camel_to_snake(), CRUDBase, get_model_attr(), HistoryCRUD, Any, Session, batch_generate_sample_codes(), batch_issue_sample_codes() (+17 more)
### Community 73 - "Community 73"
Cohesion: 0.20
Nodes (25): derive_source_url(), fetch_portal_admin_id(), fetch_source_rows(), legacy_id_to_str(), load_oss_id_to_url(), load_runtime_settings(), load_settings_env(), load_user_mapping() (+17 more)
### Community 74 - "Community 74"
Cohesion: 0.24
Nodes (16): create_vehicle(), update_vehicle(), _vehicle_to_detail(), generate_uuid(), PlVehiclePersonnel, 车辆-人员关联表 pl_vehicle_personnel, VehicleDetailRead, VehiclePersonnelRow (+8 more)
Cohesion: 0.36
Nodes (15): create_opportunity_follow(), _ensure_parent_opportunity(), get_opportunity_follow(), list_follows_by_opportunity(), list_opportunity_follows(), _parse_optional_datetime(), Any, datetime (+7 more)
### Community 75 - "apply_crm_create_by_scope"
Cohesion: 0.27
Nodes (17): get_vehicle(), paste_recognize_commit(), PlVehicle, ConflictAction, PasteCommitBody, PasteCommitResult, PastePersonnelIn, PasteVehicleIn (+9 more)
Cohesion: 0.10
Nodes (27): get_current_time(), parse_datetime(), datetime, get_pool_record(), list_pool_records(), Any, Session, _row_to_dict() (+19 more)
### Community 76 - "opportunity_follow.py"
Cohesion: 0.14
Nodes (19): _avatar_url_field(), _build_user_info_payload(), change_current_user_password(), get_current_user_profile(), get_web_auth_menu_codes(), public_quote_share(), Request, Session (+11 more)
Cohesion: 0.21
Nodes (14): change_current_user_password(), get_current_user_profile(), get_web_auth_menu_codes(), public_quote_share(), Request, Session, 获取当前用户信息(与 sys_user 字段对应)。, 获取当前用户菜单权限标识(sys_menu.perms,经角色继承)。 (+6 more)
### Community 77 - "Community 77"
Cohesion: 0.11
Nodes (12): get_wechat_pay_client(), get_wechat_pay_v2(), Any, 微信支付工具模块 支持微信支付 V3 API 文档参考: https://pay.weixin.qq.com/docs/v3/apis/index.html, 统一下单接口 (V3) Args: out_trade_no: 商户订单号 total_amo, 申请退款 Args: out_trade_no: 商户订单号 total_amount: 订单, 小程序调起支付的二次签名参数(与公众号 JSAPI 规则一致), 统一下单 (V2 API) Args: out_trade_no: 商户订单号 total_f (+4 more)
### Community 78 - "Community 78"
Cohesion: 0.19
Nodes (23): delete_plan(), delete_carrier(), unbind_vehicle_driver(), delete_plan(), _actor_ids(), _actor_names(), assert_row_deletable_by_creator(), assert_rows_deletable_by_creator() (+15 more)
Cohesion: 0.23
Nodes (12): _plan_type_to_business_type(), _product_quantity(), 按运输计划单据类型解析地磅往来单位(不区分 CRM 合同类型)。 - 入库单 inbound:供方 → party_a,其次 supplier_nam, resolve_partner_company(), _normalize_plan_date(), date, Session, 运输计划 · 工厂现场链接(与地磅出入库单解耦) (+4 more)
### Community 79 - "PlCarrier"
Cohesion: 0.20
Nodes (12): 流程实例 wf_process_instance, WfProcessInstance, _dispatch_local(), Any, 工作流回调服务 —— 流程状态变更时通知业务系统, 注册本地回调函数。当 callback_url 以 path 开头时直接调用 fn。, 尝试本地直调。返回 True 表示已处理,False 表示无匹配的本地回调。, 流程实例状态变更后,向业务系统发送回调通知。 优先级: 1. 如果 callback_url 是内部路径(以 / 开头),优先尝试本地直调 (+4 more)
Cohesion: 0.29
Nodes (12): build_name_pinyin_abbr(), normalize_name_pinyin_abbr(), 名称拼音首字母缩写:库内存小写,检索时大小写不敏感。, 保存时解析拼音字段。 - submitted_provided=True:用提交值(空则按 name 生成) - 否则:已有非空 existi, resolve_name_pinyin_abbr(), test_chinese_and_alnum(), test_empty_and_whitespace(), test_resolve_not_submitted_empty_existing_generates() (+4 more)
### Community 80 - "resolve_crm_product"
Cohesion: 0.30
Nodes (12): PlCarrier, assert_carrier_eligible_for_transport(), carrier_agreement_expired(), carrier_audit_approved(), carrier_eligible_for_transport(), carrier_qualification_complete(), date, 资质附件均为选填,保留函数签名供兼容调用。 (+4 more)
Cohesion: 0.12
Nodes (31): approve_carrier(), create_carrier(), get_carrier(), list_carriers(), reject_carrier(), update_carrier(), PlCarrier, carrier_to_read() (+23 more)
### Community 81 - "customer_follow.py"
Cohesion: 0.17
Nodes (9): API 路由包 — 山峡化工生产一体化门户, get_menu_list(), 运营端菜单接口(与 web-admin 前端静态路由 sqxp.ts 对齐,14 个一级菜单), Config, format_api_error_message(), PageResult, Exception, 将 HTTP/SQLAlchemy 等异常转为可展示的错误文案(避免 str([]) 空列表)。 (+1 more)
Cohesion: 0.28
Nodes (8): invoice_info_by_customer(), _invoice_info_by_customer_impl(), invoice_info_delete(), invoice_info_list(), 按客户ID查询开票信息(与 by-customer 等价), InvoiceInfoByCustomerBody, InvoiceInfoDeleteBody, CRM 客户开票信息 Pydantic Schemas
### Community 82 - "storage.py"
Cohesion: 0.39
Nodes (10): create_site(), get_site(), list_sites(), Any, Session, _row_to_dict(), site_code_exists(), soft_delete_site() (+2 more)
Nodes (8): compute_contract_gap_sides(), _compile(), test_both_external_no_contracts_gaps_both(), test_both_internal_no_gap(), test_empty_names_treated_as_non_internal_gap_both(), test_external_with_contracts_no_gap(), test_internal_supplier_external_demander_missing_only_demander(), test_plan_has_contract_gap_exists_mentions_contract_and_internal_names()
### Community 83 - "Community 83"
Cohesion: 0.09
Nodes (52): CRM 合同子模块路由 — 变更/模板/审批独立页, register_contract_sub_routes(), _advance_contract_after_approval(), approve_contract(), approve_contract_by_contract_id(), approve_pass(), approve_reject(), approve_transfer() (+44 more)
Cohesion: 0.12
Nodes (42): CRM 合同子模块路由 — 变更/模板/审批独立页, register_contract_sub_routes(), _advance_contract_after_approval(), approve_contract(), approve_contract_by_contract_id(), approve_pass(), approve_reject(), approve_transfer() (+34 more)
### Community 84 - "Community 84"
Cohesion: 0.23
Nodes (23): build_id_maps(), clip_text(), count_rows(), export_mapping(), fetch_rows(), legacy_id_to_str(), main(), map_id() (+15 more)
### Community 85 - "allocate_next_biz_no"
Cohesion: 0.21
Nodes (14): get_oper_log_meta(), OperLogMeta, 请求级操作日志元数据(ContextVar), 供异步落库线程使用,避免 ContextVar 跨线程丢失。, set_oper_log_meta(), snapshot_oper_log_meta(), _format_summary(), _pick_field() (+6 more)
Cohesion: 0.18
Nodes (17): get_oper_log_meta(), OperLogMeta, 请求级操作日志元数据(ContextVar), 供异步落库线程使用,避免 ContextVar 跨线程丢失。, set_oper_log_meta(), snapshot_oper_log_meta(), _format_summary(), oper_log() (+9 more)
### Community 86 - "Community 86"
Cohesion: 0.15
Nodes (15): calc_age_from_chinese_id_card(), date, 从 18 位身份证号计算周岁。号码不完整或出生日期无效时返回 None。, 按 18 位身份证号重算 pl_personnel.age,仅更新算出值与库中不一致的记录。返回更新条数。, refresh_personnel_ages_from_id_card(), check_customer_protect_time(), pool_recovery_job(), 每天凌晨1点:检查保护期到期客户,跟进次数不足则退回公海 (+7 more)
Cohesion: 0.11
Nodes (17): ApiCryptoMiddleware, _db_pool_keepalive_loop(), _error_json(), lifespan(), Exception, Request, 数据库异常:返回 JSON 并保留 CORS 头,避免浏览器只报跨域错误, 未捕获异常:统一 JSON 500,确保跨域场景下仍有 Access-Control-Allow-Origin (+9 more)
### Community 87 - "Community 87"
Cohesion: 0.11
Nodes (32): approve_quote(), can_user_approve(), create_approval_records(), delete_pending_approvals(), get_quote_approval(), invalidate_all_approvals(), list_quote_approvals(), Any (+24 more)
Cohesion: 0.19
Nodes (20): approve_quote(), can_user_approve(), create_approval_records(), delete_pending_approvals(), get_quote_approval(), list_quote_approvals(), Any, Session (+12 more)
### Community 88 - "CrmProduct"
Cohesion: 0.22
Nodes (3): BaseStorage, 带下载文件名的访问 URL;默认实现为普通访问地址。, 浏览器内联预览 URL;默认实现为普通访问地址。
Cohesion: 0.40
Nodes (12): create_follow(), _enrich_follow_dict(), get_follow(), list_follows(), list_follows_by_customer(), Any, Session, _row_to_dict() (+4 more)
### Community 89 - "pl_ocr_service.py"
Cohesion: 0.19
Nodes (22): PlOcrUsageMonth, 阿里云 OCR 月度调用计数 pl_ocr_usage_month(按自然月全局统计), assert_quota_available(), _build_ocr_client(), compress_image_bytes(), current_usage_month(), _first_attachment_url(), get_or_create_usage_row() (+14 more)
### Community 90 - "WechatMessageService"
Cohesion: 0.15
Nodes (9): 微信消息通知服务 支持微信小程序模板消息推送 使用方式: from app.core.wechat_message import WechatMes, 发送订单状态通知 Args: openid: 用户openid order_n, 发送支付成功通知 Args: openid: 用户openid order_n, 发送配送通知 Args: openid: 配送员openid task_no:, 发送配送时效预警 Args: openid: 配送员openid task_n, 发送退款结果通知 Args: openid: 用户openid order_n, 发送催单通知给配送员 Args: deliver_openid: 配送员openid, 发送模板消息 Args: openid: 用户openid template_ (+1 more)
Cohesion: 0.17
Nodes (8): 发送订单状态通知 Args: openid: 用户openid order_n, 发送支付成功通知 Args: openid: 用户openid order_n, 发送配送通知 Args: openid: 配送员openid task_no:, 发送配送时效预警 Args: openid: 配送员openid task_n, 发送退款结果通知 Args: openid: 用户openid order_n, 发送催单通知给配送员 Args: deliver_openid: 配送员openid, 发送模板消息 Args: openid: 用户openid template_, WechatMessageService
### Community 91 - "opportunity_product.py"
Cohesion: 0.21
Nodes (15): create_leave(), get_leave(), list_leaves(), Any, Session, _row_to_dict(), soft_delete_leave(), update_leave() (+7 more)
Cohesion: 0.33
Nodes (11): create_leave(), get_leave(), list_leaves(), Any, Session, _row_to_dict(), soft_delete_leave(), update_leave() (+3 more)
### Community 92 - "Community 92"
Cohesion: 0.20
Nodes (21): _assert_users_exist(), get_setting(), Any, Session, _row_to_dict(), save_setting(), _assert_users_exist(), get_setting() (+13 more)
### Community 93 - "api_request_log_middleware.py"
Cohesion: 0.29
Nodes (10): normalize_attachment_csv(), extract_minio_object_key(), join_relative_urls(), MinIO 附件 URL 规范化(数据迁移共用)。 背景 ---- CRM / 地磅 / 报销与 shanxia2.0 共用同一 MinIO(bucket 默, 业务表 OSS ID 串 → 相对 URL 串(用于客户证照、跟进附件等)。, 去掉预签名 query(``?X-Amz-...``)。, 将绝对/相对 URL 规范为 MinIO object key(不含 bucket)。, resolve_oss_id_csv() (+2 more)
### Community 94 - "assert_contract_editable_for_update"
Cohesion: 0.60
Nodes (3): assert_contract_editable_for_update(), test_assert_allows_editable(), test_assert_rejects_non_editable()
### Community 95 - "test_pl_public_link_archived.py"
Cohesion: 0.24
Nodes (12): get_last_month_range(), month_range(), date, Session, 地磅计划按月自动生成 — 迁移自 simple-dibang-xiaoshou/auto-create-plan/auto_create_monthly_pla, 按月自动生成采购计划。 - 默认仅在每月 1 日执行(force=True 时跳过该限制,供手动触发验收) - 遍历所有租户,按上月计划模板生, run_auto_generate_monthly_plans(), default_execution_status() (+4 more)
Cohesion: 0.33
Nodes (6): list_duty_staff_users(), 按固定 id 查找「值班人员」角色;找不到再按角色名兜底。, 本租户启用且绑定「值班人员」角色的用户(公开页 users / 管理端 options)。, resolve_duty_staff_role_id(), test_list_duty_staff_users_empty_when_no_role(), test_resolve_duty_staff_role_id_by_fixed_id()
### Community 96 - "minio_url.py"
Cohesion: 0.31
Nodes (3): Any, Session, WorkflowEngine
Cohesion: 0.14
Nodes (15): 流程实例 wf_process_instance, WfProcessInstance, _dispatch_local(), Any, 工作流回调服务 —— 流程状态变更时通知业务系统, 注册本地回调函数。当 callback_url 以 path 开头时直接调用 fn。, 尝试本地直调。返回 True 表示已处理,False 表示无匹配的本地回调。, 流程实例状态变更后,向业务系统发送回调通知。 优先级: 1. 如果 callback_url 是内部路径(以 / 开头),优先尝试本地直调 (+7 more)
### Community 97 - "contact.py"
Cohesion: 0.22
Nodes (10): invoice_info_by_customer(), _invoice_info_by_customer_impl(), invoice_info_delete(), invoice_info_list(), invoice_info_set_default(), 按客户ID查询开票信息(与 by-customer 等价), InvoiceInfoByCustomerBody, InvoiceInfoDeleteBody (+2 more)
Nodes (3): BaseStorage, 带下载文件名的访问 URL;默认实现为普通访问地址。, 浏览器内联预览 URL;默认实现为普通访问地址。
### Community 98 - "LocalStorage"
Cohesion: 0.35
Nodes (11): create_tenant(), get_tenant(), list_tenants(), Any, Session, _row_to_dict(), soft_delete_tenant(), tenant_no_exists() (+3 more)
### Community 99 - "redis_client.py"
Cohesion: 0.13
Nodes (27): pool_rule_add(), pool_rule_detail(), pool_rule_execute(), pool_rule_update_status(), 供方详情 — Java: CrmSupplierInfoController.getInfo, supplier_info_detail(), ensure_crm_create_by_row_in_scope(), create_pool_rule() (+19 more)
Cohesion: 0.11
Nodes (27): calc_age_from_chinese_id_card(), date, 从 18 位身份证号计算周岁。号码不完整或出生日期无效时返回 None。, generate_uuid(), allocate_next_biz_no(), _format_biz_no(), _prefix_for(), datetime (+19 more)
### Community 100 - "price_letter_detail"
Cohesion: 0.27
Nodes (15): Settings, BaseSettings, apply_renumber(), build_mapping(), fetch_products(), format_new_product_no(), load_settings_env(), main() (+7 more)
### Community 101 - "tenant.py"
Cohesion: 0.07
Nodes (47): SoftDeleteModel, BizAttachment, 民族码表 sys_ethnic(国标 GB/T 3304,全局), SysEthnic, PlDocumentReminder, PlDriver, PlInboundOrder, PlInboundOrderItem (+39 more)
Cohesion: 0.40
Nodes (3): Any, 供 get_tenant_no 等门户工具使用。, 与门户 JWT / apply_data_scope 所需的 user_info 字段对齐。
### Community 102 - "crm_supplier_hazard.py"
Cohesion: 0.12
Nodes (30): list_vehicles(), _vehicle_to_read(), PlCert, CertRead, VehicleListResponse, 运输计划 - 安排运输时车辆/人员/证件资源快照 Schema, SnapshotCertRead, SnapshotPersonnelRow (+22 more)
Cohesion: 0.10
Nodes (29): create_personnel(), create_vehicle(), export_personnel(), export_vehicles(), get_personnel(), get_vehicle(), list_personnel(), list_vehicles() (+21 more)
### Community 103 - "pl_internal_customer.py"
Cohesion: 0.47
Nodes (5): list_ethnics(), Any, Session, 民族码表 CRUD(全局 sys_ethnic), _row_to_dict()
Cohesion: 0.19
Nodes (12): list_ethnics(), Any, Session, 民族码表 CRUD(全局 sys_ethnic), _row_to_dict(), BizAttachment, 数据模型(与 docs/sql/shanxia2.0.sql 全库导出基线对齐的核心系统表), Web 管理端约定角色(由 sys_role.role_name 映射而来,非数据库枚举) (+4 more)
### Community 104 - "apply_crm_create_by_scope"
Cohesion: 0.15
Nodes (24): price_letter_add(), price_letter_detail(), price_letter_list(), price_letter_update(), create_price_letter(), get_price_letter(), list_price_letters(), _parse_date() (+16 more)
### Community 105 - "pool_customer_assign"
Cohesion: 0.29
Nodes (12): build_name_pinyin_abbr(), normalize_name_pinyin_abbr(), 名称拼音首字母缩写:库内存小写,检索时大小写不敏感。, 保存时解析拼音字段。 - submitted_provided=True:用提交值(空则按 name 生成) - 否则:已有非空 existi, resolve_name_pinyin_abbr(), test_chinese_and_alnum(), test_empty_and_whitespace(), test_resolve_not_submitted_empty_existing_generates() (+4 more)
Nodes (15): create_price_letter(), get_price_letter(), list_price_letters(), _parse_date(), Any, date, Session, _row_to_dict() (+7 more)
### Community 106 - "site.py"
Cohesion: 0.22
Nodes (8): contact_add(), contact_update(), ContactByCustomerBody, ContactCreateBody, ContactDetailBody, ContactSetPrimaryBody, ContactUpdateBody, CRM 联系人 Pydantic Schemas
Cohesion: 0.13
Nodes (43): bind_vehicle_driver(), CarrierExportBody, create_driver(), DriverExportBody, export_carriers(), export_drivers(), get_driver(), list_drivers() (+35 more)
### Community 107 - "apply_pl_scope"
Cohesion: 0.16
Nodes (31): create_instance(), create_process_def(), create_task(), get_all_tasks_for_business(), get_instance(), get_latest_version(), get_nodes_by_version(), get_pending_tasks_by_node() (+23 more)
Nodes (29): create_instance(), create_process_def(), create_task(), get_all_tasks_for_business(), get_instance(), get_latest_version(), get_nodes_by_version(), get_pending_tasks_by_node() (+21 more)
### Community 108 - "statistics.py"
Cohesion: 0.10
Nodes (29): _alias_row_to_dict(), _brand_row_to_dict(), _build_category_tree(), _category_row_to_dict(), _collect_category_with_ancestors(), list_categories(), list_category_tree(), list_oss_by_biz() (+21 more)
### Community 109 - "_ensure_subpack_slip_no"
Cohesion: 0.13
Nodes (18): pool_customer_claim(), pool_customer_list(), pool_record_detail(), pool_record_list(), get_pool_record(), list_pool_records(), Any, Session (+10 more)
Cohesion: 0.20
Nodes (24): count_source_rows(), derive_source_url(), fetch_portal_admin_id(), fetch_source_rows(), legacy_id_to_str(), load_runtime_settings(), load_settings_env(), load_user_mapping() (+16 more)
### Community 110 - "list_duty_staff_users"
Cohesion: 0.39
Nodes (8): get_redis_client(), get_sync_redis_client(), Redis, 共享 Redis 客户端(同步:会话鉴权;异步:API 加密 nonce)。, 同步 Redis(auth 会话等,在线程池中调用)。, 异步 Redis(API 加密 nonce 等中间件)。, _redis_common_kwargs(), redis_enabled()
### Community 111 - "Community 111"
Cohesion: 0.08
Nodes (45): _assert_editable(), _build_public_page(), _format_file_size(), _get_inventory_by_token(), get_public_inventory(), _parse_feedback_images(), Session, UploadFile (+37 more)
### Community 112 - ".to_tenant_user_dict"
Cohesion: 0.45
Nodes (11): _customer_base_query(), get_follow_statistics(), get_industry_statistics(), get_level_statistics(), get_overview_statistics(), get_owner_statistics(), get_source_statistics(), get_trend_statistics() (+3 more)
### Community 113 - "quote_share_log.py"
Cohesion: 0.50
Nodes (4): customer_options(), 客户下拉选项(租户内只读,不做 owner 数据权限), CustomerOptionsBody, 客户下拉选项请求体(租户内只读搜索,不做 owner 数据权限)
### Community 114 - "db_models.py"
Cohesion: 0.25
Nodes (11): _assignment_dict(), format_hhmm(), format_time_label(), parse_hhmm(), _slot_dict(), test_format_time_label_cross_day(), test_format_time_label_empty(), test_format_time_label_same_day() (+3 more)
### Community 115 - "site.py"
Cohesion: 0.28
Nodes (14): _assert_editable(), _build_public_page(), _format_file_size(), _get_inventory_by_token(), get_public_inventory(), _parse_feedback_images(), Session, UploadFile (+6 more)
### Community 116 - "Community 116"
Cohesion: 0.17
Nodes (28): batch_insert_quote_products(), calculate_subtotal(), _decimal_value(), delete_products_by_quote_id(), _ensure_quote_parent_scope(), _get_field(), get_quote_product(), insert_quote_product() (+20 more)
Cohesion: 0.19
Nodes (26): batch_insert_quote_products(), calculate_subtotal(), _decimal_value(), _ensure_quote_parent_scope(), _get_field(), get_quote_product(), insert_quote_product(), list_products_by_quote_ids() (+18 more)
### Community 118 - "Community 118"
Cohesion: 0.20
Nodes (24): batch_insert_contract_products(), calculate_subtotal(), _decimal_value(), delete_price_tiers_by_contract_id(), delete_products_by_contract_id(), _get_field(), insert_contract_product(), _letter_oss_ids_to_json() (+16 more)
Cohesion: 0.17
Nodes (27): batch_insert_contract_products(), calculate_subtotal(), _decimal_value(), delete_price_tiers_by_contract_id(), delete_products_by_contract_id(), _get_field(), insert_contract_product(), _letter_oss_ids_to_json() (+19 more)
### Community 119 - "Community 119"
Cohesion: 0.12
Nodes (37): CertRow, _cert_row_complete(), collect_required_cert_errors(), _find_cert_for_required(), get_required_personnel_cert_names(), is_huolala_trailer_no(), match_required_cert_name(), _missing_field_labels() (+29 more)
### Community 120 - "sqlalchemy_exception_handler"
Cohesion: 0.06
Nodes (33): 地磅 API 路由聚合 — REST 风格,协议对齐原 simple-dibang-xiaoshou。, list_public_vehicle_plates(), Session, 地磅公共只读:免登车牌 options(现场填写页), 免登:按出入库/计划解析 tenant_no,返回 pl_vehicle 车牌(self + carrier)。, _resolve_tenant_no(), menu_badge_stats(), Session (+25 more)
### Community 121 - "Session"
Cohesion: 0.12
Nodes (26): day_detail(), delete_assignment(), duty_user_options(), _enrich_assign_names(), ensure_duty_dict(), month_summary(), Session, 指定用户时补全 personName(用 nick_name)。 (+18 more)
### Community 122 - "Community 122"
Cohesion: 0.39
Nodes (10): create_post(), get_post(), list_posts(), post_code_exists(), Any, Session, _row_to_dict(), soft_delete_post() (+2 more)
Cohesion: 0.25
Nodes (14): 获取用户所有角色的数据权限配置。 返回: [{"data_scope": str, "details": [SysRoleDataScopeDetai, _resolve_user_role_scopes(), business_type_from_path(), title_from_path(), _apply_oper_log_scope(), get_oper_log(), list_oper_logs(), _oper_log_row_in_scope() (+6 more)
### Community 123 - "customer_options"
Cohesion: 0.12
Nodes (20): list_plans(), _plan_plate_match(), 列表展示用:优先 CRM 标准名(详情仍返回库内 product_name,以便编辑反推别名)。, _resolve_list_product_name(), load_brand_qtys_by_plan_product_ids(), persist_plan_product_brand_qtys(), Any, Session (+12 more)
Cohesion: 0.16
Nodes (17): export_plans(), list_plans(), _plan_plate_match(), _plan_product_name_exists(), 列表展示用:优先 CRM 标准名(详情仍返回库内 product_name,以便编辑反推别名)。, 导出计划列表(当前筛选全量,或 ids 已选)。, _resolve_list_product_name(), _cert_url_blank() (+9 more)
### Community 124 - "datetime_parse.py"
Cohesion: 0.67
Nodes (3): parse_optional_plan_datetime(), datetime, 运输计划相关日期时间解析:前端 date-picker 仅传 YYYY-MM-DD。
### Community 125 - "build_annotated_result_bytes"
Cohesion: 0.24
Nodes (11): extract_minio_object_key(), join_relative_urls(), normalize_oss_storage_url(), MinIO 附件 URL 规范化(数据迁移共用)。 背景 ---- CRM / 地磅 / 报销与 shanxia2.0 共用同一 MinIO(bucket 默, 业务表 OSS ID 串 → 相对 URL 串(用于客户证照、跟进附件等)。, 去掉预签名 query(``?X-Amz-...``)。, 将绝对/相对 URL 规范为 MinIO object key(不含 bucket)。, 迁移 CRM ``sys_oss`` 行:``url`` + ``file_name`` → 门户相对路径。 (+3 more)
### Community 126 - "customer_pool.py"
Cohesion: 0.36
Nodes (13): _build_tree(), _cascade_soft_delete(), create_menu(), get_menu(), list_menus(), list_menus_tree(), menu_name_exists(), Any (+5 more)
### Community 127 - "web_login_rsa_public_key"
Cohesion: 0.36
Nodes (9): create_oss(), get_oss_by_id(), get_oss_by_url(), Session, 按主键 id 查询附件(兼容旧 CRM 雪花 oss_id 迁入后的记录), 将 fileUrl 或旧 CRM 数字 ossId 解析为 MinIO 相对路径。 门户新上传把相对路径写入业务字段;迁入合同附件仍存数字 ossId, resolve_storage_path(), CRM 模块数据模型(产品分类、产品主表、统一附件表、客户管理、公海池、线索管理) (+1 more)
### Community 128 - "product_allowed"
Cohesion: 0.28
Nodes (11): assert_products_allowed_for_supplier(), enrich_products_with_hazard_flags(), get_supplier_hazard_flags(), product_allowed(), Any, Session, 批量回填明细行 isToxic/isExplosive(来自产品主数据,供前端切换主体剔除)。, test_dual_requires_both() (+3 more)
Cohesion: 0.38
Nodes (8): assert_products_allowed_for_supplier(), get_supplier_hazard_flags(), product_allowed(), Session, test_dual_requires_both(), test_explosive_only_requires_allow_explosive(), test_plain_always_allowed(), test_toxic_only_requires_allow_toxic()
### Community 129 - "BaseStorage"
Cohesion: 0.12
Nodes (24): _auto_contract_name_body(), generate_contract_name(), 按面板单位全称精确匹配交易主体/客户主数据,取 shortName;对不上则用全称。, 前端预览误用单位全称时,名称片段会等于面板/客户/开票全称。, 按面板供方(partyA)-需方(partyB)生成:{供方简称}-{需方简称}({合同编号})。 - 名称为空:按主数据简称自动生成 - 名, resolve_party_short_name(), _strip_contract_name_no_suffix(), _user_contract_name_uses_party_full_name() (+16 more)
### Community 130 - ".to_tenant_user_dict"
Cohesion: 0.40
Nodes (3): Any, 供 get_tenant_no 等门户工具使用。, 与门户 JWT / apply_data_scope 所需的 user_info 字段对齐。
### Community 131 - "list_product_options"
Cohesion: 0.67
Nodes (3): list_product_options(), 产品下拉 options:keyword 按产品名称/拼音首字母模糊匹配,不匹配产品编号。, test_list_product_options_keyword_only_filters_product_name()
### Community 132 - "context.py"
Cohesion: 0.26
Nodes (18): create_contact(), get_contact(), list_contacts_by_customer(), _parse_optional_date(), Any, date, Session, _row_to_dict() (+10 more)
### Community 136 - "Community 136"
Cohesion: 0.19
Nodes (18): create_role(), get_role(), get_role_data_scope(), get_role_menu_ids(), list_roles(), Any, Session, 角色 CRUD(sys_role / sys_role_menu / sys_role_data_scope_detail) (+10 more)
### Community 137 - "statistics.py"
Cohesion: 0.35
Nodes (11): create_dict_type(), dict_type_code_exists(), get_dict_type(), list_dict_types(), Any, Session, 字典类型 CRUD(sys_dict_type), _row_to_dict() (+3 more)
### Community 138 - "Community 138"
Cohesion: 0.33
Nodes (19): check_python(), create_venv(), ensure_dirs(), ensure_valid_venv(), ensure_venv_and_runtime(), install_dependencies(), is_running(), log_error() (+11 more)
@@ -744,13 +696,9 @@ Nodes (19): check_python(), create_venv(), ensure_dirs(), ensure_valid_venv(), e
Cohesion: 0.22
Nodes (15): get_storage(), download_file_bytes(), file_stream(), get_access_url(), get_download_url(), get_preview_url(), normalize_storage_path(), 报销附件存储适配 — 复用门户 app.core.storage,对外保持 bx 协议。 (+7 more)
### Community 144 - "dict_data.py"
Cohesion: 0.27
Nodes (11): create_dict_data(), get_dict_data(), list_dict_data(), list_dict_data_options(), Any, Session, 字典数据 CRUD(sys_dict_data), 字典下拉选项:租户主数据,忽略数据范围(user_info 保留兼容调用方,不参与过滤)。 (+3 more)
### Community 145 - "resolve_crm_product"
Cohesion: 0.09
Nodes (34): get_current_time(), parse_datetime(), datetime, PlTransportProductBrandQty, 运输单产品回传品牌数量 pl_transport_product_brand_qty, Decimal, validate_brand_qty_rows(), _dict_field() (+26 more)
Cohesion: 0.14
Nodes (24): PlTransportProductBrandQty, PlTransportProductFeedback, 运输单按产品回传 pl_transport_product_feedback, 运输单产品回传品牌数量 pl_transport_product_brand_qty, _dict_field(), format_brand_qty_summary(), load_transport_driver_product_feedbacks(), persist_io_item_brand_qtys() (+16 more)
### Community 147 - "Community 147"
Cohesion: 0.37
@@ -761,16 +709,16 @@ Cohesion: 0.19
Nodes (7): _guess_preview_content_type(), MinIOStorage, Any, 从 MINIO_BASE_URL 解析公网 endpoint;未配置或与内网相同时复用 self.client。, 按对象键后缀推断内联预览 Content-Type(纠正上传时未写入 MIME 的情况)。, MinIO 预签名下载 URL,携带原始文件名。, MinIO 预签名内联预览 URL(图片新标签页 / PDF iframe 等)。 上传时 put_object 未写 content_typ
### Community 159 - "customer_update"
Cohesion: 0.17
Nodes (18): get_user_menu_codes(), Session, 菜单 code 权限守卫(V0.3:通过 sys_user_role → sys_role_menu → sys_menu.perms), 读取用户授权的菜单权限标识集合(与前端 meta.menuCode / perms 对齐)。, _expand_with_ancestor_menu_ids(), _granted_menu_ids_for_user(), iter_user_menu_perm_codes(), _map_role_name_to_web() (+10 more)
Cohesion: 0.33
Nodes (10): _expand_with_ancestor_menu_ids(), _granted_menu_ids_for_user(), iter_user_menu_perm_codes(), Session, Web 管理端登录:基于 V0.3 sys_user / sys_user_role / sys_role 的角色与菜单权限解析, 角色仅勾选按钮(F)时,补齐祖先 C/M 菜单 id,便于前端匹配 :list 路由。, 用户通过角色关联得到的菜单权限标识(sys_menu.perms,与前端 meta.menuCode 对齐)。, 用户是否在 sys_user_role 中绑定了至少一个有效角色。 (+2 more)
### Community 162 - ".to_tenant_user_dict"
Cohesion: 0.42
Nodes (7): default_settlement_clause(), test_advance_payment_clause(), test_arrive_payment_clause(), test_empty_falls_back_to_arrive(), test_monthly_settlement_clause_uses_label(), test_unknown_falls_back_to_arrive(), test_volume_quarterly_other_labels()
### Community 164 - "get_client_ip"
Cohesion: 0.20
Nodes (24): _jwt_user_payload(), logout(), 公共接口(Web 登录、刷新 Token、登出;用户模型对齐 docs/sql/shanxia2.0.sql 基线), 登出:吊销 Redis 会话(若已配置 REDIS_HOST)。无 Token 或已失效时仍返回成功(幂等)。, Web 端登录:账号为 sys_user.user_no,密码为 sys_user.password(bcrypt)。, refresh_token(), web_login(), create_access_token() (+16 more)
Cohesion: 0.11
Nodes (36): _avatar_url_field(), _build_user_info_payload(), _jwt_user_payload(), logout(), 公共接口(Web 登录、刷新 Token、登出;用户模型对齐 docs/sql/shanxia2.0.sql 基线), 登出:吊销 Redis 会话(若已配置 REDIS_HOST)。无 Token 或已失效时仍返回成功(幂等)。, 与 web-admin 静态路由 meta.roles(admin/super_admin)对齐的单元素数组。, 与 web-admin `userInfo` 字段约定一致。 (+28 more)
### Community 170 - "test_quote_approver_setting.py"
Cohesion: 0.11
@@ -778,7 +726,7 @@ Nodes (7): convert_heic_to_jpeg(), OSSStorage, process_image_content(), QiniuSto
### Community 173 - "resolve_create_time_bounds"
Cohesion: 0.08
Nodes (76): get_plan_arrange_info(), 获取计划已安排运输后的司机链接与地磅出入库关联(供查看弹窗复制简述/二维码)。, _apply_plan_logistics_from_payload(), _apply_transport_arrange_fields(), arrange_transport(), _assert_vehicle_carrier_eligible(), _build_arrange_result(), _build_driver_url() (+68 more)
Nodes (61): PlanExportBody, _apply_plan_logistics_from_payload(), _apply_transport_arrange_fields(), arrange_transport(), _assert_vehicle_carrier_eligible(), _build_arrange_result(), _build_driver_url(), create_transport() (+53 more)
### Community 179 - "test_pl_vehicle_personnel_photo_schema.py"
Cohesion: 0.27
@@ -793,8 +741,8 @@ Cohesion: 0.18
Nodes (10): 1. 创建虚拟环境, 2. 安装依赖, 3. 配置环境变量, 4. 启动服务, API 路由分组, shanxia2.0 后端骨架(FastAPI), 开发规范, 快速开始 (+2 more)
### Community 220 - "api_crypto_middleware.py"
Cohesion: 0.23
Nodes (14): ApiCryptoMiddleware, _claims_from_auth(), _coerce_post_method_override_to_get(), _get_redis_client(), _is_crypto_api(), _json_error_response(), _mark_nonce_once(), _nonce_key() (+6 more)
Cohesion: 0.24
Nodes (13): _claims_from_auth(), _coerce_post_method_override_to_get(), _get_redis_client(), _is_crypto_api(), _json_error_response(), _mark_nonce_once(), _nonce_key(), Redis (+5 more)
### Community 237 - "order_status_compat.py"
Cohesion: 0.36
@@ -811,21 +759,21 @@ Nodes (6): eq_unicode(), like_unicode(), MySQL 字符串比较/模糊匹配时
## Knowledge Gaps
- **30 isolated node(s):** `Config`, `Config`, `Config`, `Config`, `Config` (+25 more)
These have ≤1 connection - possible missing edges or undocumented components.
- **18 thin communities (<3 nodes) omitted from report** — run `graphify query` to explore isolated nodes.
- **16 thin communities (<3 nodes) omitted from report** — run `graphify query` to explore isolated nodes.
## Suggested Questions
_Questions this graph is uniquely positioned to answer:_
- **Why does `generate_uuid()` connect `Community 74` to `Community 0`, `Community 4`, `Community 5`, `Community 6`, `Community 8`, `statistics.py`, `Community 136`, `Community 11`, `Community 14`, `Community 15`, `dict_data.py`, `resolve_crm_product`, `Community 17`, `Community 19`, `Community 16`, `Community 21`, `Community 23`, `Community 24`, `Community 25`, `Community 26`, `Community 28`, `Community 29`, `Community 32`, `Community 33`, `get_client_ip`, `Community 36`, `Community 39`, `Community 40`, `Community 43`, `resolve_create_time_bounds`, `Community 47`, `Community 51`, `Community 54`, `Community 55`, `Community 58`, `Community 60`, `Community 61`, `Community 62`, `Community 64`, `Community 65`, `Community 67`, `Community 68`, `Community 72`, `apply_crm_create_by_scope`, `storage.py`, `Community 83`, `Community 86`, `Community 87`, `pl_ocr_service.py`, `opportunity_product.py`, `Community 92`, `test_pl_public_link_archived.py`, `LocalStorage`, `redis_client.py`, `tenant.py`, `crm_supplier_hazard.py`, `apply_crm_create_by_scope`, `apply_pl_scope`, `_ensure_subpack_slip_no`, `Community 116`, `Community 118`, `Community 122`, `customer_options`, `customer_pool.py`, `web_login_rsa_public_key`?**
_High betweenness centrality (0.129) - this node is a cross-community bridge._
- **Why does `BaseModel` connect `Community 12` to `Community 1`, `Community 2`, `Community 5`, `Community 6`, `Community 7`, `Community 10`, `Community 11`, `Community 13`, `Community 14`, `Community 15`, `Community 16`, `Community 18`, `Community 20`, `Community 23`, `Community 27`, `Community 32`, `Community 40`, `Community 41`, `Community 43`, `Community 44`, `Community 45`, `Community 46`, `resolve_create_time_bounds`, `Community 47`, `Community 50`, `Community 51`, `Community 54`, `Community 57`, `Community 58`, `Community 60`, `Community 62`, `Community 63`, `Community 64`, `Community 65`, `Community 74`, `apply_crm_create_by_scope`, `customer_follow.py`, `Community 83`, `contact.py`, `redis_client.py`, `tenant.py`, `crm_supplier_hazard.py`, `apply_crm_create_by_scope`, `site.py`, `_ensure_subpack_slip_no`, `Community 111`, `quote_share_log.py`, `Community 119`, `sqlalchemy_exception_handler`, `Session`?**
_High betweenness centrality (0.113) - this node is a cross-community bridge._
- **Why does `Settings` connect `price_letter_detail` to `Community 34`, `Community 35`, `Community 67`, `Community 37`, `Community 73`, `Community 42`, `Community 111`, `Community 48`, `Community 53`, `Community 59`, `Community 30`?**
_High betweenness centrality (0.088) - this node is a cross-community bridge._
- **Are the 8 inferred relationships involving `DbUserContext` (e.g. with `InventoryRelatedData` and `AutoGenerateMonthlyResult`) actually correct?**
_`DbUserContext` has 8 INFERRED edges - model-reasoned connections that need verification._
- **Why does `generate_uuid()` connect `redis_client.py` to `Community 0`, `context.py`, `Community 5`, `Community 6`, `Community 4`, `Community 8`, `Community 136`, `Community 10`, `Community 11`, `Community 14`, `Community 15`, `Community 16`, `Community 17`, `resolve_crm_product`, `Community 19`, `Community 21`, `Community 23`, `Community 24`, `Community 25`, `Community 26`, `Community 28`, `Community 31`, `Community 32`, `Community 33`, `Community 34`, `get_client_ip`, `Community 39`, `Community 43`, `resolve_create_time_bounds`, `Community 46`, `Community 50`, `Community 51`, `Community 54`, `Community 56`, `Community 58`, `Community 60`, `Community 61`, `Community 64`, `Community 65`, `Community 67`, `Community 68`, `Community 72`, `Community 74`, `apply_crm_create_by_scope`, `Community 78`, `resolve_crm_product`, `Community 83`, `Community 87`, `CrmProduct`, `pl_ocr_service.py`, `opportunity_product.py`, `Community 92`, `LocalStorage`, `crm_supplier_hazard.py`, `apply_crm_create_by_scope`, `site.py`, `apply_pl_scope`, `Community 116`, `Community 118`, `customer_pool.py`?**
_High betweenness centrality (0.141) - this node is a cross-community bridge._
- **Why does `BaseModel` connect `Community 12` to `Community 1`, `Community 2`, `Community 5`, `Community 7`, `Community 11`, `Community 13`, `Community 14`, `Community 15`, `Community 16`, `Community 18`, `Community 20`, `Community 23`, `Community 26`, `Community 27`, `Community 28`, `Community 31`, `Community 37`, `Community 40`, `Community 41`, `Community 43`, `Community 44`, `Community 45`, `resolve_create_time_bounds`, `Community 49`, `Community 50`, `Community 51`, `Community 52`, `Community 54`, `Community 55`, `Community 57`, `Community 58`, `Community 61`, `Community 62`, `Community 63`, `Community 64`, `Community 65`, `resolve_crm_product`, `customer_follow.py`, `Community 83`, `redis_client.py`, `crm_supplier_hazard.py`, `pool_customer_assign`, `site.py`, `site.py`, `Community 119`?**
_High betweenness centrality (0.097) - this node is a cross-community bridge._
- **Why does `Settings` connect `price_letter_detail` to `Community 35`, `Community 36`, `Community 67`, `Community 38`, `Community 70`, `Community 73`, `Community 42`, `statistics.py`, `Community 48`, `Community 53`, `Community 59`, `Community 30`?**
_High betweenness centrality (0.084) - this node is a cross-community bridge._
- **Are the 23 inferred relationships involving `DbUserContext` (e.g. with `InventoryRelatedData` and `AutoGenerateMonthlyResult`) actually correct?**
_`DbUserContext` has 23 INFERRED edges - model-reasoned connections that need verification._
- **What connects `API 路由包 — 山峡化工生产一体化门户`, `返回运营端角色下拉选项(label=库中角色名,value=Web 角色码)。`, `返回用户下拉选项(label=昵称,value=用户ID,附带 nickName/userNo)。 供申请人/审批人等选择场景使用,返回本租户全部有效` to the rest of the system?**
_582 weakly-connected nodes found - possible documentation gaps or missing edges._
_605 weakly-connected nodes found - possible documentation gaps or missing edges._
- **Should `Community 0` be split into smaller, more focused modules?**
_Cohesion score 0.10745098039215686 - nodes in this community are weakly interconnected._
- **Should `Community 1` be split into smaller, more focused modules?**
File diff suppressed because it is too large. Load diff
+281 -307
View File
@@ -1,16 +1,16 @@
# Graph Report - backend (2026-08-21)
## Corpus Check
- 338 files · ~223,572 words
- 340 files · ~233,591 words
- Verdict: corpus is large enough that graph structure adds value.
## Summary
- 4639 nodes · 16923 edges · 186 communities (170 shown, 16 thin omitted)
- Extraction: 97% EXTRACTED · 3% INFERRED · 0% AMBIGUOUS · INFERRED: 553 edges (avg confidence: 0.53)
- 4793 nodes · 18045 edges · 180 communities (165 shown, 15 thin omitted)
- Extraction: 95% EXTRACTED · 5% INFERRED · 0% AMBIGUOUS · INFERRED: 903 edges (avg confidence: 0.52)
- Token cost: 0 input · 0 output
## Graph Freshness
- Built from commit: `e9ad26cb`
- Built from commit: `833544de`
- Run `git rev-parse HEAD` and compare to check if the graph is stale.
- Run `graphify update .` after code changes (no API cost).
@@ -124,46 +124,40 @@
- [[_COMMUNITY_site.py|site.py]]
- [[_COMMUNITY_apply_pl_scope|apply_pl_scope]]
- [[_COMMUNITY_statistics.py|statistics.py]]
- [[_COMMUNITY__ensure_subpack_slip_no|_ensure_subpack_slip_no]]
- [[_COMMUNITY_monitor.py|monitor.py]]
- [[_COMMUNITY_list_duty_staff_users|list_duty_staff_users]]
- [[_COMMUNITY_Community 111|Community 111]]
- [[_COMMUNITY_dict_data.py|dict_data.py]]
- [[_COMMUNITY_.to_tenant_user_dict|.to_tenant_user_dict]]
- [[_COMMUNITY_quote_share_log.py|quote_share_log.py]]
- [[_COMMUNITY_dict_type.py|dict_type.py]]
- [[_COMMUNITY_db_models.py|db_models.py]]
- [[_COMMUNITY_site.py|site.py]]
- [[_COMMUNITY_Community 116|Community 116]]
- [[_COMMUNITY_get_web_auth_menu_codes|get_web_auth_menu_codes]]
- [[_COMMUNITY_price_letter_detail|price_letter_detail]]
- [[_COMMUNITY_Community 118|Community 118]]
- [[_COMMUNITY_Community 119|Community 119]]
- [[_COMMUNITY_sqlalchemy_exception_handler|sqlalchemy_exception_handler]]
- [[_COMMUNITY_Session|Session]]
- [[_COMMUNITY_Community 122|Community 122]]
- [[_COMMUNITY_post.py|post.py]]
- [[_COMMUNITY_site.py|site.py]]
- [[_COMMUNITY_customer_options|customer_options]]
- [[_COMMUNITY_datetime_parse.py|datetime_parse.py]]
- [[_COMMUNITY_build_annotated_result_bytes|build_annotated_result_bytes]]
- [[_COMMUNITY_resolve_crm_product|resolve_crm_product]]
- [[_COMMUNITY_customer_pool.py|customer_pool.py]]
- [[_COMMUNITY_web_login_rsa_public_key|web_login_rsa_public_key]]
- [[_COMMUNITY_allocate_next_biz_no|allocate_next_biz_no]]
- [[_COMMUNITY_product_allowed|product_allowed]]
- [[_COMMUNITY_BaseStorage|BaseStorage]]
- [[_COMMUNITY_.to_tenant_user_dict|.to_tenant_user_dict]]
- [[_COMMUNITY_list_product_options|list_product_options]]
- [[_COMMUNITY_contact.py|contact.py]]
- [[_COMMUNITY_customer_update|customer_update]]
- [[_COMMUNITY_context.py|context.py]]
- [[_COMMUNITY_product.py|product.py]]
- [[_COMMUNITY_test_crm_approval_reedit.py|test_crm_approval_reedit.py]]
- [[_COMMUNITY_opportunity_follow.py|opportunity_follow.py]]
- [[_COMMUNITY_opportunity_export|opportunity_export]]
- [[_COMMUNITY_response.py|response.py]]
- [[_COMMUNITY_unsettled_plans_q_filter|unsettled_plans_q_filter]]
- [[_COMMUNITY_Community 136|Community 136]]
- [[_COMMUNITY_statistics.py|statistics.py]]
- [[_COMMUNITY_customer_options|customer_options]]
- [[_COMMUNITY_Community 138|Community 138]]
- [[_COMMUNITY_get_current_user_by_token|get_current_user_by_token]]
- [[_COMMUNITY_utils.py|utils.py]]
- [[_COMMUNITY_customer_follow.py|customer_follow.py]]
- [[_COMMUNITY_price_letter_detail|price_letter_detail]]
- [[_COMMUNITY_opportunity_export|opportunity_export]]
- [[_COMMUNITY_dict_data.py|dict_data.py]]
- [[_COMMUNITY_UserRole|UserRole]]
- [[_COMMUNITY_resolve_crm_product|resolve_crm_product]]
- [[_COMMUNITY___init__.py|__init__.py]]
- [[_COMMUNITY_Community 147|Community 147]]
- [[_COMMUNITY_get_db_current_user_optional|get_db_current_user_optional]]
- [[_COMMUNITY_Community 151|Community 151]]
- [[_COMMUNITY_response.py|response.py]]
- [[_COMMUNITY_customer_update|customer_update]]
@@ -193,16 +187,16 @@
- [[_COMMUNITY_PlanResourceSnapshotMixin|PlanResourceSnapshotMixin]]
## God Nodes (most connected - your core abstractions)
1. `BaseModel` - 463 edges
2. `get_tenant_no()` - 353 edges
3. `success_response()` - 273 edges
4. `DbUserContext` - 258 edges
5. `error_response()` - 252 edges
6. `generate_uuid()` - 198 edges
7. `BxUserContext` - 188 edges
1. `BaseModel` - 504 edges
2. `get_tenant_no()` - 378 edges
3. `DbUserContext` - 304 edges
4. `success_response()` - 273 edges
5. `error_response()` - 267 edges
6. `BxUserContext` - 204 edges
7. `generate_uuid()` - 198 edges
8. `crm_user_info()` - 137 edges
9. `assert_row_deletable_by_creator()` - 83 edges
10. `ApiResponse` - 80 edges
9. `ExportValidationError` - 108 edges
10. `ExportColumn` - 106 edges
## Surprising Connections (you probably didn't know these)
- `BackfillRule` --uses--> `Settings` [INFERRED]
@@ -219,175 +213,175 @@
## Import Cycles
- None detected.
## Communities (186 total, 16 thin omitted)
## Communities (180 total, 15 thin omitted)
### Community 0 - "Community 0"
Cohesion: 0.12
Nodes (20): BxAdvanceApply, BxAdvanceApproval, AdvanceService, Any, Session, 同一节点多次审批时,取 approval_time 最新的一条作为当前节点状态。, 返回全部审批动作,按时间正序排列,用于展示完整审批历史。, filter_current_cycle_approvals() (+12 more)
Cohesion: 0.40
Nodes (4): filter_current_cycle_approvals(), 审批轮次过滤 — 驳回后重新提交时,进度接口仅展示当前轮次。, 审批进度仅展示当前轮次;完整历史由 get_approval_history 返回。, T
### Community 1 - "Community 1"
Cohesion: 0.09
Nodes (34): CRM 合同 API 路由 — GET/PUT/DELETE/POST 对齐原 Java CRM, 接口菜单权限守卫。super_admin 直接放行。, require_menu_code(), ContractApproverSettingSaveBody, ContractApprovalActionBody, ContractBatchAssignBody, ContractBatchSubmitBody, ContractChangeCreateBody (+26 more)
Cohesion: 0.07
Nodes (39): CRM 合同 API 路由 — GET/PUT/DELETE/POST 对齐原 Java CRM, 接口菜单权限守卫。super_admin 直接放行。, require_menu_code(), ContractApproverSettingSaveBody, ContractApprovalActionBody, ContractApprovalPassBody, ContractApprovalRejectBody, ContractApprovalTransferBody (+31 more)
### Community 2 - "Community 2"
Cohesion: 0.13
Nodes (11): _coerce_id(), OffsetItem, PaymentFinanceStatsOut, 报销单勾选的发票附件(同一发票可勾选多个附件,各占一条)。, ReimburseApplyCreate, ReimburseApprovalOut, ReimburseApproverPendingStatsOut, ReimburseDetailCreate (+3 more)
Cohesion: 0.09
Nodes (43): dump_export_row(), issue_status_label(), Any, Session, respond_xlsx(), status_label(), advance_issue_stats(), batch_offset() (+35 more)
### Community 3 - "Community 3"
Cohesion: 0.06
Nodes (73): attachment_download_url(), attachment_preview_url(), create_dept(), create_dict_data(), create_dict_type(), create_menu(), create_menu_favorite(), create_post() (+65 more)
Nodes (89): attachment_download_url(), attachment_preview_url(), create_dept(), create_dict_data(), create_dict_type(), create_menu(), create_menu_favorite(), create_post() (+81 more)
### Community 4 - "Community 4"
Cohesion: 0.12
Nodes (61): _apply_list_filters(), assign_opportunities(), batch_update_expect_date(), batch_update_stage(), change_stage(), create_opportunity(), _decimal_value(), _enrich_user_names() (+53 more)
Cohesion: 0.09
Nodes (75): _apply_list_filters(), assign_opportunities(), batch_update_expect_date(), batch_update_stage(), change_stage(), create_opportunity(), _decimal_value(), _enrich_user_names() (+67 more)
### Community 5 - "Community 5"
Cohesion: 0.06
Nodes (79): archive_plan(), _build_driver_url(), cancel_plan(), cancel_plan_wait_notice(), count_plans_by_contract(), create_from_contract(), create_plan(), create_plan_full() (+71 more)
Cohesion: 0.05
Nodes (128): archive_plan(), cancel_plan_wait_notice(), count_plans_by_contract(), create_from_contract(), create_plan(), create_plan_full(), _determine_plan_type(), _ensure_subpack_slip_no() (+120 more)
### Community 6 - "Community 6"
Cohesion: 0.18
Nodes (32): assign_customer(), batch_claim_customers(), check_duplicate_customer(), claim_customer(), create_customer(), deal_customer(), _enrich_user_names(), _ensure_customer_in_scope() (+24 more)
Cohesion: 0.13
Nodes (39): assign_customer(), batch_claim_customers(), check_duplicate_customer(), claim_customer(), create_customer(), deal_customer(), _enrich_user_names(), _ensure_customer_in_scope() (+31 more)
### Community 7 - "Community 7"
Cohesion: 0.06
Nodes (127): clue_check_convert(), clue_check_duplicate(), clue_detail(), clue_export(), clue_follow_statistics(), clue_import(), clue_list(), clue_mine() (+119 more)
Nodes (94): clue_assign(), clue_convert(), clue_create(), clue_delete(), clue_detail(), clue_export(), clue_follow_create(), clue_follow_delete() (+86 more)
### Community 8 - "Community 8"
Cohesion: 0.10
Nodes (48): assert_quote_editable_for_update(), _build_quote_filters(), calculate_quote_amount(), create_new_version(), create_quote(), _decimal_value(), _enrich_contact_fields(), _enrich_supplier_name() (+40 more)
Nodes (68): register_quote_routes(), accept_quote(), assert_quote_editable_for_update(), _build_quote_filters(), calculate_quote_amount(), create_new_version(), create_quote(), _decimal_value() (+60 more)
### Community 9 - "Community 9"
Cohesion: 0.10
Nodes (49): download_reimburse_import_template(), build_annotated_result_bytes(), build_applicant_label(), build_expense_path_labels(), build_import_template_bytes(), cell_str(), _ids_visible_in_web_tree(), import_reimburse_workbook() (+41 more)
Cohesion: 0.09
Nodes (53): download_reimburse_import_template(), clue_import_template(), customer_import_template(), product_import_template(), build_annotated_result_bytes(), build_applicant_label(), build_expense_path_labels(), build_import_template_bytes() (+45 more)
### Community 10 - "Community 10"
Cohesion: 0.20
Nodes (24): _apply_inventory_product_update(), _apply_inventory_update(), _base_query(), create_inventory(), create_link_for_plan(), delete_inventory(), _generate_batch_no(), _get_inventory() (+16 more)
Cohesion: 0.07
Nodes (41): export_depts(), export_menus(), export_posts(), export_role_management(), export_sites(), export_tenants(), export_users(), list_tenants() (+33 more)
### Community 11 - "Community 11"
Cohesion: 0.10
Nodes (55): cancel_apply(), create_apply(), create_disburse(), delete_applies(), delete_disburses(), get_apply(), get_disburse(), list_applies() (+47 more)
Cohesion: 0.15
Nodes (40): PlVehicleUreaApply, PlVehicleUreaDisburse, 车辆尿素申请 pl_vehicle_urea_apply, 车辆尿素发放登记 pl_vehicle_urea_disburse, Decimal, VehicleUreaApplyCreate, VehicleUreaApplyRead, VehicleUreaApplyUpdate (+32 more)
### Community 12 - "Community 12"
Cohesion: 0.05
Nodes (68): contact_add(), contact_delete(), contact_update(), customer_create(), customer_update(), customer_name_exists(), BaseModel, AttachmentUploadResponse (+60 more)
Cohesion: 0.04
Nodes (79): InventoryExportBody, InventoryRelatedData, PlanRelatedData, RechargeApplyExportBody, RechargeDisburseExportBody, UreaApplyExportBody, UreaDisburseExportBody, BaseModel (+71 more)
### Community 13 - "Community 13"
Cohesion: 0.19
Nodes (13): create_expense_item(), delete_expense_item(), get_expense_item(), get_expense_item_tree(), Session, update_expense_item(), BxExpenseItem, _coerce_id() (+5 more)
Cohesion: 0.18
Nodes (33): approve_reimburse(), approved_by_me(), _build_details_data(), create_reimburse(), delete_reimburse(), export_approved_by_me_reimburses(), export_my_reimburses(), export_pending_approval_reimburses() (+25 more)
### Community 14 - "Community 14"
Cohesion: 0.12
Nodes (25): bind_biz(), delete_attachment(), download_file(), list_by_biz(), _parse_id_list(), preview_attachment(), Session, UploadFile (+17 more)
Cohesion: 0.10
Nodes (29): 报销模块认证适配:门户 JWT 用户 → bx 业务上下文。, BxAttachment, BxReimburseInvoice, BxReimburseOffset, BxWorkflowNode, 报销(bx)模块数据模型 — 对齐 docs/sql/20260606_bx_tables.sql, ReimburseDetailOut, AttachmentService (+21 more)
### Community 15 - "Community 15"
Cohesion: 0.09
Nodes (43): approve_reimburse(), approved_by_me(), _build_details_data(), create_reimburse(), delete_reimburse(), get_approval_history(), get_approvals(), get_generated_title() (+35 more)
Cohesion: 0.12
Nodes (14): BxReimburseApply, BxReimburseApproval, BxReimburseDetail, 报销单勾选的发票附件(同一发票可勾选多个附件,各占一条)。, ReimburseInvoiceBriefOut, ReimburseInvoiceLinkIn, Any, Session (+6 more)
### Community 16 - "Community 16"
Cohesion: 0.09
Nodes (60): cancel_apply(), create_apply(), create_record(), delete_applies(), delete_records(), get_apply(), get_record(), list_applies() (+52 more)
Nodes (62): cancel_apply(), create_apply(), create_record(), delete_applies(), delete_records(), export_recharge_applies(), export_recharge_disburse_board(), get_apply() (+54 more)
### Community 17 - "Community 17"
Cohesion: 0.10
Nodes (32): build_dict_value_from_label(), ensure_dict_data(), grab(), join_work_plans(), list_duty_staff_users(), normalize_person_name(), _pad_hhmm(), parse_time_range_input() (+24 more)
Cohesion: 0.06
Nodes (88): ApiCryptoError, _b64url_decode(), _b64url_encode(), decrypt_json(), encrypt_json(), Any, generate_id(), DutyAssignment (+80 more)
### Community 18 - "Community 18"
Cohesion: 0.08
Nodes (64): advance_pending_approval_stats(), advance_status_counts(), approve_advance(), approved_by_me(), create_advance(), delete_advance(), _fill_offset_amounts(), get_advance() (+56 more)
Cohesion: 0.09
Nodes (42): _advance_list_filters(), advance_pending_approval_stats(), advance_status_counts(), approve_advance(), approved_by_me(), create_advance(), delete_advance(), _export_advance_rows() (+34 more)
### Community 19 - "Community 19"
Cohesion: 0.24
Nodes (12): DbSequence, 地磅(db)模块数据模型 — 对齐 docs/sql/db_tables.sql, _allocate_inbound_outbound_id(), _ensure_sequence_row(), max_numeric_inbound_outbound_id(), next_inbound_outbound_id(), Session, 出入库单 id 生成 — 租户内纯数字自增,并发安全。 (+4 more)
Cohesion: 0.28
Nodes (11): DbSequence, _allocate_inbound_outbound_id(), _ensure_sequence_row(), max_numeric_inbound_outbound_id(), next_inbound_outbound_id(), Session, 出入库单 id 生成 — 租户内纯数字自增,并发安全。, 当前租户下纯数字 id 的最大值(不含 UUID 等非数字主键)。 (+3 more)
### Community 20 - "Community 20"
Cohesion: 0.11
Nodes (37): approve_settlement_legacy(), cancel_settlement(), create_settlement(), delete_settlement(), disburse_settlement(), _generate_settlement_no(), get_settlement(), get_settlement_approval_flow() (+29 more)
Cohesion: 0.13
Nodes (35): approve_settlement_legacy(), cancel_settlement(), create_settlement(), delete_settlement(), disburse_settlement(), export_settlements(), export_unsettled_plans(), _generate_settlement_no() (+27 more)
### Community 21 - "Community 21"
Cohesion: 0.08
Nodes (61): _alias_row_to_dict(), _assert_brand_deletable(), barcode_exists(), _brand_row_to_dict(), _build_category_tree(), category_code_exists(), _category_row_to_dict(), _collect_category_with_ancestors() (+53 more)
Nodes (60): _alias_row_to_dict(), _assert_brand_deletable(), barcode_exists(), _brand_row_to_dict(), _build_category_tree(), category_code_exists(), _category_row_to_dict(), _collect_category_with_ancestors() (+52 more)
### Community 22 - "Community 22"
Cohesion: 0.08
Nodes (28): parse_admin_request_json(), Any, Request, 运营 Web(/web/admin)JSON 请求体解析。 与 ApiCryptoMiddleware 配合:中间件未改写 body 时,在路由内解密 `{, 读取 JSON body;dict 时走 resolve_request_payload(明文 / 密文 / data 包装)。 Returns:, ApiCryptoError, _b64url_decode(), _b64url_encode() (+20 more)
Cohesion: 0.19
Nodes (13): BusinessException, InvalidStatusTransitionException, log_delivery_operation(), log_operation(), log_order_operation(), log_settlement_operation(), log_user_operation(), OrderLockedException (+5 more)
### Community 23 - "Community 23"
Cohesion: 0.10
Nodes (57): update_plan(), PlPlanProduct, 计划产品明细表 pl_plan_product, PlanArchiveFreightBlock, PlanArchiveProductItem, PlanProductCreate, PlanTransportCreateBlock, all_hazard_products_cert_complete() (+49 more)
Cohesion: 0.38
Nodes (6): 解析司机:显式选择优先,否则取车辆关联司机;均无则允许为空。, _resolve_driver(), 运输计划解析司机:车辆未关联司机时允许为空。, 未显式选司机、车辆也无关联司机时,应返回空三元组而非 400。, test_resolve_driver_with_explicit_id_returns_personnel(), test_resolve_driver_without_vehicle_link_returns_none()
### Community 24 - "Community 24"
Cohesion: 0.14
Nodes (20): 数据模型(与 docs/sql/shanxia2.0.sql 全库导出基线对齐的核心系统表), Web 管理端约定角色(由 sys_role.role_name 映射而来,非数据库枚举), UserRole, DictEnsureError, ensure_dict_data(), ensure_remove_dict_data(), Session, 业务页字典 ensure:白名单内按 label 复用或插入 sys_dict_data。 (+12 more)
Cohesion: 0.19
Nodes (16): DictEnsureError, ensure_dict_data(), ensure_remove_dict_data(), Session, 业务页字典 ensure:白名单内按 label 复用或插入 sys_dict_data。, label miss, but preferred value already exists → reuse, no insert, test_ensure_honors_explicit_preferred_value_on_insert(), test_ensure_inserts_new_with_value_equals_label() (+8 more)
### Community 25 - "Community 25"
Cohesion: 0.26
Nodes (12): list_share_logs(), _parse_user_agent(), Any, Session, CRM 报价单分享访问日志 CRUD — 对照 CrmQuoteShareLogServiceImpl.java, Java: statisticsVisits, 简易 User-Agent 解析(替代 Hutool UserAgentUtil), Java: queryLogsByQuoteId (+4 more)
### Community 26 - "Community 26"
Cohesion: 0.20
Nodes (31): DutyAssignment, DutyDay, DutySlot, 值班排班模型 — docs/superpowers/specs/2026-08-14-duty-schedule-design.md, assert_user_is_duty_staff(), _assignment_dict(), build_public_url(), _count_active_assignments() (+23 more)
Cohesion: 0.11
Nodes (43): check_document_expiry(), document_reminder_stats(), get_inventory_ledger(), get_summary(), list_document_reminders(), list_transactions(), list_warnings(), date (+35 more)
### Community 27 - "Community 27"
Cohesion: 0.11
Nodes (32): CRM 报价单 API 路由 — 挂接到 crm.router, QuoteApproverSettingSaveBody, QuoteAcceptBody, QuoteApprovalApproveBody, QuoteApprovalListBody, QuoteApprovalRefreshNamesBody, QuoteApprovalWithdrawBody, QuoteCreateBody (+24 more)
### Community 28 - "Community 28"
Cohesion: 0.10
Nodes (57): PlFreightSettlement, PlFreightSettlementApproval, 运费结算表 pl_freight_settlement, 运费结算审批 pl_freight_settlement_approval, _advance_after_approval(), _approval_to_dict(), can_user_approve_settlement(), cancel_draft_settlement() (+49 more)
Cohesion: 0.11
Nodes (56): PlFreightSettlement, PlFreightSettlementApproval, PlFreightSettlementTransport, PlRemittanceVoucher, 运费结算表 pl_freight_settlement, 运费结算审批 pl_freight_settlement_approval, 结算单-运输关联表 pl_freight_settlement_transport, 汇款凭证表 pl_remittance_voucher (+48 more)
### Community 29 - "Community 29"
Cohesion: 0.09
Nodes (65): _apply_contract_entity_fields(), _build_contract_filters(), _build_contract_name_from_parties(), _build_customer_address(), _calc_amount_with_tax(), _change_row_to_dict(), contract_no_exists(), _contract_period_key() (+57 more)
Cohesion: 0.18
Nodes (18): align_contract_no_to_sign_date(), generate_contract_no(), date, Java: generateContractNo — {供方编码}/X-JT{yyyyMMdd}{3位序号} 流水与撞号检测须含软删:uk_contr, 标准编号替换日期段,保留序号;非标准返回 None。, 将标准合同编号日期段对齐签订日;撞号则序号顺延(含软删查重)。 非标准编号原样返回。无签订日则原样返回。, replace_contract_no_date(), _mock_last_contract() (+10 more)
### Community 30 - "Community 30"
Cohesion: 0.16
Nodes (26): clear_target_categories(), compute_level(), count_target_rows(), derive_source_url(), fetch_portal_admin_id(), fetch_source_rows(), legacy_id_to_str(), load_runtime_settings() (+18 more)
### Community 31 - "Community 31"
Cohesion: 0.15
Nodes (27): _as_date(), _build_driver_url(), _build_public_page(), _format_file_size(), _format_plan_date(), get_public_transport(), get_public_transport_history(), _get_transport_by_token() (+19 more)
Cohesion: 0.10
Nodes (43): apply_dibang_prefill_to_order(), apply_site_feedback(), build_io_order_site_url(), create_io_order_for_transport(), _dibang_qty_by_plan_product(), enrich_io_items_with_brand_feedback(), enrich_io_order_dict(), _format_io_product_summary_line() (+35 more)
### Community 32 - "Community 32"
Cohesion: 0.11
Nodes (45): check_document_expiry(), document_reminder_stats(), get_inventory_ledger(), get_summary(), list_document_reminders(), list_transactions(), list_warnings(), date (+37 more)
Cohesion: 0.10
Nodes (32): 验证密码(哈希非 bcrypt 或损坏时返回 False,避免抛错), verify_password(), camel_to_snake(), CRUDBase, get_model_attr(), HistoryCRUD, Any, Session (+24 more)
### Community 33 - "Community 33"
Cohesion: 0.29
Nodes (16): ensure_crm_customer_linked_row_in_scope(), ensure_crm_owner_row_in_scope(), Session, CRM 数据权限辅助(负责人 owner_user_id + 标准 create_by/create_dept_id)。, 客户子表(开票信息等):先校验关联客户 owner scope,否则校验 create_by。, _clear_default_for_customer(), create_invoice_info(), get_invoice_info() (+8 more)
Cohesion: 0.38
Nodes (13): ensure_crm_customer_linked_row_in_scope(), 客户子表(开票信息等):先校验关联客户 owner scope,否则校验 create_by。, _clear_default_for_customer(), create_invoice_info(), get_invoice_info(), list_invoice_info_by_customer(), Any, Session (+5 more)
### Community 34 - "Community 34"
Cohesion: 0.18
Nodes (31): _dec(), derive_source_url(), fetch_portal_admin_id(), fetch_source_rows(), legacy_id_to_str(), legacy_parent_id(), load_oss_id_to_url(), load_runtime_settings() (+23 more)
Cohesion: 0.15
Nodes (27): _apply_contract_entity_fields(), _build_contract_filters(), _calc_amount_with_tax(), contract_no_exists(), create_contract(), create_contract_template(), create_from_opportunity(), create_from_quote() (+19 more)
### Community 35 - "Community 35"
Cohesion: 0.18
Nodes (36): clear_portal_workflow(), _dec(), derive_source_url(), fetch_portal_admin_id(), fetch_source_rows(), legacy_id_to_str(), load_bx_user_mapping(), load_runtime_settings() (+28 more)
### Community 36 - "Community 36"
Cohesion: 0.15
Nodes (27): 验证密码(哈希非 bcrypt 或损坏时返回 False,避免抛错), verify_password(), change_password(), create_user(), get_user(), get_user_with_relations(), _hash_password(), list_post_ids_for_user() (+19 more)
Cohesion: 0.18
Nodes (30): _dec(), derive_source_url(), fetch_portal_admin_id(), fetch_source_rows(), legacy_id_to_str(), legacy_parent_id(), load_oss_id_to_url(), load_runtime_settings() (+22 more)
### Community 37 - "Community 37"
Cohesion: 0.18
Nodes (29): _dec(), derive_source_url(), fetch_portal_admin_id(), fetch_source_rows(), legacy_id_to_str(), load_oss_id_to_url(), load_runtime_settings(), load_settings_env() (+21 more)
Cohesion: 0.08
Nodes (34): list_public_vehicle_plates(), Session, 地磅公共只读:免登车牌 options(现场填写页), 免登:按出入库/计划解析 tenant_no,返回 pl_vehicle 车牌(self + carrier)。, _resolve_tenant_no(), get_menu_list(), 运营端菜单接口(与 web-admin 前端静态路由 sqxp.ts 对齐,14 个一级菜单), menu_badge_stats() (+26 more)
### Community 38 - "Community 38"
Cohesion: 0.18
Nodes (11): Config, decrypt_login_payload(), ensure_initialized(), extract_login_credentials(), get_public_pem(), Any, 登录凭据 RSA 解密(与前端 JSEncrypt PKCS#1 v1.5 兼容)。, Base64 密文 -> JSON 对象(须含 username、password、ts 毫秒时间戳)。 (+3 more)
Cohesion: 0.11
Nodes (18): parse_admin_request_json(), Any, Request, 运营 Web(/web/admin)JSON 请求体解析。 与 ApiCryptoMiddleware 配合:中间件未改写 body 时,在路由内解密 `{, 读取 JSON body;dict 时走 resolve_request_payload(明文 / 密文 / data 包装)。 Returns:, Config, decrypt_login_payload(), ensure_initialized() (+10 more)
### Community 39 - "Community 39"
Cohesion: 0.13
Nodes (42): clue_follow_detail(), assign_clues(), check_convert(), check_duplicate_clue(), convert_clue(), create_clue(), _enrich_user_names(), _ensure_clue_in_scope() (+34 more)
Cohesion: 0.14
Nodes (42): assign_clues(), check_convert(), check_duplicate_clue(), convert_clue(), create_clue(), _enrich_user_names(), _ensure_clue_in_scope(), create_clue_follow() (+34 more)
### Community 40 - "Community 40"
Cohesion: 0.15
Nodes (39): _apply_plan_product_update(), _apply_plan_update(), AutoGenerateMonthlyResult, _base_query(), create_plan(), delete_plan(), _generate_plan_no(), get_plan() (+31 more)
Cohesion: 0.16
Nodes (32): CRM 合同子模块路由 — 变更/模板/审批独立页, register_contract_sub_routes(), _change_row_to_dict(), create_contract_change(), _enrich_change_rows(), execute_change(), export_contract_changes(), export_contract_templates() (+24 more)
### Community 41 - "Community 41"
Cohesion: 0.08
Nodes (54): _generate_notify_message(), _is_rearrange(), 仅计划已正式安排才算「调整运输」。 创建/编辑表单预选车辆会留下 draft 运输单,计划仍为 pending; 若把非 cancelled, PlInboundOrder, PlInboundOrderItem, PlPlan, PlTransport, 运输计划-入库单 pl_inbound_order (+46 more)
Cohesion: 0.22
Nodes (27): export_inbound(), _export_orders(), export_outbound(), _get_by_plan(), get_inbound(), get_inbound_by_plan(), _get_order(), get_outbound() (+19 more)
### Community 42 - "Community 42"
Cohesion: 0.19
@@ -395,66 +389,66 @@ Nodes (32): _dec(), derive_source_url(), fetch_portal_admin_id(), fetch_source_r
### Community 43 - "Community 43"
Cohesion: 0.09
Nodes (34): create_invoice(), delete_invoice(), get_mine_wallet_summary(), list_invoice_ledgers(), list_invoices(), Request, Session, 一次上传一条发票:多文件挂同一档案,金额为总额,只写一条额度流水。 使用 request.form().getlist,兼容只传 1 个文件时 Fas (+26 more)
Nodes (36): BxExportBodyBase, create_invoice(), delete_invoice(), export_invoice_wallets(), get_mine_wallet_summary(), list_invoice_ledgers(), list_invoice_wallets(), list_invoices() (+28 more)
### Community 44 - "Community 44"
Cohesion: 0.18
Nodes (24): approve_task(), _assert_wf_instance_in_scope(), _business_type_label(), create_process_def(), delete_process_def(), _enrich_task_list(), get_business_all_tasks(), _get_business_form_fields() (+16 more)
Cohesion: 0.14
Nodes (32): approve_task(), _assert_wf_instance_in_scope(), _business_type_label(), create_process_def(), delete_process_def(), _enrich_task_list(), export_completed_tasks(), export_my_instances() (+24 more)
### Community 45 - "Community 45"
Cohesion: 0.33
Nodes (34): AttachmentDownloadUrlBody, DeptCreateBody, DeptUpdateBody, DictDataCreateBody, DictDataUpdateBody, DictEnsureBody, DictEnsureRemoveBody, DictTypeCreateBody (+26 more)
Cohesion: 0.24
Nodes (54): AttachmentDownloadUrlBody, demo_xlsx_export(), DemoXlsxColumnSpec, DemoXlsxExportBody, DeptCreateBody, DeptExportBody, DeptUpdateBody, DictDataCreateBody (+46 more)
### Community 46 - "Community 46"
Cohesion: 0.12
Nodes (37): register_contract_routes(), batch_assign_owner(), batch_submit_contract_approval(), contract_row_to_dict(), download_contract_pdf(), _ensure_contract_in_scope(), export_contracts(), finish_contract() (+29 more)
Cohesion: 0.09
Nodes (59): register_contract_routes(), batch_assign_owner(), batch_submit_contract_approval(), _build_contract_name_from_parties(), _build_customer_address(), _contract_period_key(), contract_row_to_dict(), download_contract_pdf() (+51 more)
### Community 47 - "Community 47"
Cohesion: 0.13
Nodes (32): PlanContractGapRead, PlanContractLink, PlanProductBase, PlanProductRead, is_internal_customer_name(), 运输计划:内置山峡/云栋客户判定(合同可免), build_plan_contract_gap_read(), compute_contract_gap_sides() (+24 more)
Cohesion: 0.12
Nodes (29): pool_rule_add(), pool_rule_delete(), pool_rule_detail(), pool_rule_execute(), pool_rule_list(), pool_rule_update(), pool_rule_update_status(), create_pool_rule() (+21 more)
### Community 48 - "Community 48"
Cohesion: 0.21
Nodes (22): clear_target_products(), count_target_rows(), _dec(), derive_source_url(), fetch_portal_admin_id(), fetch_source_rows(), legacy_id_to_str(), load_runtime_settings() (+14 more)
### Community 49 - "Community 49"
Cohesion: 0.49
Nodes (10): clue_statistics_level(), _apply_create_range(), _base_query(), get_clue_level_statistics(), get_clue_overview_statistics(), get_clue_owner_statistics(), get_clue_source_statistics(), get_clue_trend_statistics() (+2 more)
Cohesion: 0.18
Nodes (16): create_expense_item(), delete_expense_item(), ExpenseItemExportBody, export_expense_items(), _flatten_expense_tree(), get_expense_item(), get_expense_item_tree(), Session (+8 more)
### Community 50 - "Community 50"
Cohesion: 0.16
Nodes (30): _apply_weighing_product_update(), _apply_weighing_update(), _base_query(), create_weighing(), delete_weighing(), _get_weighing(), get_weighing_related(), list_weighing() (+22 more)
Cohesion: 0.18
Nodes (27): _apply_inventory_product_update(), _apply_inventory_update(), _base_query(), create_inventory(), create_link_for_plan(), delete_inventory(), _generate_batch_no(), _get_inventory() (+19 more)
### Community 51 - "Community 51"
Cohesion: 0.26
Nodes (18): _address_to_read(), _build_address_query(), create_transport_address(), delete_transport_address(), _get_address(), get_transport_address(), list_all_transport_addresses(), list_transport_addresses() (+10 more)
Cohesion: 0.22
Nodes (21): _address_to_read(), _build_address_query(), create_transport_address(), delete_transport_address(), export_transport_addresses(), _get_address(), get_transport_address(), list_all_transport_addresses() (+13 more)
### Community 52 - "Community 52"
Cohesion: 0.19
Nodes (14): CRM 模块 Excel 导出列定义(字段与字典类型对齐 Java *Vo @ExcelDictFormat)。, _build_workbook(), DictLabelResolver, export_rows_to_xlsx_response(), ExportColumn, load_dict_label_maps(), Any, Session (+6 more)
Cohesion: 0.04
Nodes (99): _attach_history_products(), _build_history_page(), _build_page(), _get_by_token(), _history_status_label(), _models(), _parse_history_date(), date (+91 more)
### Community 53 - "Community 53"
Cohesion: 0.19
Nodes (28): apply_biz_backfill(), BackfillRule, BizRef, build_biz_index(), count_target_rows(), derive_source_url(), fetch_portal_admin_id(), fetch_source_rows() (+20 more)
Cohesion: 0.17
Nodes (30): apply_biz_backfill(), BackfillRule, BizRef, build_biz_index(), count_target_rows(), derive_source_url(), fetch_portal_admin_id(), fetch_source_rows() (+22 more)
### Community 54 - "Community 54"
Cohesion: 0.08
Nodes (57): _get_by_plan(), get_inbound(), get_inbound_by_plan(), _get_order(), get_outbound(), get_outbound_by_plan(), inbound_site_url(), list_inbound() (+49 more)
Cohesion: 0.13
Nodes (27): PlCert, CertRead, 运输计划 - 安排运输时车辆/人员/证件资源快照 Schema, SnapshotCertRead, SnapshotPersonnelRow, TransportResourceSnapshot, certs_to_read(), list_owner_certs() (+19 more)
### Community 55 - "Community 55"
Cohesion: 0.33
Nodes (8): allocate_next_biz_no(), _format_biz_no(), _prefix_for(), datetime, Session, 业务协议号自动生成:XBCC / JZCC + YYYYMMDD + 6 位序号, 原子分配下一个业务协议号。 须在 create 事务内调用;使用 MySQL LAST_INSERT_ID 保证并发安全。, BizNoKind
Cohesion: 0.04
Nodes (83): category_add(), category_update(), invoice_info_add(), invoice_info_by_customer(), _invoice_info_by_customer_impl(), invoice_info_delete(), invoice_info_list(), invoice_info_set_default() (+75 more)
### Community 56 - "Community 56"
Cohesion: 0.13
Nodes (28): generate_uuid(), PlPlanProductBrandQty, 计划产品归档品牌数量 pl_plan_product_brand_qty, load_brand_qtys_by_plan_product_ids(), persist_plan_product_brand_qtys(), Any, Decimal, Session (+20 more)
Cohesion: 0.09
Nodes (46): ContractGapExportBody, PlanExportBody, BizAttachment, PlCarrier, PlDocumentReminder, PlDriver, PlInboundOrder, PlInboundOrderItem (+38 more)
### Community 57 - "Community 57"
Cohesion: 0.19
Nodes (16): API 路由包 — 山峡化工生产一体化门户, create_leave(), delete_leave(), get_leave(), _leave_local_callback(), leave_workflow_callback(), list_leaves(), Session (+8 more)
Cohesion: 0.16
Nodes (21): create_leave(), delete_leave(), export_leaves(), get_leave(), _leave_local_callback(), leave_workflow_callback(), LeaveExportBody, list_leaves() (+13 more)
### Community 58 - "Community 58"
Cohesion: 0.19
Cohesion: 0.18
Nodes (21): allocate_reimburse_title_seq(), format_reimburse_title(), generate_apply_code(), generate_title(), is_auto_reimburse_title(), parse_optional_date(), parse_reimburse_date(), preview_reimburse_title_seq() (+13 more)
### Community 59 - "Community 59"
@@ -463,51 +457,51 @@ Nodes (28): _dec(), derive_source_url(), fetch_portal_admin_id(), fetch_source_r
### Community 60 - "Community 60"
Cohesion: 0.21
Nodes (16): apply_crm_create_by_scope(), _apply_list_filters(), create_supplier_info(), list_all_supplier_info(), list_supplier_info(), Any, Session, CRM 供方信息 CRUD — 对照 CrmSupplierInfoServiceImpl.java (+8 more)
Nodes (17): apply_crm_create_by_scope(), _apply_list_filters(), create_supplier_info(), list_all_supplier_info(), list_supplier_info(), Any, Session, CRM 供方信息 CRUD — 对照 CrmSupplierInfoServiceImpl.java (+9 more)
### Community 61 - "Community 61"
Cohesion: 0.31
Nodes (15): DbInboundOutbound, PlTransportDbLink, 运输-地磅出入库关联 pl_transport_db_link, _apply_plan_quantity_delta(), 再次勾选地磅安排前:软删本运输单此前生成的、仍可作废的出入库单及关联。 - 不删除地磅月计划(可能被其他业务复用) - 若出入库单已完成的/已, _resolve_link_contributed_qty(), revoke_regeneratable_dibang_for_transport(), _subtract_plan_contribution() (+7 more)
Cohesion: 0.10
Nodes (47): cancel_plan(), _generate_notify_message(), 作废运输计划:取消跟进状态、作废关联地磅出入库单、取消运输单。, PlPlan, PlTransportDbLink, 运输-地磅出入库关联 pl_transport_db_link, _apply_plan_quantity_delta(), _create_db_inventory() (+39 more)
### Community 62 - "Community 62"
Cohesion: 0.17
Nodes (28): approve_carrier(), create_carrier(), create_driver(), delete_carrier(), delete_driver(), delete_personnel(), delete_vehicle(), get_carrier() (+20 more)
Cohesion: 0.08
Nodes (24): category_delete(), category_tree(), _map_product_export_column_keys(), product_add(), product_delete(), product_detail(), product_export(), product_list() (+16 more)
### Community 63 - "Community 63"
Cohesion: 0.38
Nodes (14): _cargo_stats(), get_dashboard_stats(), get_inbound_by_cargo(), get_inbound_by_partner_cargo(), get_outbound_by_cargo(), get_outbound_by_partner_cargo(), _partner_cargo_stats(), Session (+6 more)
Cohesion: 0.24
Nodes (16): _cargo_stats(), get_dashboard_stats(), get_inbound_by_cargo(), get_inbound_by_partner_cargo(), get_outbound_by_cargo(), get_outbound_by_partner_cargo(), _partner_cargo_stats(), Session (+8 more)
### Community 64 - "Community 64"
Cohesion: 0.13
Cohesion: 0.15
Nodes (23): create_workflow(), delete_workflow(), get_workflow(), get_workflow_by_biz_type(), list_workflows(), Session, save_workflow_nodes(), update_workflow() (+15 more)
### Community 65 - "Community 65"
Cohesion: 0.10
Nodes (62): cancel_apply(), create_apply(), create_process(), delete_applies(), delete_processes(), get_apply(), get_process(), list_applies() (+54 more)
Cohesion: 0.09
Nodes (63): cancel_apply(), create_apply(), create_process(), delete_applies(), delete_processes(), export_applies(), export_process_board(), get_apply() (+55 more)
### Community 66 - "Community 66"
Cohesion: 0.16
Nodes (19): ApiRequestLogMiddleware, _claims_from_auth(), _format_body_bytes(), _persist_log(), Any, Request, 统一记录 API 请求/响应出入参的中间件, _redact_obj() (+11 more)
Nodes (18): ApiRequestLogMiddleware, _claims_from_auth(), _format_body_bytes(), _persist_log(), Any, Request, 统一记录 API 请求/响应出入参的中间件, _redact_obj() (+10 more)
### Community 67 - "Community 67"
Cohesion: 0.12
Nodes (36): get_password_hash(), Namespace, build_merged_users(), bx_role_labels(), check_minio(), check_mysql(), check_redis(), _clip() (+28 more)
### Community 68 - "Community 68"
Cohesion: 0.33
Nodes (13): _build_tree(), _cascade_soft_delete(), _collect_with_ancestors(), create_dept(), get_dept(), list_depts(), list_depts_tree(), Any (+5 more)
Cohesion: 0.18
Nodes (24): delete_plan(), delete_carrier(), unbind_vehicle_driver(), delete_plan(), _actor_ids(), _actor_names(), assert_row_deletable_by_creator(), assert_rows_deletable_by_creator() (+16 more)
### Community 69 - "Community 69"
Cohesion: 0.10
Nodes (39): _append_user_scope_conditions(), apply_data_scope(), assert_row_in_data_scope(), _collect_scope_ids(), _get_child_dept_ids(), get_user_dept_id(), Session, 数据权限过滤(V0.3:基于角色 data_scope 的查询级行级过滤) data_scope 值: 1 = 全部数据 2 = 本部门数据 3 (+31 more)
Cohesion: 0.13
Nodes (28): _append_user_scope_conditions(), apply_data_scope(), assert_row_in_data_scope(), _collect_scope_ids(), _get_child_dept_ids(), get_user_dept_id(), Session, 合并多角色数据范围为 dept_ids / user_ids 并集。 (+20 more)
### Community 70 - "Community 70"
Cohesion: 0.19
Nodes (16): align_contract_no_to_sign_date(), date, 标准编号替换日期段,保留序号;非标准返回 None。, 将标准合同编号日期段对齐签订日;撞号则序号顺延(含软删查重)。 非标准编号原样返回。无签订日则原样返回。, replace_contract_no_date(), _mock_last_contract(), 软删占用的编号仍占唯一索引,生成时须跳过(对齐 uk_contract_tenant_no)。, 取最大流水号须含软删,避免复用已软删的最大编号。 (+8 more)
Cohesion: 0.18
Nodes (29): _dec(), derive_source_url(), fetch_portal_admin_id(), fetch_source_rows(), legacy_id_to_str(), load_oss_id_to_url(), load_runtime_settings(), load_settings_env() (+21 more)
### Community 71 - "Community 71"
Cohesion: 0.24
Nodes (7): camel_to_snake(), CRUDBase, get_model_attr(), HistoryCRUD, Any, Session, ModelType
Cohesion: 0.14
Nodes (23): CarrierAuditReject, CarrierBase, CarrierCreate, CarrierListResponse, CarrierQualificationBase, CarrierUpdate, DriverBase, DriverCreate (+15 more)
### Community 72 - "Community 72"
Cohesion: 0.25
@@ -518,44 +512,44 @@ Cohesion: 0.20
Nodes (25): derive_source_url(), fetch_portal_admin_id(), fetch_source_rows(), legacy_id_to_str(), load_oss_id_to_url(), load_runtime_settings(), load_settings_env(), load_user_mapping() (+17 more)
### Community 74 - "Community 74"
Cohesion: 0.13
Nodes (27): create_vehicle(), update_vehicle(), _vehicle_to_detail(), calc_age_from_chinese_id_card(), date, 从 18 位身份证号计算周岁。号码不完整或出生日期无效时返回 None。, VehicleDetailRead, VehiclePersonnelRow (+19 more)
Cohesion: 0.18
Nodes (26): _apply_weighing_product_update(), _apply_weighing_update(), _base_query(), create_weighing(), delete_weighing(), _get_weighing(), get_weighing_related(), _kg_to_ton() (+18 more)
### Community 75 - "apply_crm_create_by_scope"
Cohesion: 0.25
Nodes (19): bind_vehicle_driver(), get_vehicle(), paste_recognize_commit(), PlVehicle, ConflictAction, PasteCommitBody, PasteCommitResult, PastePersonnelIn (+11 more)
Cohesion: 0.21
Nodes (12): get_current_time(), parse_datetime(), datetime, create_oss(), get_oss_by_id(), get_oss_by_url(), Session, 按主键 id 查询附件(兼容旧 CRM 雪花 oss_id 迁入后的记录) (+4 more)
### Community 76 - "opportunity_follow.py"
Cohesion: 0.15
Nodes (23): _avatar_url_field(), _build_user_info_payload(), change_current_user_password(), get_current_user_profile(), get_web_auth_menu_codes(), _jwt_user_payload(), public_quote_share(), Request (+15 more)
Cohesion: 0.21
Nodes (26): _apply_plan_product_update(), _apply_plan_update(), AutoGenerateMonthlyResult, _base_query(), create_plan(), _generate_plan_no(), get_plan(), _get_plan_by_id_only() (+18 more)
### Community 77 - "Community 77"
Cohesion: 0.11
Nodes (12): get_wechat_pay_client(), get_wechat_pay_v2(), Any, 微信支付工具模块 支持微信支付 V3 API 文档参考: https://pay.weixin.qq.com/docs/v3/apis/index.html, 统一下单接口 (V3) Args: out_trade_no: 商户订单号 total_amo, 申请退款 Args: out_trade_no: 商户订单号 total_amount: 订单, 小程序调起支付的二次签名参数(与公众号 JSAPI 规则一致), 统一下单 (V2 API) Args: out_trade_no: 商户订单号 total_f (+4 more)
### Community 78 - "Community 78"
Cohesion: 0.24
Nodes (18): _actor_ids(), _actor_names(), assert_row_deletable_by_creator(), assert_rows_deletable_by_creator(), can_delete_by_creator(), is_super_admin(), normalize_user_info(), Any (+10 more)
Cohesion: 0.14
Nodes (20): bind_biz(), delete_attachment(), download_file(), list_by_biz(), _parse_id_list(), preview_attachment(), Session, UploadFile (+12 more)
### Community 79 - "PlCarrier"
Cohesion: 0.19
Nodes (10): _dispatch_local(), Any, 工作流回调服务 —— 流程状态变更时通知业务系统, 注册本地回调函数。当 callback_url 以 path 开头时直接调用 fn。, 尝试本地直调。返回 True 表示已处理,False 表示无匹配的本地回调。, 流程实例状态变更后,向业务系统发送回调通知。 优先级: 1. 如果 callback_url 是内部路径(以 / 开头),优先尝试本地直调, register_local_callback(), trigger_callback() (+2 more)
Cohesion: 0.29
Nodes (12): build_name_pinyin_abbr(), normalize_name_pinyin_abbr(), 名称拼音首字母缩写:库内存小写,检索时大小写不敏感。, 保存时解析拼音字段。 - submitted_provided=True:用提交值(空则按 name 生成) - 否则:已有非空 existi, resolve_name_pinyin_abbr(), test_chinese_and_alnum(), test_empty_and_whitespace(), test_resolve_not_submitted_empty_existing_generates() (+4 more)
### Community 80 - "resolve_crm_product"
Cohesion: 0.30
Nodes (12): PlCarrier, assert_carrier_eligible_for_transport(), carrier_agreement_expired(), carrier_audit_approved(), carrier_eligible_for_transport(), carrier_qualification_complete(), date, 资质附件均为选填,保留函数签名供兼容调用。 (+4 more)
Cohesion: 0.18
Nodes (16): export_carriers(), list_carriers(), 导出承运商列表(当前筛选全量,或 ids 已选)。, carrier_to_read(), date, assert_carrier_eligible_for_transport(), carrier_agreement_expired(), carrier_audit_approved() (+8 more)
### Community 81 - "customer_follow.py"
Cohesion: 0.20
Nodes (10): public_grab(), public_page(), Session, Config, format_api_error_message(), PageResult, Exception, 将 HTTP/SQLAlchemy 等异常转为可展示的错误文案(避免 str([]) 空列表)。 (+2 more)
Nodes (21): cancel_apply(), create_apply(), create_disburse(), delete_applies(), delete_disburses(), export_urea_applies(), export_urea_disburse_board(), get_apply() (+13 more)
### Community 82 - "storage.py"
Cohesion: 0.39
Nodes (10): create_site(), get_site(), list_sites(), Any, Session, _row_to_dict(), site_code_exists(), soft_delete_site() (+2 more)
Cohesion: 0.17
Nodes (23): PlanContractGapRead, PlanProductRead, is_internal_customer_name(), 运输计划:内置山峡/云栋客户判定(合同可免), build_plan_contract_gap_read(), compute_contract_gap_sides(), _demander_gap_expr(), list_plan_contract_gaps() (+15 more)
### Community 83 - "Community 83"
Cohesion: 0.09
Nodes (50): CRM 合同子模块路由 — 变更/模板/审批独立页, register_contract_sub_routes(), _advance_contract_after_approval(), approve_contract(), approve_contract_by_contract_id(), approve_pass(), approve_reject(), approve_transfer() (+42 more)
Cohesion: 0.15
Nodes (30): _advance_contract_after_approval(), approve_contract(), approve_contract_by_contract_id(), approve_pass(), approve_reject(), approve_transfer(), _build_approval_list_filters(), create_approval_records() (+22 more)
### Community 84 - "Community 84"
Cohesion: 0.23
@@ -566,24 +560,24 @@ Cohesion: 0.18
Nodes (17): get_oper_log_meta(), OperLogMeta, 请求级操作日志元数据(ContextVar), 供异步落库线程使用,避免 ContextVar 跨线程丢失。, set_oper_log_meta(), snapshot_oper_log_meta(), _format_summary(), oper_log() (+9 more)
### Community 86 - "Community 86"
Cohesion: 0.08
Nodes (27): _db_pool_keepalive_loop(), _error_json(), lifespan(), Exception, Request, 数据库异常:返回 JSON 并保留 CORS 头,避免浏览器只报跨域错误, 未捕获异常:统一 JSON 500,确保跨域场景下仍有 Access-Control-Allow-Origin, 定期 ping MySQL,避免远程库/NAT 回收空闲 TCP 后首请求长时间卡住。 (+19 more)
Cohesion: 0.12
Nodes (15): _db_pool_keepalive_loop(), _error_json(), lifespan(), Exception, Request, 数据库异常:返回 JSON 并保留 CORS 头,避免浏览器只报跨域错误, 未捕获异常:统一 JSON 500,确保跨域场景下仍有 Access-Control-Allow-Origin, 定期 ping MySQL,避免远程库/NAT 回收空闲 TCP 后首请求长时间卡住。 (+7 more)
### Community 87 - "Community 87"
Cohesion: 0.17
Nodes (22): approve_quote(), can_user_approve(), create_approval_records(), delete_pending_approvals(), get_quote_approval(), invalidate_all_approvals(), list_quote_approvals(), Any (+14 more)
Cohesion: 0.10
Nodes (34): can_user_approve(), 顺序审批:当前步骤 pending 且 is_current=1。 同一审批人若同时存在历史已处理记录与当前轮 pending,优先取 pending, approve_quote(), can_user_approve(), create_approval_records(), delete_pending_approvals(), get_quote_approval(), invalidate_all_approvals() (+26 more)
### Community 88 - "CrmProduct"
Cohesion: 0.14
Nodes (21): CarrierAuditReject, CarrierBase, DriverBase, DriverCreate, DriverListResponse, DriverUpdate, PersonnelBase, PersonnelCreate (+13 more)
Cohesion: 0.40
Nodes (12): _enrich_follow_dict(), get_follow(), list_follows(), list_follows_by_customer(), Any, Session, _row_to_dict(), soft_delete_follow() (+4 more)
### Community 89 - "pl_ocr_service.py"
Cohesion: 0.19
Nodes (22): PlOcrUsageMonth, 阿里云 OCR 月度调用计数 pl_ocr_usage_month(按自然月全局统计), assert_quota_available(), _build_ocr_client(), compress_image_bytes(), current_usage_month(), _first_attachment_url(), get_or_create_usage_row() (+14 more)
### Community 90 - "WechatMessageService"
Cohesion: 0.17
Nodes (8): 发送订单状态通知 Args: openid: 用户openid order_n, 发送支付成功通知 Args: openid: 用户openid order_n, 发送配送通知 Args: openid: 配送员openid task_no:, 发送配送时效预警 Args: openid: 配送员openid task_n, 发送退款结果通知 Args: openid: 用户openid order_n, 发送催单通知给配送员 Args: deliver_openid: 配送员openid, 发送模板消息 Args: openid: 用户openid template_, WechatMessageService
Cohesion: 0.15
Nodes (9): 微信消息通知服务 支持微信小程序模板消息推送 使用方式: from app.core.wechat_message import WechatMes, 发送订单状态通知 Args: openid: 用户openid order_n, 发送支付成功通知 Args: openid: 用户openid order_n, 发送配送通知 Args: openid: 配送员openid task_no:, 发送配送时效预警 Args: openid: 配送员openid task_n, 发送退款结果通知 Args: openid: 用户openid order_n, 发送催单通知给配送员 Args: deliver_openid: 配送员openid, 发送模板消息 Args: openid: 用户openid template_ (+1 more)
### Community 91 - "opportunity_product.py"
Cohesion: 0.33
@@ -593,101 +587,101 @@ Nodes (11): create_leave(), get_leave(), list_leaves(), Any, Session, _row_to_di
Cohesion: 0.20
Nodes (21): _assert_users_exist(), get_setting(), Any, Session, _row_to_dict(), save_setting(), _assert_users_exist(), get_setting() (+13 more)
### Community 93 - "api_request_log_middleware.py"
Cohesion: 0.29
Nodes (10): normalize_attachment_csv(), extract_minio_object_key(), join_relative_urls(), MinIO 附件 URL 规范化(数据迁移共用)。 背景 ---- CRM / 地磅 / 报销与 shanxia2.0 共用同一 MinIO(bucket 默, 业务表 OSS ID 串 → 相对 URL 串(用于客户证照、跟进附件等)。, 去掉预签名 query(``?X-Amz-...``)。, 将绝对/相对 URL 规范为 MinIO object key(不含 bucket)。, resolve_oss_id_csv() (+2 more)
### Community 94 - "assert_contract_editable_for_update"
Cohesion: 0.60
Nodes (3): assert_contract_editable_for_update(), test_assert_allows_editable(), test_assert_rejects_non_editable()
### Community 95 - "test_pl_public_link_archived.py"
Cohesion: 0.11
Nodes (34): get_last_month_range(), month_range(), date, Session, 地磅计划按月自动生成 — 迁移自 simple-dibang-xiaoshou/auto-create-plan/auto_create_monthly_pla, 按月自动生成采购计划。 - 默认仅在每月 1 日执行(force=True 时跳过该限制,供手动触发验收) - 遍历所有租户,按上月计划模板生, run_auto_generate_monthly_plans(), default_execution_status() (+26 more)
Cohesion: 0.13
Nodes (18): pool_customer_assign(), pool_customer_claim(), pool_customer_list(), pool_record_detail(), pool_record_list(), get_pool_record(), list_pool_records(), Any (+10 more)
### Community 96 - "minio_url.py"
Cohesion: 0.20
Nodes (13): ProcessDefCreateBody, ProcessDefUpdateBody, PublishVersionBody, start_instance(), StartInstanceBody, 流程定义版本 wf_process_version, 流程实例 wf_process_instance, WfNode (+5 more)
Cohesion: 0.26
Nodes (17): get_plan_related(), format_datetime(), _create_by_name(), datetime_end_of_day(), fmt_date(), fmt_datetime(), inventory_date_to_api(), inventory_to_read() (+9 more)
### Community 97 - "contact.py"
Cohesion: 0.22
Nodes (10): invoice_info_by_customer(), _invoice_info_by_customer_impl(), invoice_info_delete(), invoice_info_list(), invoice_info_update(), 按客户ID查询开票信息(与 by-customer 等价), InvoiceInfoByCustomerBody, InvoiceInfoDeleteBody (+2 more)
Nodes (3): BaseStorage, 带下载文件名的访问 URL;默认实现为普通访问地址。, 浏览器内联预览 URL;默认实现为普通访问地址。
### Community 98 - "LocalStorage"
Cohesion: 0.35
Nodes (11): create_tenant(), get_tenant(), list_tenants(), Any, Session, _row_to_dict(), soft_delete_tenant(), tenant_no_exists() (+3 more)
### Community 99 - "redis_client.py"
Cohesion: 0.31
Nodes (15): ensure_crm_create_by_row_in_scope(), create_pool_rule(), delete_pool_rules(), execute_pool_rules(), _execute_single_rule(), get_pool_rule(), list_pool_rules(), Any (+7 more)
Cohesion: 0.10
Nodes (30): bind_vehicle_driver(), calc_age_from_chinese_id_card(), date, 从 18 位身份证号计算周岁。号码不完整或出生日期无效时返回 None。, generate_uuid(), PlVehiclePersonnel, 车辆-人员关联表 pl_vehicle_personnel, VehiclePersonnelRow (+22 more)
### Community 100 - "price_letter_detail"
Cohesion: 0.27
Nodes (15): Settings, BaseSettings, apply_renumber(), build_mapping(), fetch_products(), format_new_product_no(), load_settings_env(), main() (+7 more)
### Community 101 - "tenant.py"
Cohesion: 0.10
Nodes (35): BizAttachment, 民族码表 sys_ethnic(国标 GB/T 3304,全局), SysEthnic, PlDocumentReminder, PlDriver, PlFreightSettlementTransport, PlInboundOrderItemBrandQty, PlInventory (+27 more)
Cohesion: 0.29
Nodes (15): clue_statistics_level(), clue_statistics_overview(), clue_statistics_owner(), clue_statistics_source(), clue_statistics_trend(), _apply_create_range(), _base_query(), get_clue_level_statistics() (+7 more)
### Community 102 - "crm_supplier_hazard.py"
Cohesion: 0.19
Nodes (21): create_personnel(), get_personnel(), list_personnel(), list_vehicles(), _personnel_to_detail(), _personnel_to_read(), update_personnel(), _vehicle_to_read() (+13 more)
Cohesion: 0.14
Nodes (37): approve_carrier(), create_carrier(), create_driver(), create_personnel(), create_vehicle(), export_drivers(), export_personnel(), export_vehicles() (+29 more)
### Community 103 - "pl_internal_customer.py"
Cohesion: 0.47
Nodes (5): list_ethnics(), Any, Session, 民族码表 CRUD(全局 sys_ethnic), _row_to_dict()
Cohesion: 0.36
Nodes (7): list_ethnics(), Any, Session, 民族码表 CRUD(全局 sys_ethnic), _row_to_dict(), 民族码表 sys_ethnic(国标 GB/T 3304,全局), SysEthnic
### Community 104 - "apply_crm_create_by_scope"
Cohesion: 0.29
Nodes (15): create_price_letter(), get_price_letter(), list_price_letters(), _parse_date(), Any, date, Session, _row_to_dict() (+7 more)
### Community 105 - "pool_customer_assign"
Cohesion: 0.29
Nodes (12): build_name_pinyin_abbr(), normalize_name_pinyin_abbr(), 名称拼音首字母缩写:库内存小写,检索时大小写不敏感。, 保存时解析拼音字段。 - submitted_provided=True:用提交值(空则按 name 生成) - 否则:已有非空 existi, resolve_name_pinyin_abbr(), test_chinese_and_alnum(), test_empty_and_whitespace(), test_resolve_not_submitted_empty_existing_generates() (+4 more)
Cohesion: 0.24
Nodes (12): get_last_month_range(), month_range(), date, Session, 地磅计划按月自动生成 — 迁移自 simple-dibang-xiaoshou/auto-create-plan/auto_create_monthly_pla, 按月自动生成采购计划。 - 默认仅在每月 1 日执行(force=True 时跳过该限制,供手动触发验收) - 遍历所有租户,按上月计划模板生, run_auto_generate_monthly_plans(), default_execution_status() (+4 more)
### Community 106 - "site.py"
Cohesion: 0.08
Nodes (25): clue_assign(), clue_convert(), clue_create(), clue_delete(), clue_follow_create(), clue_follow_delete(), clue_follow_list(), clue_follow_update() (+17 more)
Cohesion: 0.19
Nodes (27): CarrierExportBody, delete_driver(), delete_personnel(), delete_vehicle(), DriverExportBody, paste_recognize_commit(), PersonnelExportBody, VehicleExportBody (+19 more)
### Community 107 - "apply_pl_scope"
Cohesion: 0.16
Nodes (31): create_instance(), create_process_def(), create_task(), get_all_tasks_for_business(), get_instance(), get_latest_version(), get_nodes_by_version(), get_pending_tasks_by_node() (+23 more)
Cohesion: 0.08
Nodes (57): CompletedTaskExportBody, MyInstanceExportBody, PendingTaskExportBody, ProcessDefCreateBody, ProcessDefExportBody, ProcessDefUpdateBody, PublishVersionBody, 审批意见:前端传 commentText,兼容 comment。 (+49 more)
### Community 108 - "statistics.py"
Cohesion: 0.20
Nodes (24): count_source_rows(), derive_source_url(), fetch_portal_admin_id(), fetch_source_rows(), legacy_id_to_str(), load_runtime_settings(), load_settings_env(), load_user_mapping() (+16 more)
### Community 109 - "_ensure_subpack_slip_no"
Cohesion: 0.05
Nodes (68): clue_import_template(), customer_import_template(), opportunity_add(), opportunity_assign(), opportunity_batch_update_expect_date(), opportunity_batch_update_stage(), opportunity_change_stage(), opportunity_delete() (+60 more)
### Community 109 - "monitor.py"
Cohesion: 0.30
Nodes (12): operlog_detail(), operlog_export(), operlog_list(), OperLogExportBody, Session, 导出操作日志(当前筛选全量,或 ids 已选)。, 操作日志分页列表(基于 API 请求日志适配 RuoYi OperLog 结构), _user_info() (+4 more)
### Community 110 - "list_duty_staff_users"
Cohesion: 0.39
Nodes (8): get_redis_client(), get_sync_redis_client(), Redis, 共享 Redis 客户端(同步:会话鉴权;异步:API 加密 nonce)。, 同步 Redis(auth 会话等,在线程池中调用)。, 异步 Redis(API 加密 nonce 等中间件)。, _redis_common_kwargs(), redis_enabled()
Cohesion: 0.33
Nodes (13): _build_tree(), _cascade_soft_delete(), _collect_with_ancestors(), create_dept(), get_dept(), list_depts(), list_depts_tree(), Any (+5 more)
### Community 111 - "Community 111"
Cohesion: 0.12
Nodes (32): 返回 (作废, 归档)。现场链接实际走入库/出库单公共页。, _resolve_io_order_link_flags(), _build_public_page(), _build_site_product_read(), _format_file_size(), get_public_site(), _get_site_link_by_token(), _parse_feedback_images() (+24 more)
### Community 111 - "dict_data.py"
Cohesion: 0.27
Nodes (11): create_dict_data(), get_dict_data(), list_dict_data(), list_dict_data_options(), Any, Session, 字典数据 CRUD(sys_dict_data), 字典下拉选项:租户主数据,忽略数据范围(user_info 保留兼容调用方,不参与过滤)。 (+3 more)
### Community 112 - ".to_tenant_user_dict"
Cohesion: 0.45
Nodes (11): _customer_base_query(), get_follow_statistics(), get_industry_statistics(), get_level_statistics(), get_overview_statistics(), get_owner_statistics(), get_source_statistics(), get_trend_statistics() (+3 more)
Cohesion: 0.19
Nodes (20): statistics_follow(), statistics_industry(), statistics_level(), statistics_overview(), statistics_owner(), statistics_source(), statistics_trend(), _customer_base_query() (+12 more)
### Community 113 - "quote_share_log.py"
Cohesion: 0.24
Nodes (20): register_quote_routes(), accept_quote(), _ensure_quote_in_scope(), generate_pdf(), generate_share(), get_quote(), get_quote_detail(), _get_quote_in_scope() (+12 more)
### Community 114 - "db_models.py"
Cohesion: 0.31
Nodes (9): format_hhmm(), format_time_label(), parse_hhmm(), test_format_time_label_cross_day(), test_format_time_label_empty(), test_format_time_label_same_day(), test_parse_hhmm(), test_parse_hhmm_invalid_raises() (+1 more)
### Community 113 - "dict_type.py"
Cohesion: 0.35
Nodes (11): create_dict_type(), dict_type_code_exists(), get_dict_type(), list_dict_types(), Any, Session, 字典类型 CRUD(sys_dict_type), _row_to_dict() (+3 more)
### Community 115 - "site.py"
Cohesion: 0.21
Nodes (18): _assert_editable(), _build_public_page(), _format_file_size(), _get_inventory_by_token(), get_public_inventory(), _parse_feedback_images(), Session, UploadFile (+10 more)
Cohesion: 0.28
Nodes (14): _assert_editable(), _build_public_page(), _format_file_size(), _get_inventory_by_token(), get_public_inventory(), _parse_feedback_images(), Session, UploadFile (+6 more)
### Community 116 - "Community 116"
Cohesion: 0.17
Nodes (28): batch_insert_quote_products(), calculate_subtotal(), _decimal_value(), delete_products_by_quote_id(), _ensure_quote_parent_scope(), _get_field(), get_quote_product(), insert_quote_product() (+20 more)
### Community 117 - "get_web_auth_menu_codes"
Cohesion: 0.16
Nodes (17): parse_resource_snapshot(), Any, 运输计划 - 安排运输时车辆/人员/证件资源快照 Schema, 从 ORM 文本列或 dict 解析快照。, SnapshotCertRead, SnapshotPersonnelRow, TransportResourceSnapshot, build_personnel_summary() (+9 more)
### Community 117 - "price_letter_detail"
Cohesion: 0.17
Nodes (11): price_letter_add(), price_letter_detail(), price_letter_list(), price_letter_update(), price_letter_void(), PriceLetterCreateBody, PriceLetterDetailBody, PriceLetterListBody (+3 more)
### Community 118 - "Community 118"
Cohesion: 0.20
@@ -695,143 +689,123 @@ Nodes (24): batch_insert_contract_products(), calculate_subtotal(), _decimal_val
### Community 119 - "Community 119"
Cohesion: 0.12
Nodes (33): CertRow, _cert_row_complete(), collect_required_cert_errors(), _find_cert_for_required(), get_required_personnel_cert_names(), is_huolala_trailer_no(), match_required_cert_name(), _missing_field_labels() (+25 more)
Nodes (37): CertRow, _cert_row_complete(), collect_required_cert_errors(), _find_cert_for_required(), get_required_personnel_cert_names(), is_huolala_trailer_no(), match_required_cert_name(), _missing_field_labels() (+29 more)
### Community 120 - "sqlalchemy_exception_handler"
Cohesion: 0.07
Nodes (32): list_public_vehicle_plates(), Session, 地磅公共只读:免登车牌 options(现场填写页), 免登:按出入库/计划解析 tenant_no,返回 pl_vehicle 车牌(self + carrier)。, _resolve_tenant_no(), get_menu_list(), 运营端菜单接口(与 web-admin 前端静态路由 sqxp.ts 对齐,14 个一级菜单), operlog_detail() (+24 more)
Cohesion: 0.35
Nodes (9): business_type_from_path(), title_from_path(), get_oper_log(), _oper_log_row_in_scope(), _oper_status(), Any, Session, 操作日志:基于 sys_api_request_log 适配 RuoYi OperLog 视图 (+1 more)
### Community 121 - "Session"
Cohesion: 0.15
Nodes (22): day_detail(), delete_assignment(), duty_user_options(), _enrich_assign_names(), ensure_duty_dict(), month_summary(), Session, 指定用户时补全 personName(用 nick_name)。 (+14 more)
### Community 122 - "Community 122"
### Community 121 - "post.py"
Cohesion: 0.39
Nodes (10): create_post(), get_post(), list_posts(), post_code_exists(), Any, Session, _row_to_dict(), soft_delete_post() (+2 more)
### Community 122 - "site.py"
Cohesion: 0.39
Nodes (10): create_site(), get_site(), list_sites(), Any, Session, _row_to_dict(), site_code_exists(), soft_delete_site() (+2 more)
### Community 123 - "customer_options"
Cohesion: 0.25
Nodes (10): _cert_url_blank(), plan_has_hazard_product_exists(), plan_has_incomplete_hazard_cert_exists(), 证书 URL 为空(NULL / 空串 / 纯空白)。, 列表筛选:计划下存在 CRM 标识为易制毒/易制爆的产品。, 列表筛选:存在危化产品且至少一张必需证书未上传。, _compile(), 危化品证上传列表筛选:EXISTS 子查询应覆盖 CRM 危化标识与证书缺口。 (+2 more)
Cohesion: 0.15
Nodes (18): export_plans(), list_plans(), _plan_plate_match(), _plan_product_name_exists(), 列表展示用:优先 CRM 标准名(详情仍返回库内 product_name,以便编辑反推别名)。, 导出计划列表(当前筛选全量,或 ids 已选)。, _resolve_list_product_name(), PlanListResponse (+10 more)
### Community 124 - "datetime_parse.py"
Cohesion: 0.67
Nodes (3): parse_optional_plan_datetime(), datetime, 运输计划相关日期时间解析:前端 date-picker 仅传 YYYY-MM-DD。
### Community 125 - "build_annotated_result_bytes"
Cohesion: 0.24
Nodes (11): extract_minio_object_key(), join_relative_urls(), normalize_oss_storage_url(), MinIO 附件 URL 规范化(数据迁移共用)。 背景 ---- CRM / 地磅 / 报销与 shanxia2.0 共用同一 MinIO(bucket 默, 业务表 OSS ID 串 → 相对 URL 串(用于客户证照、跟进附件等)。, 去掉预签名 query(``?X-Amz-...``)。, 将绝对/相对 URL 规范为 MinIO object key(不含 bucket)。, 迁移 CRM ``sys_oss`` 行:``url`` + ``file_name`` → 门户相对路径。 (+3 more)
### Community 125 - "resolve_crm_product"
Cohesion: 0.27
Nodes (10): apply_product_snapshot_to_inventory(), ProductSnapshot, Session, 地磅模块 — CRM 产品解析与快照写入。, 校验 CRM 产品并返回名称/规格快照。新建单据 product_id 必填。 require_on_shelf=False 用于运输计划联动地磅等历, resolve_crm_product(), _product(), resolve_crm_product:运输联动场景允许已下架产品。 (+2 more)
### Community 126 - "customer_pool.py"
Cohesion: 0.36
Nodes (13): _build_tree(), _cascade_soft_delete(), create_menu(), get_menu(), list_menus(), list_menus_tree(), menu_name_exists(), Any (+5 more)
### Community 127 - "web_login_rsa_public_key"
Cohesion: 0.47
Nodes (8): create_oss(), get_oss_by_id(), get_oss_by_url(), Session, 按主键 id 查询附件(兼容旧 CRM 雪花 oss_id 迁入后的记录), 将 fileUrl 或旧 CRM 数字 ossId 解析为 MinIO 相对路径。 门户新上传把相对路径写入业务字段;迁入合同附件仍存数字 ossId, resolve_storage_path(), SysOss
### Community 127 - "allocate_next_biz_no"
Cohesion: 0.33
Nodes (8): allocate_next_biz_no(), _format_biz_no(), _prefix_for(), datetime, Session, 业务协议号自动生成:XBCC / JZCC + YYYYMMDD + 6 位序号, 原子分配下一个业务协议号。 须在 create 事务内调用;使用 MySQL LAST_INSERT_ID 保证并发安全。, BizNoKind
### Community 128 - "product_allowed"
Cohesion: 0.14
Nodes (19): list_products(), 分页查询产品列表 keyword 默认匹配:名称 / 编号 / 拼音首字母。 选择器场景可关闭编号匹配、开启规格型号匹配(避免短数字误命中产品, assert_products_allowed_for_supplier(), enrich_products_with_hazard_flags(), get_supplier_hazard_flags(), product_allowed(), Any, Session (+11 more)
Cohesion: 0.28
Nodes (11): assert_products_allowed_for_supplier(), enrich_products_with_hazard_flags(), get_supplier_hazard_flags(), product_allowed(), Any, Session, 批量回填明细行 isToxic/isExplosive(来自产品主数据,供前端切换主体剔除)。, test_dual_requires_both() (+3 more)
### Community 129 - "BaseStorage"
Cohesion: 0.12
Nodes (24): _auto_contract_name_body(), generate_contract_name(), 按面板单位全称精确匹配交易主体/客户主数据,取 shortName;对不上则用全称。, 前端预览误用单位全称时,名称片段会等于面板/客户/开票全称。, 按面板供方(partyA)-需方(partyB)生成:{供方简称}-{需方简称}({合同编号})。 - 名称为空:按主数据简称自动生成 - 名, resolve_party_short_name(), _strip_contract_name_no_suffix(), _user_contract_name_uses_party_full_name() (+16 more)
### Community 130 - ".to_tenant_user_dict"
Cohesion: 0.40
Nodes (3): Any, 供 get_tenant_no 等门户工具使用。, 与门户 JWT / apply_data_scope 所需的 user_info 字段对齐。
### Community 130 - "contact.py"
Cohesion: 0.25
Nodes (7): contact_add(), contact_delete(), contact_update(), ContactCreateBody, ContactDeleteBody, ContactUpdateBody, CRM 联系人 Pydantic Schemas
### Community 131 - "list_product_options"
Cohesion: 0.11
Nodes (17): 供方全量列表(下拉)— Java: CrmSupplierInfoController.listAll, 供方详情 — Java: CrmSupplierInfoController.getInfo, 新增供方 — Java: CrmSupplierInfoController.add, 修改供方 — Java: CrmSupplierInfoController.edit, 导出供方列表 — Java: CrmSupplierInfoController.export, supplier_info_add(), supplier_info_detail(), supplier_info_export() (+9 more)
### Community 131 - "customer_update"
Cohesion: 0.29
Nodes (5): customer_create(), customer_update(), customer_name_exists(), CustomerCreateBody, CustomerUpdateBody
### Community 132 - "context.py"
Cohesion: 0.23
Nodes (19): create_contact(), get_contact(), list_contacts_by_customer(), _parse_optional_date(), Any, date, Session, _row_to_dict() (+11 more)
### Community 133 - "opportunity_export"
Cohesion: 0.48
Nodes (7): _opp_list_kwargs(), opportunity_export(), opportunity_kanban(), opportunity_list(), opportunity_mine_list(), OpportunityKanbanBody, OpportunityListBody
### Community 134 - "response.py"
Cohesion: 0.29
Nodes (16): create_contact(), get_contact(), list_contacts_by_customer(), _parse_optional_date(), Any, date, Session, _row_to_dict() (+8 more)
Nodes (6): Config, format_api_error_message(), PageResult, Exception, 将 HTTP/SQLAlchemy 等异常转为可展示的错误文案(避免 str([]) 空列表)。, ResponseModel
### Community 133 - "product.py"
Cohesion: 0.12
Nodes (15): category_add(), category_delete(), category_tree(), category_update(), product_delete(), 删除产品(支持单条 body.id 和批量 body.ids), CategoryDeleteBody, ProductAliasItem (+7 more)
### Community 134 - "test_crm_approval_reedit.py"
Cohesion: 0.18
Nodes (14): can_user_approve(), invalidate_all_approvals(), 作废该合同全部有效审批记录(含已通过/已拒绝),用于再编辑或重新提审。, 顺序审批:当前步骤 pending 且 is_current=1。 同一审批人若同时存在历史已处理记录与当前轮 pending,优先取 pending, _approval(), 再编辑并重新提审后,历史审批记录不得阻塞当前轮审批。, 再提审后同审批人同时存在历史已通过 + 新 pending 时,应允许审批。, 编辑保存回草稿时须作废全部历史审批(含已通过),不能只删 pending。 (+6 more)
### Community 135 - "opportunity_follow.py"
Cohesion: 0.36
Nodes (15): create_opportunity_follow(), _ensure_parent_opportunity(), get_opportunity_follow(), list_follows_by_opportunity(), list_opportunity_follows(), _parse_optional_datetime(), Any, datetime (+7 more)
### Community 135 - "unsettled_plans_q_filter"
Cohesion: 0.50
Nodes (4): 简易搜索:计划编号 / 客户(供应商) / 车牌 / 承运商名称。, unsettled_plans_q_filter(), 未结算计划简易搜索:q 应覆盖计划编号/客户/车牌/承运商名称。, test_unsettled_plans_q_filter_includes_carrier_and_plate()
### Community 136 - "Community 136"
Cohesion: 0.19
Nodes (18): create_role(), get_role(), get_role_data_scope(), get_role_menu_ids(), list_roles(), Any, Session, 角色 CRUD(sys_role / sys_role_menu / sys_role_data_scope_detail) (+10 more)
### Community 137 - "statistics.py"
Cohesion: 0.35
Nodes (11): create_dict_type(), dict_type_code_exists(), get_dict_type(), list_dict_types(), Any, Session, 字典类型 CRUD(sys_dict_type), _row_to_dict() (+3 more)
### Community 137 - "customer_options"
Cohesion: 0.50
Nodes (4): customer_options(), 客户下拉选项(租户内只读,不做 owner 数据权限), CustomerOptionsBody, 客户下拉选项请求体(租户内只读搜索,不做 owner 数据权限)
### Community 138 - "Community 138"
Cohesion: 0.33
Nodes (19): check_python(), create_venv(), ensure_dirs(), ensure_valid_venv(), ensure_venv_and_runtime(), install_dependencies(), is_running(), log_error() (+11 more)
### Community 139 - "get_current_user_by_token"
Cohesion: 0.25
Nodes (13): get_storage(), download_file_bytes(), file_stream(), get_access_url(), get_download_url(), get_preview_url(), normalize_storage_path(), 报销附件存储适配 — 复用门户 app.core.storage,对外保持 bx 协议。 (+5 more)
### Community 140 - "utils.py"
Cohesion: 0.22
Nodes (10): get_current_time(), parse_datetime(), datetime, get_pool_record(), list_pool_records(), Any, Session, _row_to_dict() (+2 more)
Nodes (15): get_storage(), download_file_bytes(), file_stream(), get_access_url(), get_download_url(), get_preview_url(), normalize_storage_path(), 报销附件存储适配 — 复用门户 app.core.storage,对外保持 bx 协议。 (+7 more)
### Community 141 - "customer_follow.py"
Cohesion: 0.40
Nodes (12): create_follow(), _enrich_follow_dict(), get_follow(), list_follows(), list_follows_by_customer(), Any, Session, _row_to_dict() (+4 more)
### Community 142 - "price_letter_detail"
Cohesion: 0.20
Nodes (9): price_letter_add(), price_letter_detail(), price_letter_list(), price_letter_void(), PriceLetterCreateBody, PriceLetterDetailBody, PriceLetterListBody, PriceLetterVoidBody (+1 more)
### Community 143 - "opportunity_export"
Cohesion: 0.48
Nodes (7): _opp_list_kwargs(), opportunity_export(), opportunity_kanban(), opportunity_list(), opportunity_mine_list(), OpportunityKanbanBody, OpportunityListBody
### Community 144 - "dict_data.py"
Cohesion: 0.27
Nodes (11): create_dict_data(), get_dict_data(), list_dict_data(), list_dict_data_options(), Any, Session, 字典数据 CRUD(sys_dict_data), 字典下拉选项:租户主数据,忽略数据范围(user_info 保留兼容调用方,不参与过滤)。 (+3 more)
### Community 140 - "UserRole"
Cohesion: 0.67
Nodes (3): Web 管理端约定角色(由 sys_role.role_name 映射而来,非数据库枚举), UserRole, str
### Community 145 - "resolve_crm_product"
Cohesion: 0.14
Nodes (24): PlTransportProductBrandQty, PlTransportProductFeedback, 运输单按产品回传 pl_transport_product_feedback, 运输单产品回传品牌数量 pl_transport_product_brand_qty, _dict_field(), format_brand_qty_summary(), load_transport_driver_product_feedbacks(), persist_io_item_brand_qtys() (+16 more)
Cohesion: 0.09
Nodes (38): PlTransportProductBrandQty, PlTransportProductFeedback, 运输单按产品回传 pl_transport_product_feedback, 运输单产品回传品牌数量 pl_transport_product_brand_qty, load_brand_qtys_by_plan_product_ids(), persist_plan_product_brand_qtys(), Any, Decimal (+30 more)
### Community 147 - "Community 147"
Cohesion: 0.37
Nodes (17): check_env(), check_python(), create_venv(), init_env(), install_dependencies(), log_error(), log_info(), log_success() (+9 more)
### Community 148 - "get_db_current_user_optional"
Cohesion: 0.67
Nodes (3): get_db_current_user_optional(), Session, 有 Bearer 且为 admin/super_admin 时返回上下文,否则 None(供三方 H5 无登录调用)。
### Community 154 - "response.py"
Cohesion: 0.19
Nodes (7): _guess_preview_content_type(), MinIOStorage, Any, 从 MINIO_BASE_URL 解析公网 endpoint;未配置或与内网相同时复用 self.client。, 按对象键后缀推断内联预览 Content-Type(纠正上传时未写入 MIME 的情况)。, MinIO 预签名下载 URL,携带原始文件名。, MinIO 预签名内联预览 URL(图片新标签页 / PDF iframe 等)。 上传时 put_object 未写 content_typ
### Community 159 - "customer_update"
Cohesion: 0.28
Nodes (12): _expand_with_ancestor_menu_ids(), _granted_menu_ids_for_user(), iter_user_menu_perm_codes(), Session, Web 管理端登录:基于 V0.3 sys_user / sys_user_role / sys_role 的角色与菜单权限解析, 角色仅勾选按钮(F)时,补齐祖先 C/M 菜单 id,便于前端匹配 :list 路由。, 用户通过角色关联得到的菜单权限标识(sys_menu.perms,与前端 meta.menuCode 对齐)。, 用户是否在 sys_user_role 中绑定了至少一个有效角色。 (+4 more)
Cohesion: 0.18
Nodes (17): get_user_menu_codes(), Session, 读取用户授权的菜单权限标识集合(与前端 meta.menuCode / perms 对齐)。, _expand_with_ancestor_menu_ids(), _granted_menu_ids_for_user(), iter_user_menu_perm_codes(), _map_role_name_to_web(), Session (+9 more)
### Community 162 - ".to_tenant_user_dict"
Cohesion: 0.42
Nodes (7): default_settlement_clause(), test_advance_payment_clause(), test_arrive_payment_clause(), test_empty_falls_back_to_arrive(), test_monthly_settlement_clause_uses_label(), test_unknown_falls_back_to_arrive(), test_volume_quarterly_other_labels()
### Community 164 - "get_client_ip"
Cohesion: 0.13
Nodes (25): logout(), 登出:吊销 Redis 会话(若已配置 REDIS_HOST)。无 Token 或已失效时仍返回成功(幂等)。, decode_token(), extend_session(), get_client_ip(), get_current_user(), get_current_user_by_token(), get_current_user_simple() (+17 more)
Cohesion: 0.09
Nodes (48): _avatar_url_field(), _build_user_info_payload(), change_current_user_password(), get_current_user_profile(), get_web_auth_menu_codes(), _jwt_user_payload(), logout(), public_quote_share() (+40 more)
### Community 170 - "test_quote_approver_setting.py"
Cohesion: 0.08
Nodes (10): BaseStorage, convert_heic_to_jpeg(), OSSStorage, process_image_content(), QiniuStorage, 文件存储工具模块 支持多种存储方式: 1. 本地存储 (local) - 默认 2. 七牛云存储 (qiniu) - 推荐生产环境使用 3. 阿里云OSS (, 带下载文件名的访问 URL;默认实现为普通访问地址。, 浏览器内联预览 URL;默认实现为普通访问地址。 (+2 more)
Cohesion: 0.11
Nodes (7): convert_heic_to_jpeg(), OSSStorage, process_image_content(), QiniuStorage, 文件存储工具模块 支持多种存储方式: 1. 本地存储 (local) - 默认 2. 七牛云存储 (qiniu) - 推荐生产环境使用 3. 阿里云OSS (, 将 HEIC/HEIF 格式转换为 JPEG 格式, 处理图片内容,如果是 HEIC 格式则转换为 JPEG
### Community 173 - "resolve_create_time_bounds"
Cohesion: 0.09
Nodes (67): get_plan_arrange_info(), 获取计划已安排运输后的司机链接与地磅出入库关联(供查看弹窗复制简述/二维码)。, _apply_plan_logistics_from_payload(), _apply_transport_arrange_fields(), arrange_transport(), _assert_vehicle_carrier_eligible(), _build_arrange_result(), _build_driver_url() (+59 more)
Cohesion: 0.07
Nodes (70): _build_driver_url(), get_plan_arrange_info(), 获取计划已安排运输后的司机链接与地磅出入库关联(供查看弹窗复制简述/二维码)。, _resolve_other_personnel(), _apply_plan_logistics_from_payload(), _apply_transport_arrange_fields(), arrange_transport(), _assert_vehicle_carrier_eligible() (+62 more)
### Community 179 - "test_pl_vehicle_personnel_photo_schema.py"
Cohesion: 0.27
@@ -846,8 +820,8 @@ Cohesion: 0.18
Nodes (10): 1. 创建虚拟环境, 2. 安装依赖, 3. 配置环境变量, 4. 启动服务, API 路由分组, shanxia2.0 后端骨架(FastAPI), 开发规范, 快速开始 (+2 more)
### Community 220 - "api_crypto_middleware.py"
Cohesion: 0.21
Nodes (15): ApiCryptoMiddleware, _claims_from_auth(), _coerce_post_method_override_to_get(), _get_redis_client(), _is_crypto_api(), _json_error_response(), _mark_nonce_once(), _nonce_key() (+7 more)
Cohesion: 0.14
Nodes (23): ApiCryptoMiddleware, _claims_from_auth(), _coerce_post_method_override_to_get(), _get_redis_client(), _is_crypto_api(), _json_error_response(), _mark_nonce_once(), _nonce_key() (+15 more)
### Community 237 - "order_status_compat.py"
Cohesion: 0.36
@@ -864,22 +838,22 @@ Nodes (6): eq_unicode(), like_unicode(), MySQL 字符串比较/模糊匹配时
## Knowledge Gaps
- **30 isolated node(s):** `Config`, `Config`, `Config`, `Config`, `Config` (+25 more)
These have ≤1 connection - possible missing edges or undocumented components.
- **16 thin communities (<3 nodes) omitted from report** — run `graphify query` to explore isolated nodes.
- **15 thin communities (<3 nodes) omitted from report** — run `graphify query` to explore isolated nodes.
## Suggested Questions
_Questions this graph is uniquely positioned to answer:_
- **Why does `generate_uuid()` connect `Community 56` to `Community 0`, `context.py`, `Community 5`, `Community 6`, `Community 4`, `opportunity_follow.py`, `Community 8`, `statistics.py`, `Community 136`, `utils.py`, `customer_follow.py`, `Community 14`, `Community 15`, `dict_data.py`, `Community 17`, `resolve_crm_product`, `Community 19`, `Community 16`, `Community 21`, `Community 23`, `Community 24`, `Community 25`, `Community 26`, `Community 28`, `Community 29`, `Community 32`, `Community 33`, `Community 36`, `Community 39`, `Community 40`, `Community 41`, `Community 43`, `resolve_create_time_bounds`, `Community 47`, `Community 50`, `Community 51`, `Community 55`, `Community 11`, `Community 58`, `Community 60`, `Community 62`, `Community 64`, `Community 65`, `Community 67`, `Community 68`, `Community 72`, `Community 74`, `apply_crm_create_by_scope`, `opportunity_follow.py`, `storage.py`, `Community 83`, `Community 86`, `Community 87`, `pl_ocr_service.py`, `opportunity_product.py`, `Community 92`, `test_pl_public_link_archived.py`, `LocalStorage`, `redis_client.py`, `crm_supplier_hazard.py`, `apply_crm_create_by_scope`, `apply_pl_scope`, `Community 116`, `Community 118`, `Community 122`, `customer_pool.py`, `web_login_rsa_public_key`?**
_High betweenness centrality (0.131) - this node is a cross-community bridge._
- **Why does `BaseModel` connect `Community 12` to `Community 1`, `Community 2`, `list_product_options`, `product.py`, `Community 5`, `Community 7`, `Community 10`, `Community 11`, `Community 13`, `Community 14`, `Community 15`, `opportunity_export`, `price_letter_detail`, `Community 18`, `Community 16`, `Community 20`, `Community 23`, `Community 27`, `Community 32`, `Community 40`, `Community 43`, `Community 44`, `Community 45`, `resolve_create_time_bounds`, `Community 47`, `Community 50`, `Community 51`, `Community 54`, `Community 57`, `Community 62`, `Community 63`, `Community 64`, `Community 65`, `Community 74`, `apply_crm_create_by_scope`, `customer_follow.py`, `Community 83`, `CrmProduct`, `minio_url.py`, `contact.py`, `tenant.py`, `site.py`, `_ensure_subpack_slip_no`, `site.py`, `get_web_auth_menu_codes`, `Community 119`, `sqlalchemy_exception_handler`, `Session`?**
_High betweenness centrality (0.103) - this node is a cross-community bridge._
- **Why does `get_tenant_no()` connect `Community 7` to `Community 0`, `Community 1`, `list_product_options`, `product.py`, `Community 5`, `Community 10`, `Community 11`, `Community 12`, `Community 13`, `Community 14`, `Community 15`, `opportunity_export`, `price_letter_detail`, `Community 18`, `Community 16`, `Community 20`, `Community 23`, `Community 27`, `Community 32`, `Community 39`, `Community 40`, `Community 43`, `resolve_create_time_bounds`, `Community 46`, `Community 49`, `Community 50`, `Community 51`, `Community 54`, `Community 58`, `Community 62`, `Community 63`, `Community 64`, `Community 65`, `Community 74`, `apply_crm_create_by_scope`, `Community 83`, `contact.py`, `crm_supplier_hazard.py`, `site.py`, `_ensure_subpack_slip_no`, `quote_share_log.py`, `sqlalchemy_exception_handler`?**
_High betweenness centrality (0.091) - this node is a cross-community bridge._
- **Are the 8 inferred relationships involving `DbUserContext` (e.g. with `InventoryRelatedData` and `AutoGenerateMonthlyResult`) actually correct?**
_`DbUserContext` has 8 INFERRED edges - model-reasoned connections that need verification._
- **Why does `generate_uuid()` connect `redis_client.py` to `context.py`, `Community 5`, `Community 6`, `Community 4`, `Community 8`, `Community 136`, `Community 11`, `Community 14`, `Community 15`, `Community 16`, `Community 17`, `Community 18`, `Community 19`, `resolve_crm_product`, `Community 21`, `Community 24`, `Community 25`, `Community 26`, `Community 28`, `Community 31`, `Community 32`, `Community 33`, `Community 34`, `get_client_ip`, `Community 39`, `Community 40`, `Community 43`, `resolve_create_time_bounds`, `Community 46`, `Community 47`, `Community 51`, `Community 54`, `Community 56`, `Community 60`, `Community 61`, `Community 64`, `Community 65`, `Community 67`, `Community 72`, `Community 74`, `apply_crm_create_by_scope`, `opportunity_follow.py`, `Community 83`, `Community 87`, `CrmProduct`, `pl_ocr_service.py`, `opportunity_product.py`, `Community 92`, `test_pl_public_link_archived.py`, `LocalStorage`, `crm_supplier_hazard.py`, `apply_crm_create_by_scope`, `pool_customer_assign`, `site.py`, `apply_pl_scope`, `list_duty_staff_users`, `dict_data.py`, `dict_type.py`, `Community 116`, `Community 118`, `post.py`, `site.py`, `customer_pool.py`, `allocate_next_biz_no`?**
_High betweenness centrality (0.139) - this node is a cross-community bridge._
- **Why does `BaseModel` connect `Community 12` to `Community 1`, `Community 2`, `contact.py`, `customer_update`, `opportunity_export`, `response.py`, `Community 7`, `Community 5`, `customer_options`, `Community 10`, `Community 11`, `Community 13`, `Community 14`, `Community 15`, `Community 16`, `Community 17`, `Community 18`, `Community 20`, `Community 26`, `Community 27`, `Community 37`, `Community 40`, `Community 41`, `Community 43`, `Community 45`, `resolve_create_time_bounds`, `Community 47`, `Community 49`, `Community 50`, `Community 51`, `Community 52`, `Community 54`, `Community 55`, `Community 56`, `Community 57`, `Community 62`, `Community 63`, `Community 64`, `Community 65`, `Community 71`, `Community 74`, `opportunity_follow.py`, `Community 78`, `customer_follow.py`, `storage.py`, `test_pl_public_link_archived.py`, `redis_client.py`, `tenant.py`, `crm_supplier_hazard.py`, `site.py`, `apply_pl_scope`, `monitor.py`, `.to_tenant_user_dict`, `site.py`, `price_letter_detail`, `Community 119`, `customer_options`?**
_High betweenness centrality (0.104) - this node is a cross-community bridge._
- **Why does `Settings` connect `price_letter_detail` to `Community 35`, `Community 36`, `Community 67`, `Community 38`, `Community 70`, `Community 73`, `Community 42`, `statistics.py`, `Community 48`, `Community 53`, `Community 59`, `Community 30`?**
_High betweenness centrality (0.094) - this node is a cross-community bridge._
- **Are the 30 inferred relationships involving `DbUserContext` (e.g. with `InventoryExportBody` and `InventoryRelatedData`) actually correct?**
_`DbUserContext` has 30 INFERRED edges - model-reasoned connections that need verification._
- **What connects `API 路由包 — 山峡化工生产一体化门户`, `返回运营端角色下拉选项(label=库中角色名,value=Web 角色码)。`, `返回用户下拉选项(label=昵称,value=用户ID,附带 nickName/userNo)。 供申请人/审批人等选择场景使用,返回本租户全部有效` to the rest of the system?**
_582 weakly-connected nodes found - possible documentation gaps or missing edges._
- **Should `Community 0` be split into smaller, more focused modules?**
_Cohesion score 0.11980676328502415 - nodes in this community are weakly interconnected._
_610 weakly-connected nodes found - possible documentation gaps or missing edges._
- **Should `Community 1` be split into smaller, more focused modules?**
_Cohesion score 0.09009009009009009 - nodes in this community are weakly interconnected._
_Cohesion score 0.06666666666666667 - nodes in this community are weakly interconnected._
- **Should `Community 2` be split into smaller, more focused modules?**
_Cohesion score 0.09292929292929293 - nodes in this community are weakly interconnected._
@@ -0,0 +1 @@
{"nodes": [{"id": "users_wuzilong_work_00code_shanxia2_0_backend_app_schemas_pl_freight_py", "label": "freight.py", "file_type": "code", "source_file": "app/schemas/pl/freight.py", "source_location": "L1"}, {"id": "users_wuzilong_work_00code_shanxia2_0_backend_app_schemas_pl_freight_freightsettlementbase", "label": "FreightSettlementBase", "file_type": "code", "source_file": "app/schemas/pl/freight.py", "source_location": "L14"}, {"id": "basemodel", "label": "BaseModel", "file_type": "code", "source_file": "", "source_location": ""}, {"id": "users_wuzilong_work_00code_shanxia2_0_backend_app_schemas_pl_freight_freightsettlementcreate", "label": "FreightSettlementCreate", "file_type": "code", "source_file": "app/schemas/pl/freight.py", "source_location": "L26"}, {"id": "users_wuzilong_work_00code_shanxia2_0_backend_app_schemas_pl_freight_freightsettlementcreate_check_ids", "label": ".check_ids()", "file_type": "code", "source_file": "app/schemas/pl/freight.py", "source_location": "L32"}, {"id": "users_wuzilong_work_00code_shanxia2_0_backend_app_schemas_pl_freight_freightsettlementupdate", "label": "FreightSettlementUpdate", "file_type": "code", "source_file": "app/schemas/pl/freight.py", "source_location": "L38"}, {"id": "users_wuzilong_work_00code_shanxia2_0_backend_app_schemas_pl_freight_freightsettlementread", "label": "FreightSettlementRead", "file_type": "code", "source_file": "app/schemas/pl/freight.py", "source_location": "L50"}, {"id": "users_wuzilong_work_00code_shanxia2_0_backend_app_schemas_pl_freight_freightsettlementlistitem", "label": "FreightSettlementListItem", "file_type": "code", "source_file": "app/schemas/pl/freight.py", "source_location": "L64"}, {"id": "users_wuzilong_work_00code_shanxia2_0_backend_app_schemas_pl_freight_freightsettlementtransportread", "label": "FreightSettlementTransportRead", "file_type": "code", "source_file": "app/schemas/pl/freight.py", "source_location": "L78"}, {"id": "users_wuzilong_work_00code_shanxia2_0_backend_app_schemas_pl_freight_unsettledplanitem", "label": "UnsettledPlanItem", "file_type": "code", "source_file": "app/schemas/pl/freight.py", "source_location": "L88"}, {"id": "users_wuzilong_work_00code_shanxia2_0_backend_app_schemas_pl_freight_unsettledplanlistresponse", "label": "UnsettledPlanListResponse", "file_type": "code", "source_file": "app/schemas/pl/freight.py", "source_location": "L108"}, {"id": "users_wuzilong_work_00code_shanxia2_0_backend_app_schemas_pl_freight_settlementplansummary", "label": "SettlementPlanSummary", "file_type": "code", "source_file": "app/schemas/pl/freight.py", "source_location": "L113"}, {"id": "users_wuzilong_work_00code_shanxia2_0_backend_app_schemas_pl_freight_settlementapprovalflowitem", "label": "SettlementApprovalFlowItem", "file_type": "code", "source_file": "app/schemas/pl/freight.py", "source_location": "L122"}, {"id": "users_wuzilong_work_00code_shanxia2_0_backend_app_schemas_pl_freight_freightsettlementwithtransports", "label": "FreightSettlementWithTransports", "file_type": "code", "source_file": "app/schemas/pl/freight.py", "source_location": "L136"}, {"id": "users_wuzilong_work_00code_shanxia2_0_backend_app_schemas_pl_freight_freightsettlementsubmitapprovalbody", "label": "FreightSettlementSubmitApprovalBody", "file_type": "code", "source_file": "app/schemas/pl/freight.py", "source_location": "L154"}, {"id": "users_wuzilong_work_00code_shanxia2_0_backend_app_schemas_pl_freight_freightsettlementapprovalactionbody", "label": "FreightSettlementApprovalActionBody", "file_type": "code", "source_file": "app/schemas/pl/freight.py", "source_location": "L161"}, {"id": "users_wuzilong_work_00code_shanxia2_0_backend_app_schemas_pl_freight_freightsettlementdisbursebody", "label": "FreightSettlementDisburseBody", "file_type": "code", "source_file": "app/schemas/pl/freight.py", "source_location": "L166"}, {"id": "users_wuzilong_work_00code_shanxia2_0_backend_app_schemas_pl_freight_remittancevouchercreate", "label": "RemittanceVoucherCreate", "file_type": "code", "source_file": "app/schemas/pl/freight.py", "source_location": "L179"}, {"id": "users_wuzilong_work_00code_shanxia2_0_backend_app_schemas_pl_freight_remittancevoucherread", "label": "RemittanceVoucherRead", "file_type": "code", "source_file": "app/schemas/pl/freight.py", "source_location": "L188"}, {"id": "users_wuzilong_work_00code_shanxia2_0_backend_app_schemas_pl_freight_freightsettlementlistquery", "label": "FreightSettlementListQuery", "file_type": "code", "source_file": "app/schemas/pl/freight.py", "source_location": "L207"}, {"id": "users_wuzilong_work_00code_shanxia2_0_backend_app_schemas_pl_freight_freightsettlementlistresponse", "label": "FreightSettlementListResponse", "file_type": "code", "source_file": "app/schemas/pl/freight.py", "source_location": "L216"}, {"id": "users_wuzilong_work_00code_shanxia2_0_backend_app_schemas_pl_freight_freightsettlementbytransportread", "label": "FreightSettlementByTransportRead", "file_type": "code", "source_file": Line truncated
@@ -0,0 +1 @@
{"nodes": [{"id": "users_wuzilong_work_00code_shanxia2_0_backend_tests_test_excel_export_helpers_py", "label": "test_excel_export_helpers.py", "file_type": "code", "source_file": "tests/test_excel_export_helpers.py", "source_location": "L1"}, {"id": "users_wuzilong_work_00code_shanxia2_0_backend_tests_test_excel_export_helpers_test_filter_export_columns_keeps_order_and_ignores_unknown", "label": "test_filter_export_columns_keeps_order_and_ignores_unknown()", "file_type": "code", "source_file": "tests/test_excel_export_helpers.py", "source_location": "L19"}, {"id": "users_wuzilong_work_00code_shanxia2_0_backend_tests_test_excel_export_helpers_test_filter_export_columns_none_returns_all", "label": "test_filter_export_columns_none_returns_all()", "file_type": "code", "source_file": "tests/test_excel_export_helpers.py", "source_location": "L24"}, {"id": "users_wuzilong_work_00code_shanxia2_0_backend_tests_test_excel_export_helpers_test_assert_export_row_count_empty", "label": "test_assert_export_row_count_empty()", "file_type": "code", "source_file": "tests/test_excel_export_helpers.py", "source_location": "L29"}, {"id": "users_wuzilong_work_00code_shanxia2_0_backend_tests_test_excel_export_helpers_test_assert_export_row_count_over_limit", "label": "test_assert_export_row_count_over_limit()", "file_type": "code", "source_file": "tests/test_excel_export_helpers.py", "source_location": "L35"}, {"id": "users_wuzilong_work_00code_shanxia2_0_backend_tests_test_excel_export_helpers_test_assert_export_row_count_ok", "label": "test_assert_export_row_count_ok()", "file_type": "code", "source_file": "tests/test_excel_export_helpers.py", "source_location": "L41"}], "edges": [{"source": "users_wuzilong_work_00code_shanxia2_0_backend_tests_test_excel_export_helpers_py", "target": "pytest", "relation": "imports", "context": "import", "confidence": "EXTRACTED", "source_file": "tests/test_excel_export_helpers.py", "source_location": "L1", "weight": 1.0}, {"source": "users_wuzilong_work_00code_shanxia2_0_backend_tests_test_excel_export_helpers_py", "target": "app_utils_excel_export", "relation": "imports_from", "context": "import", "confidence": "EXTRACTED", "source_file": "tests/test_excel_export_helpers.py", "source_location": "L3", "weight": 1.0}, {"source": "users_wuzilong_work_00code_shanxia2_0_backend_tests_test_excel_export_helpers_py", "target": "users_wuzilong_work_00code_shanxia2_0_backend_tests_test_excel_export_helpers_test_filter_export_columns_keeps_order_and_ignores_unknown", "relation": "contains", "confidence": "EXTRACTED", "source_file": "tests/test_excel_export_helpers.py", "source_location": "L19", "weight": 1.0}, {"source": "users_wuzilong_work_00code_shanxia2_0_backend_tests_test_excel_export_helpers_py", "target": "users_wuzilong_work_00code_shanxia2_0_backend_tests_test_excel_export_helpers_test_filter_export_columns_none_returns_all", "relation": "contains", "confidence": "EXTRACTED", "source_file": "tests/test_excel_export_helpers.py", "source_location": "L24", "weight": 1.0}, {"source": "users_wuzilong_work_00code_shanxia2_0_backend_tests_test_excel_export_helpers_py", "target": "users_wuzilong_work_00code_shanxia2_0_backend_tests_test_excel_export_helpers_test_assert_export_row_count_empty", "relation": "contains", "confidence": "EXTRACTED", "source_file": "tests/test_excel_export_helpers.py", "source_location": "L29", "weight": 1.0}, {"source": "users_wuzilong_work_00code_shanxia2_0_backend_tests_test_excel_export_helpers_py", "target": "users_wuzilong_work_00code_shanxia2_0_backend_tests_test_excel_export_helpers_test_assert_export_row_count_over_limit", "relation": "contains", "confidence": "EXTRACTED", "source_file": "tests/test_excel_export_helpers.py", "source_location": "L35", "weight": 1.0}, {"source": "users_wuzilong_work_00code_shanxia2_0_backend_tests_test_excel_export_helpers_py", "target": "users_wuzilong_work_00code_shanxia2_0_backend_tests_test_excel_export_helpers_test_assert_export_row_count_ok", "relation": "contains", "confidence": "EXTRACTED", "source_file": "tests/test_excel_export_helpers.py", "source_location": "L41", "weight": 1.0}], "raw_calls": [{"caller_nid": "users_wuzilong_work_00code_shanxia2_0_backend_tests_test_excel_export_helpers_test_filter_export_columns_keeps_order_and_ignores_unknown", "callee": "filter_export_columns", "is_member_call": false, "source_file": "/Users/wuzilong/work/00code/shanxia2.0/backend/tests/test_excel_export_helpers.py", "source_location": "L20", "receiver": null}, {"caller_nid": "users_wuzilong_work_00code_shanxia2_0_backend_tests_test_excel_export_helpers_test_filter_export_columns_keeps_order_and_ignores_unknown", "callee": "COLS", "is_member_call": false, "indirect": true, "context": "argument", "source_file": "/Users/wuzilong/work/00code/shanxia2.0/backend/tests/test_excel_export_helpers.py", "source_location": "L20"}, {"caller_nid": "users_wuzilong_work_00code_shanxia2_0_backend_tests_test_excel_export_helpers_test_filter_export_columLine truncated
@@ -0,0 +1 @@
{"nodes": [{"id": "users_wuzilong_work_00code_shanxia2_0_backend_app_api_pl_public_io_order_py", "label": "public_io_order.py", "file_type": "code", "source_file": "app/api/pl/public_io_order.py", "source_location": "L1"}, {"id": "users_wuzilong_work_00code_shanxia2_0_backend_app_api_pl_public_io_order_resolve_unit_label", "label": "_resolve_unit_label()", "file_type": "code", "source_file": "app/api/pl/public_io_order.py", "source_location": "L51"}, {"id": "users_wuzilong_work_00code_shanxia2_0_backend_app_api_pl_public_io_order_models", "label": "_models()", "file_type": "code", "source_file": "app/api/pl/public_io_order.py", "source_location": "L58"}, {"id": "users_wuzilong_work_00code_shanxia2_0_backend_app_api_pl_public_io_order_get_by_token", "label": "_get_by_token()", "file_type": "code", "source_file": "app/api/pl/public_io_order.py", "source_location": "L64"}, {"id": "session", "label": "Session", "file_type": "code", "source_file": "", "source_location": "", "origin_file": "/Users/wuzilong/work/00code/shanxia2.0/backend/app/api/pl/public_io_order.py"}, {"id": "users_wuzilong_work_00code_shanxia2_0_backend_app_api_pl_public_io_order_resolve_io_order_link_flags", "label": "_resolve_io_order_link_flags()", "file_type": "code", "source_file": "app/api/pl/public_io_order.py", "source_location": "L82"}, {"id": "plplan", "label": "PlPlan", "file_type": "code", "source_file": "", "source_location": "", "origin_file": "/Users/wuzilong/work/00code/shanxia2.0/backend/app/api/pl/public_io_order.py"}, {"id": "users_wuzilong_work_00code_shanxia2_0_backend_app_api_pl_public_io_order_parse_history_date", "label": "_parse_history_date()", "file_type": "code", "source_file": "app/api/pl/public_io_order.py", "source_location": "L89"}, {"id": "date", "label": "date", "file_type": "code", "source_file": "", "source_location": "", "origin_file": "/Users/wuzilong/work/00code/shanxia2.0/backend/app/api/pl/public_io_order.py"}, {"id": "users_wuzilong_work_00code_shanxia2_0_backend_app_api_pl_public_io_order_history_status_label", "label": "_history_status_label()", "file_type": "code", "source_file": "app/api/pl/public_io_order.py", "source_location": "L99"}, {"id": "users_wuzilong_work_00code_shanxia2_0_backend_app_api_pl_public_io_order_query_kind_history", "label": "_query_kind_history()", "file_type": "code", "source_file": "app/api/pl/public_io_order.py", "source_location": "L109"}, {"id": "users_wuzilong_work_00code_shanxia2_0_backend_app_api_pl_public_io_order_build_history_page", "label": "_build_history_page()", "file_type": "code", "source_file": "app/api/pl/public_io_order.py", "source_location": "L173"}, {"id": "publicioorderhistorypageread", "label": "PublicIoOrderHistoryPageRead", "file_type": "code", "source_file": "", "source_location": "", "origin_file": "/Users/wuzilong/work/00code/shanxia2.0/backend/app/api/pl/public_io_order.py"}, {"id": "users_wuzilong_work_00code_shanxia2_0_backend_app_api_pl_public_io_order_attach_history_products", "label": "_attach_history_products()", "file_type": "code", "source_file": "app/api/pl/public_io_order.py", "source_location": "L211"}, {"id": "publicioorderhistoryrecordread", "label": "PublicIoOrderHistoryRecordRead", "file_type": "code", "source_file": "", "source_location": "", "origin_file": "/Users/wuzilong/work/00code/shanxia2.0/backend/app/api/pl/public_io_order.py"}, {"id": "users_wuzilong_work_00code_shanxia2_0_backend_app_api_pl_public_io_order_build_page", "label": "_build_page()", "file_type": "code", "source_file": "app/api/pl/public_io_order.py", "source_location": "L301"}, {"id": "users_wuzilong_work_00code_shanxia2_0_backend_app_api_pl_public_io_order_format_file_size", "label": "_format_file_size()", "file_type": "code", "source_file": "app/api/pl/public_io_order.py", "source_location": "L313"}, {"id": "users_wuzilong_work_00code_shanxia2_0_backend_app_api_pl_public_io_order_make_handlers", "label": "_make_handlers()", "file_type": "code", "source_file": "app/api/pl/public_io_order.py", "source_location": "L321"}, {"id": "users_wuzilong_work_00code_shanxia2_0_backend_app_api_pl_public_io_order_rationale_1", "label": "\u8fd0\u8f93\u8ba1\u5212 \u00b7 \u5165\u5e93/\u51fa\u5e93\u5355\u73b0\u573a\u514d\u767b\u5f55\u516c\u5171 API", "file_type": "rationale", "source_file": "app/api/pl/public_io_order.py", "source_location": "L1"}, {"id": "users_wuzilong_work_00code_shanxia2_0_backend_app_api_pl_public_io_order_rationale_83", "label": "\u8fd4\u56de (\u4f5c\u5e9f, \u5f52\u6863)\u3002\u73b0\u573a\u94fe\u63a5\u5b9e\u9645\u8d70\u5165\u5e93/\u51fa\u5e93\u5355\u516c\u5171\u9875\u3002", "file_type": "rationale", "source_file": "app/api/pl/public_io_order.py", "source_location": "L83"}, {"id": "users_wuzilong_work_00code_shanxia2_0_backend_app_api_pl_public_io_order_rationale_117", "label": "\u8fd4\u56de [(create_time, PublicIoOrderHistoryRecordRead), ...]\u3002", "file_type": "rationale", "source_file": "app/api/pl/public_io_order.py", "source_location": "L117"}], Line truncated
@@ -0,0 +1 @@
{"nodes": [{"id": "users_wuzilong_work_00code_shanxia2_0_backend_app_crud_post_py", "label": "post.py", "file_type": "code", "source_file": "app/crud/post.py", "source_location": "L1"}, {"id": "users_wuzilong_work_00code_shanxia2_0_backend_app_crud_post_row_to_dict", "label": "_row_to_dict()", "file_type": "code", "source_file": "app/crud/post.py", "source_location": "L16"}, {"id": "syspost", "label": "SysPost", "file_type": "code", "source_file": "", "source_location": "", "origin_file": "/Users/wuzilong/work/00code/shanxia2.0/backend/app/crud/post.py"}, {"id": "any", "label": "Any", "file_type": "code", "source_file": "", "source_location": "", "origin_file": "/Users/wuzilong/work/00code/shanxia2.0/backend/app/crud/post.py"}, {"id": "users_wuzilong_work_00code_shanxia2_0_backend_app_crud_post_list_posts", "label": "list_posts()", "file_type": "code", "source_file": "app/crud/post.py", "source_location": "L31"}, {"id": "session", "label": "Session", "file_type": "code", "source_file": "", "source_location": "", "origin_file": "/Users/wuzilong/work/00code/shanxia2.0/backend/app/crud/post.py"}, {"id": "users_wuzilong_work_00code_shanxia2_0_backend_app_crud_post_get_post", "label": "get_post()", "file_type": "code", "source_file": "app/crud/post.py", "source_location": "L69"}, {"id": "users_wuzilong_work_00code_shanxia2_0_backend_app_crud_post_post_code_exists", "label": "post_code_exists()", "file_type": "code", "source_file": "app/crud/post.py", "source_location": "L77"}, {"id": "users_wuzilong_work_00code_shanxia2_0_backend_app_crud_post_create_post", "label": "create_post()", "file_type": "code", "source_file": "app/crud/post.py", "source_location": "L84"}, {"id": "users_wuzilong_work_00code_shanxia2_0_backend_app_crud_post_update_post", "label": "update_post()", "file_type": "code", "source_file": "app/crud/post.py", "source_location": "L121"}, {"id": "users_wuzilong_work_00code_shanxia2_0_backend_app_crud_post_soft_delete_post", "label": "soft_delete_post()", "file_type": "code", "source_file": "app/crud/post.py", "source_location": "L158"}, {"id": "users_wuzilong_work_00code_shanxia2_0_backend_app_crud_post_total_pages", "label": "total_pages()", "file_type": "code", "source_file": "app/crud/post.py", "source_location": "L169"}], "edges": [{"source": "users_wuzilong_work_00code_shanxia2_0_backend_app_crud_post_py", "target": "math", "relation": "imports", "context": "import", "confidence": "EXTRACTED", "source_file": "app/crud/post.py", "source_location": "L4", "weight": 1.0}, {"source": "users_wuzilong_work_00code_shanxia2_0_backend_app_crud_post_py", "target": "datetime", "relation": "imports_from", "context": "import", "confidence": "EXTRACTED", "source_file": "app/crud/post.py", "source_location": "L5", "weight": 1.0}, {"source": "users_wuzilong_work_00code_shanxia2_0_backend_app_crud_post_py", "target": "typing", "relation": "imports_from", "context": "import", "confidence": "EXTRACTED", "source_file": "app/crud/post.py", "source_location": "L6", "weight": 1.0}, {"source": "users_wuzilong_work_00code_shanxia2_0_backend_app_crud_post_py", "target": "sqlalchemy", "relation": "imports_from", "context": "import", "confidence": "EXTRACTED", "source_file": "app/crud/post.py", "source_location": "L8", "weight": 1.0}, {"source": "users_wuzilong_work_00code_shanxia2_0_backend_app_crud_post_py", "target": "sqlalchemy_orm", "relation": "imports_from", "context": "import", "confidence": "EXTRACTED", "source_file": "app/crud/post.py", "source_location": "L9", "weight": 1.0}, {"source": "users_wuzilong_work_00code_shanxia2_0_backend_app_crud_post_py", "target": "app_core_delete_guard", "relation": "imports_from", "context": "import", "confidence": "EXTRACTED", "source_file": "app/crud/post.py", "source_location": "L11", "weight": 1.0}, {"source": "users_wuzilong_work_00code_shanxia2_0_backend_app_crud_post_py", "target": "app_core_utils", "relation": "imports_from", "context": "import", "confidence": "EXTRACTED", "source_file": "app/crud/post.py", "source_location": "L12", "weight": 1.0}, {"source": "users_wuzilong_work_00code_shanxia2_0_backend_app_crud_post_py", "target": "app_models_models", "relation": "imports_from", "context": "import", "confidence": "EXTRACTED", "source_file": "app/crud/post.py", "source_location": "L13", "weight": 1.0}, {"source": "users_wuzilong_work_00code_shanxia2_0_backend_app_crud_post_py", "target": "users_wuzilong_work_00code_shanxia2_0_backend_app_crud_post_row_to_dict", "relation": "contains", "confidence": "EXTRACTED", "source_file": "app/crud/post.py", "source_location": "L16", "weight": 1.0}, {"source": "users_wuzilong_work_00code_shanxia2_0_backend_app_crud_post_row_to_dict", "target": "syspost", "relation": "references", "context": "parameter_type", "confidence": "EXTRACTED", "source_file": "app/crud/post.py", "source_location": "L16", "weight": 1.0}, {"source": "users_wuzilong_work_00code_shanxia2_0_backend_app_crud_post_row_to_dict", "target": "any", "relation": "refereLine truncated
@@ -0,0 +1 @@
{"nodes": [{"id": "users_wuzilong_work_00code_shanxia2_0_backend_app_api_crm_contract_routes_py", "label": "crm_contract_routes.py", "file_type": "code", "source_file": "app/api/crm_contract_routes.py", "source_location": "L1"}, {"id": "users_wuzilong_work_00code_shanxia2_0_backend_app_api_crm_contract_routes_register_contract_routes", "label": "register_contract_routes()", "file_type": "code", "source_file": "app/api/crm_contract_routes.py", "source_location": "L83"}, {"id": "users_wuzilong_work_00code_shanxia2_0_backend_app_api_crm_contract_routes_rationale_1", "label": "CRM \u5408\u540c API \u8def\u7531 \u2014 GET/PUT/DELETE/POST \u5bf9\u9f50\u539f Java CRM", "file_type": "rationale", "source_file": "app/api/crm_contract_routes.py", "source_location": "L1"}], "edges": [{"source": "users_wuzilong_work_00code_shanxia2_0_backend_app_api_crm_contract_routes_py", "target": "datetime", "relation": "imports_from", "context": "import", "confidence": "EXTRACTED", "source_file": "app/api/crm_contract_routes.py", "source_location": "L4", "weight": 1.0}, {"source": "users_wuzilong_work_00code_shanxia2_0_backend_app_api_crm_contract_routes_py", "target": "typing", "relation": "imports_from", "context": "import", "confidence": "EXTRACTED", "source_file": "app/api/crm_contract_routes.py", "source_location": "L5", "weight": 1.0}, {"source": "users_wuzilong_work_00code_shanxia2_0_backend_app_api_crm_contract_routes_py", "target": "fastapi", "relation": "imports_from", "context": "import", "confidence": "EXTRACTED", "source_file": "app/api/crm_contract_routes.py", "source_location": "L7", "weight": 1.0}, {"source": "users_wuzilong_work_00code_shanxia2_0_backend_app_api_crm_contract_routes_py", "target": "sqlalchemy_orm", "relation": "imports_from", "context": "import", "confidence": "EXTRACTED", "source_file": "app/api/crm_contract_routes.py", "source_location": "L8", "weight": 1.0}, {"source": "users_wuzilong_work_00code_shanxia2_0_backend_app_api_crm_contract_routes_py", "target": "app_core_database", "relation": "imports_from", "context": "import", "confidence": "EXTRACTED", "source_file": "app/api/crm_contract_routes.py", "source_location": "L10", "weight": 1.0}, {"source": "users_wuzilong_work_00code_shanxia2_0_backend_app_api_crm_contract_routes_py", "target": "app_core_menu_guard", "relation": "imports_from", "context": "import", "confidence": "EXTRACTED", "source_file": "app/api/crm_contract_routes.py", "source_location": "L11", "weight": 1.0}, {"source": "users_wuzilong_work_00code_shanxia2_0_backend_app_api_crm_contract_routes_py", "target": "app_core_oper_log_decorator", "relation": "imports_from", "context": "import", "confidence": "EXTRACTED", "source_file": "app/api/crm_contract_routes.py", "source_location": "L12", "weight": 1.0}, {"source": "users_wuzilong_work_00code_shanxia2_0_backend_app_api_crm_contract_routes_py", "target": "app_core_response", "relation": "imports_from", "context": "import", "confidence": "EXTRACTED", "source_file": "app/api/crm_contract_routes.py", "source_location": "L13", "weight": 1.0}, {"source": "users_wuzilong_work_00code_shanxia2_0_backend_app_api_crm_contract_routes_py", "target": "app_core_tenant_context", "relation": "imports_from", "context": "import", "confidence": "EXTRACTED", "source_file": "app/api/crm_contract_routes.py", "source_location": "L14", "weight": 1.0}, {"source": "users_wuzilong_work_00code_shanxia2_0_backend_app_api_crm_contract_routes_py", "target": "app_crud_crm_data_scope_helpers", "relation": "imports_from", "context": "import", "confidence": "EXTRACTED", "source_file": "app/api/crm_contract_routes.py", "source_location": "L15", "weight": 1.0}, {"source": "users_wuzilong_work_00code_shanxia2_0_backend_app_api_crm_contract_routes_py", "target": "app_crud_crm_contract", "relation": "imports_from", "context": "import", "confidence": "EXTRACTED", "source_file": "app/api/crm_contract_routes.py", "source_location": "L16", "weight": 1.0}, {"source": "users_wuzilong_work_00code_shanxia2_0_backend_app_api_crm_contract_routes_py", "target": "app_crud_crm_contract_approval", "relation": "imports_from", "context": "import", "confidence": "EXTRACTED", "source_file": "app/api/crm_contract_routes.py", "source_location": "L47", "weight": 1.0}, {"source": "users_wuzilong_work_00code_shanxia2_0_backend_app_api_crm_contract_routes_py", "target": "app_crud_crm_contract_approver_setting", "relation": "imports_from", "context": "import", "confidence": "EXTRACTED", "source_file": "app/api/crm_contract_routes.py", "source_location": "L51", "weight": 1.0}, {"source": "users_wuzilong_work_00code_shanxia2_0_backend_app_api_crm_contract_routes_py", "target": "app_crud_crm_contract_approver_setting", "relation": "imports_from", "context": "import", "confidence": "EXTRACTED", "source_file": "app/api/crm_contract_routes.py", "source_location": "L52", "weight": 1.0}, {"source": "users_wuzilong_work_00code_shanxia2_0_backend_app_api_crm_contract_routes_py", "target": "app_schemas_crLine truncated
@@ -0,0 +1 @@
{"nodes": [{"id": "users_wuzilong_work_00code_shanxia2_0_backend_app_crud_tenant_py", "label": "tenant.py", "file_type": "code", "source_file": "app/crud/tenant.py", "source_location": "L1"}, {"id": "users_wuzilong_work_00code_shanxia2_0_backend_app_crud_tenant_row_to_dict", "label": "_row_to_dict()", "file_type": "code", "source_file": "app/crud/tenant.py", "source_location": "L17"}, {"id": "systenant", "label": "SysTenant", "file_type": "code", "source_file": "", "source_location": "", "origin_file": "/Users/wuzilong/work/00code/shanxia2.0/backend/app/crud/tenant.py"}, {"id": "any", "label": "Any", "file_type": "code", "source_file": "", "source_location": "", "origin_file": "/Users/wuzilong/work/00code/shanxia2.0/backend/app/crud/tenant.py"}, {"id": "users_wuzilong_work_00code_shanxia2_0_backend_app_crud_tenant_list_tenants", "label": "list_tenants()", "file_type": "code", "source_file": "app/crud/tenant.py", "source_location": "L32"}, {"id": "session", "label": "Session", "file_type": "code", "source_file": "", "source_location": "", "origin_file": "/Users/wuzilong/work/00code/shanxia2.0/backend/app/crud/tenant.py"}, {"id": "users_wuzilong_work_00code_shanxia2_0_backend_app_crud_tenant_get_tenant", "label": "get_tenant()", "file_type": "code", "source_file": "app/crud/tenant.py", "source_location": "L64"}, {"id": "users_wuzilong_work_00code_shanxia2_0_backend_app_crud_tenant_tenant_no_exists", "label": "tenant_no_exists()", "file_type": "code", "source_file": "app/crud/tenant.py", "source_location": "L72"}, {"id": "users_wuzilong_work_00code_shanxia2_0_backend_app_crud_tenant_create_tenant", "label": "create_tenant()", "file_type": "code", "source_file": "app/crud/tenant.py", "source_location": "L79"}, {"id": "users_wuzilong_work_00code_shanxia2_0_backend_app_crud_tenant_update_tenant", "label": "update_tenant()", "file_type": "code", "source_file": "app/crud/tenant.py", "source_location": "L116"}, {"id": "users_wuzilong_work_00code_shanxia2_0_backend_app_crud_tenant_soft_delete_tenant", "label": "soft_delete_tenant()", "file_type": "code", "source_file": "app/crud/tenant.py", "source_location": "L158"}, {"id": "users_wuzilong_work_00code_shanxia2_0_backend_app_crud_tenant_total_pages", "label": "total_pages()", "file_type": "code", "source_file": "app/crud/tenant.py", "source_location": "L171"}], "edges": [{"source": "users_wuzilong_work_00code_shanxia2_0_backend_app_crud_tenant_py", "target": "math", "relation": "imports", "context": "import", "confidence": "EXTRACTED", "source_file": "app/crud/tenant.py", "source_location": "L4", "weight": 1.0}, {"source": "users_wuzilong_work_00code_shanxia2_0_backend_app_crud_tenant_py", "target": "datetime", "relation": "imports_from", "context": "import", "confidence": "EXTRACTED", "source_file": "app/crud/tenant.py", "source_location": "L5", "weight": 1.0}, {"source": "users_wuzilong_work_00code_shanxia2_0_backend_app_crud_tenant_py", "target": "typing", "relation": "imports_from", "context": "import", "confidence": "EXTRACTED", "source_file": "app/crud/tenant.py", "source_location": "L6", "weight": 1.0}, {"source": "users_wuzilong_work_00code_shanxia2_0_backend_app_crud_tenant_py", "target": "sqlalchemy", "relation": "imports_from", "context": "import", "confidence": "EXTRACTED", "source_file": "app/crud/tenant.py", "source_location": "L8", "weight": 1.0}, {"source": "users_wuzilong_work_00code_shanxia2_0_backend_app_crud_tenant_py", "target": "sqlalchemy_orm", "relation": "imports_from", "context": "import", "confidence": "EXTRACTED", "source_file": "app/crud/tenant.py", "source_location": "L9", "weight": 1.0}, {"source": "users_wuzilong_work_00code_shanxia2_0_backend_app_crud_tenant_py", "target": "app_core_config", "relation": "imports_from", "context": "import", "confidence": "EXTRACTED", "source_file": "app/crud/tenant.py", "source_location": "L11", "weight": 1.0}, {"source": "users_wuzilong_work_00code_shanxia2_0_backend_app_crud_tenant_py", "target": "app_core_delete_guard", "relation": "imports_from", "context": "import", "confidence": "EXTRACTED", "source_file": "app/crud/tenant.py", "source_location": "L12", "weight": 1.0}, {"source": "users_wuzilong_work_00code_shanxia2_0_backend_app_crud_tenant_py", "target": "app_core_utils", "relation": "imports_from", "context": "import", "confidence": "EXTRACTED", "source_file": "app/crud/tenant.py", "source_location": "L13", "weight": 1.0}, {"source": "users_wuzilong_work_00code_shanxia2_0_backend_app_crud_tenant_py", "target": "app_models_models", "relation": "imports_from", "context": "import", "confidence": "EXTRACTED", "source_file": "app/crud/tenant.py", "source_location": "L14", "weight": 1.0}, {"source": "users_wuzilong_work_00code_shanxia2_0_backend_app_crud_tenant_py", "target": "users_wuzilong_work_00code_shanxia2_0_backend_app_crud_tenant_row_to_dict", "relation": "contains", "confidence": "EXTRACTED", "source_file": "app/crud/tenant.py", "source_location": "L17", "weight": 1.0}, {"source": "users_wLine truncated
@@ -0,0 +1 @@
{"nodes": [{"id": "users_wuzilong_work_00code_shanxia2_0_backend_app_api_pl_io_order_py", "label": "io_order.py", "file_type": "code", "source_file": "app/api/pl/io_order.py", "source_location": "L1"}, {"id": "users_wuzilong_work_00code_shanxia2_0_backend_app_api_pl_io_order_models", "label": "_models()", "file_type": "code", "source_file": "app/api/pl/io_order.py", "source_location": "L34"}, {"id": "users_wuzilong_work_00code_shanxia2_0_backend_app_api_pl_io_order_get_order", "label": "_get_order()", "file_type": "code", "source_file": "app/api/pl/io_order.py", "source_location": "L40"}, {"id": "session", "label": "Session", "file_type": "code", "source_file": "", "source_location": "", "origin_file": "/Users/wuzilong/work/00code/shanxia2.0/backend/app/api/pl/io_order.py"}, {"id": "users_wuzilong_work_00code_shanxia2_0_backend_app_api_pl_io_order_to_read", "label": "_to_read()", "file_type": "code", "source_file": "app/api/pl/io_order.py", "source_location": "L58"}, {"id": "ioorderread", "label": "IoOrderRead", "file_type": "code", "source_file": "", "source_location": "", "origin_file": "/Users/wuzilong/work/00code/shanxia2.0/backend/app/api/pl/io_order.py"}, {"id": "users_wuzilong_work_00code_shanxia2_0_backend_app_api_pl_io_order_list_orders", "label": "_list_orders()", "file_type": "code", "source_file": "app/api/pl/io_order.py", "source_location": "L64"}, {"id": "dbusercontext", "label": "DbUserContext", "file_type": "code", "source_file": "", "source_location": "", "origin_file": "/Users/wuzilong/work/00code/shanxia2.0/backend/app/api/pl/io_order.py"}, {"id": "ioorderlistresponse", "label": "IoOrderListResponse", "file_type": "code", "source_file": "", "source_location": "", "origin_file": "/Users/wuzilong/work/00code/shanxia2.0/backend/app/api/pl/io_order.py"}, {"id": "users_wuzilong_work_00code_shanxia2_0_backend_app_api_pl_io_order_patch_order", "label": "_patch_order()", "file_type": "code", "source_file": "app/api/pl/io_order.py", "source_location": "L125"}, {"id": "ioorderpatch", "label": "IoOrderPatch", "file_type": "code", "source_file": "", "source_location": "", "origin_file": "/Users/wuzilong/work/00code/shanxia2.0/backend/app/api/pl/io_order.py"}, {"id": "users_wuzilong_work_00code_shanxia2_0_backend_app_api_pl_io_order_get_by_plan", "label": "_get_by_plan()", "file_type": "code", "source_file": "app/api/pl/io_order.py", "source_location": "L182"}, {"id": "users_wuzilong_work_00code_shanxia2_0_backend_app_api_pl_io_order_get_inbound_by_plan", "label": "get_inbound_by_plan()", "file_type": "code", "source_file": "app/api/pl/io_order.py", "source_location": "L207"}, {"id": "users_wuzilong_work_00code_shanxia2_0_backend_app_api_pl_io_order_list_inbound", "label": "list_inbound()", "file_type": "code", "source_file": "app/api/pl/io_order.py", "source_location": "L220"}, {"id": "users_wuzilong_work_00code_shanxia2_0_backend_app_api_pl_io_order_get_inbound", "label": "get_inbound()", "file_type": "code", "source_file": "app/api/pl/io_order.py", "source_location": "L252"}, {"id": "users_wuzilong_work_00code_shanxia2_0_backend_app_api_pl_io_order_patch_inbound", "label": "patch_inbound()", "file_type": "code", "source_file": "app/api/pl/io_order.py", "source_location": "L263"}, {"id": "users_wuzilong_work_00code_shanxia2_0_backend_app_api_pl_io_order_inbound_site_url", "label": "inbound_site_url()", "file_type": "code", "source_file": "app/api/pl/io_order.py", "source_location": "L273"}, {"id": "users_wuzilong_work_00code_shanxia2_0_backend_app_api_pl_io_order_get_outbound_by_plan", "label": "get_outbound_by_plan()", "file_type": "code", "source_file": "app/api/pl/io_order.py", "source_location": "L285"}, {"id": "users_wuzilong_work_00code_shanxia2_0_backend_app_api_pl_io_order_list_outbound", "label": "list_outbound()", "file_type": "code", "source_file": "app/api/pl/io_order.py", "source_location": "L298"}, {"id": "users_wuzilong_work_00code_shanxia2_0_backend_app_api_pl_io_order_get_outbound", "label": "get_outbound()", "file_type": "code", "source_file": "app/api/pl/io_order.py", "source_location": "L330"}, {"id": "users_wuzilong_work_00code_shanxia2_0_backend_app_api_pl_io_order_patch_outbound", "label": "patch_outbound()", "file_type": "code", "source_file": "app/api/pl/io_order.py", "source_location": "L341"}, {"id": "users_wuzilong_work_00code_shanxia2_0_backend_app_api_pl_io_order_outbound_site_url", "label": "outbound_site_url()", "file_type": "code", "source_file": "app/api/pl/io_order.py", "source_location": "L351"}, {"id": "users_wuzilong_work_00code_shanxia2_0_backend_app_api_pl_io_order_rationale_1", "label": "\u8fd0\u8f93\u8ba1\u5212 \u00b7 \u5165\u5e93\u5355 / \u51fa\u5e93\u5355\u7ba1\u7406\u7aef API", "file_type": "rationale", "source_file": "app/api/pl/io_order.py", "source_location": "L1"}, {"id": "users_wuzilong_work_00code_shanxia2_0_backend_app_api_pl_io_order_rationale_183", "label": "\u6309\u8ba1\u5212\u67e5\u627e\u5165\u5e93/\u51fa\u5e93\u5355\uff1b\u672a\u843d\u5355\u6Line truncated
@@ -0,0 +1 @@
{"nodes": [{"id": "users_wuzilong_work_00code_shanxia2_0_backend_app_api_pl_base_data_py", "label": "base_data.py", "file_type": "code", "source_file": "app/api/pl/base_data.py", "source_location": "L1"}, {"id": "users_wuzilong_work_00code_shanxia2_0_backend_app_api_pl_base_data_list_carriers", "label": "list_carriers()", "file_type": "code", "source_file": "app/api/pl/base_data.py", "source_location": "L74"}, {"id": "session", "label": "Session", "file_type": "code", "source_file": "", "source_location": "", "origin_file": "/Users/wuzilong/work/00code/shanxia2.0/backend/app/api/pl/base_data.py"}, {"id": "dbusercontext", "label": "DbUserContext", "file_type": "code", "source_file": "", "source_location": "", "origin_file": "/Users/wuzilong/work/00code/shanxia2.0/backend/app/api/pl/base_data.py"}, {"id": "carrierlistresponse", "label": "CarrierListResponse", "file_type": "code", "source_file": "", "source_location": "", "origin_file": "/Users/wuzilong/work/00code/shanxia2.0/backend/app/api/pl/base_data.py"}, {"id": "users_wuzilong_work_00code_shanxia2_0_backend_app_api_pl_base_data_create_carrier", "label": "create_carrier()", "file_type": "code", "source_file": "app/api/pl/base_data.py", "source_location": "L118"}, {"id": "carriercreate", "label": "CarrierCreate", "file_type": "code", "source_file": "", "source_location": "", "origin_file": "/Users/wuzilong/work/00code/shanxia2.0/backend/app/api/pl/base_data.py"}, {"id": "carrierread", "label": "CarrierRead", "file_type": "code", "source_file": "", "source_location": "", "origin_file": "/Users/wuzilong/work/00code/shanxia2.0/backend/app/api/pl/base_data.py"}, {"id": "users_wuzilong_work_00code_shanxia2_0_backend_app_api_pl_base_data_get_carrier", "label": "get_carrier()", "file_type": "code", "source_file": "app/api/pl/base_data.py", "source_location": "L148"}, {"id": "users_wuzilong_work_00code_shanxia2_0_backend_app_api_pl_base_data_update_carrier", "label": "update_carrier()", "file_type": "code", "source_file": "app/api/pl/base_data.py", "source_location": "L159"}, {"id": "carrierupdate", "label": "CarrierUpdate", "file_type": "code", "source_file": "", "source_location": "", "origin_file": "/Users/wuzilong/work/00code/shanxia2.0/backend/app/api/pl/base_data.py"}, {"id": "users_wuzilong_work_00code_shanxia2_0_backend_app_api_pl_base_data_delete_carrier", "label": "delete_carrier()", "file_type": "code", "source_file": "app/api/pl/base_data.py", "source_location": "L188"}, {"id": "users_wuzilong_work_00code_shanxia2_0_backend_app_api_pl_base_data_approve_carrier", "label": "approve_carrier()", "file_type": "code", "source_file": "app/api/pl/base_data.py", "source_location": "L202"}, {"id": "users_wuzilong_work_00code_shanxia2_0_backend_app_api_pl_base_data_reject_carrier", "label": "reject_carrier()", "file_type": "code", "source_file": "app/api/pl/base_data.py", "source_location": "L211"}, {"id": "carrierauditreject", "label": "CarrierAuditReject", "file_type": "code", "source_file": "", "source_location": "", "origin_file": "/Users/wuzilong/work/00code/shanxia2.0/backend/app/api/pl/base_data.py"}, {"id": "plcarrier", "label": "PlCarrier", "file_type": "code", "source_file": "", "source_location": "", "origin_file": "/Users/wuzilong/work/00code/shanxia2.0/backend/app/api/pl/base_data.py"}, {"id": "users_wuzilong_work_00code_shanxia2_0_backend_app_api_pl_base_data_vehicle_to_read", "label": "_vehicle_to_read()", "file_type": "code", "source_file": "app/api/pl/base_data.py", "source_location": "L240"}, {"id": "plvehicle", "label": "PlVehicle", "file_type": "code", "source_file": "", "source_location": "", "origin_file": "/Users/wuzilong/work/00code/shanxia2.0/backend/app/api/pl/base_data.py"}, {"id": "certread", "label": "CertRead", "file_type": "code", "source_file": "", "source_location": "", "origin_file": "/Users/wuzilong/work/00code/shanxia2.0/backend/app/api/pl/base_data.py"}, {"id": "vehicleread", "label": "VehicleRead", "file_type": "code", "source_file": "", "source_location": "", "origin_file": "/Users/wuzilong/work/00code/shanxia2.0/backend/app/api/pl/base_data.py"}, {"id": "users_wuzilong_work_00code_shanxia2_0_backend_app_api_pl_base_data_vehicle_to_detail", "label": "_vehicle_to_detail()", "file_type": "code", "source_file": "app/api/pl/base_data.py", "source_location": "L257"}, {"id": "vehicledetailread", "label": "VehicleDetailRead", "file_type": "code", "source_file": "", "source_location": "", "origin_file": "/Users/wuzilong/work/00code/shanxia2.0/backend/app/api/pl/base_data.py"}, {"id": "users_wuzilong_work_00code_shanxia2_0_backend_app_api_pl_base_data_list_vehicles", "label": "list_vehicles()", "file_type": "code", "source_file": "app/api/pl/base_data.py", "source_location": "L275"}, {"id": "vehiclelistresponse", "label": "VehicleListResponse", "file_type": "code", "source_file": "", "source_location": "", "origin_file": "/Users/wuzilong/work/00code/shanxia2.0/backend/app/api/pl/base_data.py"}, {"id": "users_wuzilong_work_00code_shaLine truncated
@@ -0,0 +1 @@
{"nodes": [{"id": "users_wuzilong_work_00code_shanxia2_0_backend_app_api_pl_plan_py", "label": "plan.py", "file_type": "code", "source_file": "app/api/pl/plan.py", "source_location": "L1"}, {"id": "users_wuzilong_work_00code_shanxia2_0_backend_app_api_pl_plan_resolve_list_product_name", "label": "_resolve_list_product_name()", "file_type": "code", "source_file": "app/api/pl/plan.py", "source_location": "L116"}, {"id": "plplanproduct", "label": "PlPlanProduct", "file_type": "code", "source_file": "", "source_location": "", "origin_file": "/Users/wuzilong/work/00code/shanxia2.0/backend/app/api/pl/plan.py"}, {"id": "users_wuzilong_work_00code_shanxia2_0_backend_app_api_pl_plan_resolve_create_date", "label": "_resolve_create_date()", "file_type": "code", "source_file": "app/api/pl/plan.py", "source_location": "L132"}, {"id": "date", "label": "date", "file_type": "code", "source_file": "", "source_location": "", "origin_file": "/Users/wuzilong/work/00code/shanxia2.0/backend/app/api/pl/plan.py"}, {"id": "users_wuzilong_work_00code_shanxia2_0_backend_app_api_pl_plan_generate_plan_no", "label": "_generate_plan_no()", "file_type": "code", "source_file": "app/api/pl/plan.py", "source_location": "L136"}, {"id": "session", "label": "Session", "file_type": "code", "source_file": "", "source_location": "", "origin_file": "/Users/wuzilong/work/00code/shanxia2.0/backend/app/api/pl/plan.py"}, {"id": "users_wuzilong_work_00code_shanxia2_0_backend_app_api_pl_plan_format_subpack_slip_no", "label": "_format_subpack_slip_no()", "file_type": "code", "source_file": "app/api/pl/plan.py", "source_location": "L168"}, {"id": "users_wuzilong_work_00code_shanxia2_0_backend_app_api_pl_plan_normalize_subpack_slip_no", "label": "_normalize_subpack_slip_no()", "file_type": "code", "source_file": "app/api/pl/plan.py", "source_location": "L172"}, {"id": "users_wuzilong_work_00code_shanxia2_0_backend_app_api_pl_plan_subpack_slip_no_seq", "label": "_subpack_slip_no_seq()", "file_type": "code", "source_file": "app/api/pl/plan.py", "source_location": "L197"}, {"id": "users_wuzilong_work_00code_shanxia2_0_backend_app_api_pl_plan_ensure_subpack_slip_no", "label": "_ensure_subpack_slip_no()", "file_type": "code", "source_file": "app/api/pl/plan.py", "source_location": "L205"}, {"id": "plplan", "label": "PlPlan", "file_type": "code", "source_file": "", "source_location": "", "origin_file": "/Users/wuzilong/work/00code/shanxia2.0/backend/app/api/pl/plan.py"}, {"id": "users_wuzilong_work_00code_shanxia2_0_backend_app_api_pl_plan_determine_plan_type", "label": "_determine_plan_type()", "file_type": "code", "source_file": "app/api/pl/plan.py", "source_location": "L237"}, {"id": "users_wuzilong_work_00code_shanxia2_0_backend_app_api_pl_plan_get_plan_type_label", "label": "_get_plan_type_label()", "file_type": "code", "source_file": "app/api/pl/plan.py", "source_location": "L242"}, {"id": "users_wuzilong_work_00code_shanxia2_0_backend_app_api_pl_plan_generate_notify_message", "label": "_generate_notify_message()", "file_type": "code", "source_file": "app/api/pl/plan.py", "source_location": "L251"}, {"id": "users_wuzilong_work_00code_shanxia2_0_backend_app_api_pl_plan_plan_product_name_exists", "label": "_plan_product_name_exists()", "file_type": "code", "source_file": "app/api/pl/plan.py", "source_location": "L271"}, {"id": "users_wuzilong_work_00code_shanxia2_0_backend_app_api_pl_plan_plan_plate_match", "label": "_plan_plate_match()", "file_type": "code", "source_file": "app/api/pl/plan.py", "source_location": "L285"}, {"id": "users_wuzilong_work_00code_shanxia2_0_backend_app_api_pl_plan_list_plans", "label": "list_plans()", "file_type": "code", "source_file": "app/api/pl/plan.py", "source_location": "L295"}, {"id": "dbusercontext", "label": "DbUserContext", "file_type": "code", "source_file": "", "source_location": "", "origin_file": "/Users/wuzilong/work/00code/shanxia2.0/backend/app/api/pl/plan.py"}, {"id": "planlistresponse", "label": "PlanListResponse", "file_type": "code", "source_file": "", "source_location": "", "origin_file": "/Users/wuzilong/work/00code/shanxia2.0/backend/app/api/pl/plan.py"}, {"id": "users_wuzilong_work_00code_shanxia2_0_backend_app_api_pl_plan_planexportbody", "label": "PlanExportBody", "file_type": "code", "source_file": "app/api/pl/plan.py", "source_location": "L492"}, {"id": "basemodel", "label": "BaseModel", "file_type": "code", "source_file": "", "source_location": ""}, {"id": "users_wuzilong_work_00code_shanxia2_0_backend_app_api_pl_plan_export_plans", "label": "export_plans()", "file_type": "code", "source_file": "app/api/pl/plan.py", "source_location": "L513"}, {"id": "users_wuzilong_work_00code_shanxia2_0_backend_app_api_pl_plan_count_plans_by_contract", "label": "count_plans_by_contract()", "file_type": "code", "source_file": "app/api/pl/plan.py", "source_location": "L593"}, {"id": "users_wuzilong_work_00code_shanxia2_0_backend_app_api_pl_plan_list_contract_gaps", "label": "list_contract_gaps()", "file_type": "code"Line truncated
@@ -0,0 +1 @@
{"nodes": [{"id": "users_wuzilong_work_00code_shanxia2_0_backend_app_api_pl_transport_py", "label": "transport.py", "file_type": "code", "source_file": "app/api/pl/transport.py", "source_location": "L1"}, {"id": "users_wuzilong_work_00code_shanxia2_0_backend_app_api_pl_transport_transport_to_read", "label": "_transport_to_read()", "file_type": "code", "source_file": "app/api/pl/transport.py", "source_location": "L77"}, {"id": "session", "label": "Session", "file_type": "code", "source_file": "", "source_location": "", "origin_file": "/Users/wuzilong/work/00code/shanxia2.0/backend/app/api/pl/transport.py"}, {"id": "pltransport", "label": "PlTransport", "file_type": "code", "source_file": "", "source_location": "", "origin_file": "/Users/wuzilong/work/00code/shanxia2.0/backend/app/api/pl/transport.py"}, {"id": "transportread", "label": "TransportRead", "file_type": "code", "source_file": "", "source_location": "", "origin_file": "/Users/wuzilong/work/00code/shanxia2.0/backend/app/api/pl/transport.py"}, {"id": "users_wuzilong_work_00code_shanxia2_0_backend_app_api_pl_transport_generate_transport_no", "label": "_generate_transport_no()", "file_type": "code", "source_file": "app/api/pl/transport.py", "source_location": "L96"}, {"id": "users_wuzilong_work_00code_shanxia2_0_backend_app_api_pl_transport_resolve_driver_info", "label": "_resolve_driver_info()", "file_type": "code", "source_file": "app/api/pl/transport.py", "source_location": "L120"}, {"id": "users_wuzilong_work_00code_shanxia2_0_backend_app_api_pl_transport_get_vehicle_info", "label": "_get_vehicle_info()", "file_type": "code", "source_file": "app/api/pl/transport.py", "source_location": "L158"}, {"id": "users_wuzilong_work_00code_shanxia2_0_backend_app_api_pl_transport_assert_vehicle_carrier_eligible", "label": "_assert_vehicle_carrier_eligible()", "file_type": "code", "source_file": "app/api/pl/transport.py", "source_location": "L208"}, {"id": "users_wuzilong_work_00code_shanxia2_0_backend_app_api_pl_transport_ensure_driver_access_token", "label": "_ensure_driver_access_token()", "file_type": "code", "source_file": "app/api/pl/transport.py", "source_location": "L243"}, {"id": "users_wuzilong_work_00code_shanxia2_0_backend_app_api_pl_transport_rotate_driver_access_token", "label": "_rotate_driver_access_token()", "file_type": "code", "source_file": "app/api/pl/transport.py", "source_location": "L251"}, {"id": "users_wuzilong_work_00code_shanxia2_0_backend_app_api_pl_transport_is_rearrange", "label": "_is_rearrange()", "file_type": "code", "source_file": "app/api/pl/transport.py", "source_location": "L257"}, {"id": "plplan", "label": "PlPlan", "file_type": "code", "source_file": "", "source_location": "", "origin_file": "/Users/wuzilong/work/00code/shanxia2.0/backend/app/api/pl/transport.py"}, {"id": "users_wuzilong_work_00code_shanxia2_0_backend_app_api_pl_transport_transport_has_db_links", "label": "_transport_has_db_links()", "file_type": "code", "source_file": "app/api/pl/transport.py", "source_location": "L268"}, {"id": "users_wuzilong_work_00code_shanxia2_0_backend_app_api_pl_transport_apply_plan_logistics_from_payload", "label": "_apply_plan_logistics_from_payload()", "file_type": "code", "source_file": "app/api/pl/transport.py", "source_location": "L281"}, {"id": "transportarrange", "label": "TransportArrange", "file_type": "code", "source_file": "", "source_location": "", "origin_file": "/Users/wuzilong/work/00code/shanxia2.0/backend/app/api/pl/transport.py"}, {"id": "users_wuzilong_work_00code_shanxia2_0_backend_app_api_pl_transport_resolve_transport_endpoints", "label": "_resolve_transport_endpoints()", "file_type": "code", "source_file": "app/api/pl/transport.py", "source_location": "L310"}, {"id": "users_wuzilong_work_00code_shanxia2_0_backend_app_api_pl_transport_apply_transport_arrange_fields", "label": "_apply_transport_arrange_fields()", "file_type": "code", "source_file": "app/api/pl/transport.py", "source_location": "L325"}, {"id": "users_wuzilong_work_00code_shanxia2_0_backend_app_api_pl_transport_build_driver_url", "label": "_build_driver_url()", "file_type": "code", "source_file": "app/api/pl/transport.py", "source_location": "L359"}, {"id": "users_wuzilong_work_00code_shanxia2_0_backend_app_api_pl_transport_build_arrange_result", "label": "_build_arrange_result()", "file_type": "code", "source_file": "app/api/pl/transport.py", "source_location": "L364"}, {"id": "transportsitelinkread", "label": "TransportSiteLinkRead", "file_type": "code", "source_file": "", "source_location": "", "origin_file": "/Users/wuzilong/work/00code/shanxia2.0/backend/app/api/pl/transport.py"}, {"id": "transportinventorylinkread", "label": "TransportInventoryLinkRead", "file_type": "code", "source_file": "", "source_location": "", "origin_file": "/Users/wuzilong/work/00code/shanxia2.0/backend/app/api/pl/transport.py"}, {"id": "transportioorderbrief", "label": "TransportIoOrderBrief", "file_type": "code", "source_file": "", "source_location": "", "origiLine truncated
@@ -0,0 +1 @@
{"nodes": [{"id": "users_wuzilong_work_00code_shanxia2_0_backend_app_schemas_crm_contact_py", "label": "contact.py", "file_type": "code", "source_file": "app/schemas/crm/contact.py", "source_location": "L1"}, {"id": "users_wuzilong_work_00code_shanxia2_0_backend_app_schemas_crm_contact_contactlistbody", "label": "ContactListBody", "file_type": "code", "source_file": "app/schemas/crm/contact.py", "source_location": "L8"}, {"id": "basemodel", "label": "BaseModel", "file_type": "code", "source_file": "", "source_location": ""}, {"id": "users_wuzilong_work_00code_shanxia2_0_backend_app_schemas_crm_contact_contactcreatebody", "label": "ContactCreateBody", "file_type": "code", "source_file": "app/schemas/crm/contact.py", "source_location": "L24"}, {"id": "users_wuzilong_work_00code_shanxia2_0_backend_app_schemas_crm_contact_contactupdatebody", "label": "ContactUpdateBody", "file_type": "code", "source_file": "app/schemas/crm/contact.py", "source_location": "L47"}, {"id": "users_wuzilong_work_00code_shanxia2_0_backend_app_schemas_crm_contact_contactdeletebody", "label": "ContactDeleteBody", "file_type": "code", "source_file": "app/schemas/crm/contact.py", "source_location": "L71"}, {"id": "users_wuzilong_work_00code_shanxia2_0_backend_app_schemas_crm_contact_contactdetailbody", "label": "ContactDetailBody", "file_type": "code", "source_file": "app/schemas/crm/contact.py", "source_location": "L75"}, {"id": "users_wuzilong_work_00code_shanxia2_0_backend_app_schemas_crm_contact_contactbycustomerbody", "label": "ContactByCustomerBody", "file_type": "code", "source_file": "app/schemas/crm/contact.py", "source_location": "L79"}, {"id": "users_wuzilong_work_00code_shanxia2_0_backend_app_schemas_crm_contact_contactsetprimarybody", "label": "ContactSetPrimaryBody", "file_type": "code", "source_file": "app/schemas/crm/contact.py", "source_location": "L85"}, {"id": "users_wuzilong_work_00code_shanxia2_0_backend_app_schemas_crm_contact_rationale_1", "label": "CRM \u8054\u7cfb\u4eba Pydantic Schemas", "file_type": "rationale", "source_file": "app/schemas/crm/contact.py", "source_location": "L1"}], "edges": [{"source": "users_wuzilong_work_00code_shanxia2_0_backend_app_schemas_crm_contact_py", "target": "typing", "relation": "imports_from", "context": "import", "confidence": "EXTRACTED", "source_file": "app/schemas/crm/contact.py", "source_location": "L3", "weight": 1.0}, {"source": "users_wuzilong_work_00code_shanxia2_0_backend_app_schemas_crm_contact_py", "target": "pydantic", "relation": "imports_from", "context": "import", "confidence": "EXTRACTED", "source_file": "app/schemas/crm/contact.py", "source_location": "L5", "weight": 1.0}, {"source": "users_wuzilong_work_00code_shanxia2_0_backend_app_schemas_crm_contact_py", "target": "users_wuzilong_work_00code_shanxia2_0_backend_app_schemas_crm_contact_contactlistbody", "relation": "contains", "confidence": "EXTRACTED", "source_file": "app/schemas/crm/contact.py", "source_location": "L8", "weight": 1.0}, {"source": "users_wuzilong_work_00code_shanxia2_0_backend_app_schemas_crm_contact_contactlistbody", "target": "basemodel", "relation": "inherits", "confidence": "EXTRACTED", "source_file": "app/schemas/crm/contact.py", "source_location": "L8", "weight": 1.0}, {"source": "users_wuzilong_work_00code_shanxia2_0_backend_app_schemas_crm_contact_py", "target": "users_wuzilong_work_00code_shanxia2_0_backend_app_schemas_crm_contact_contactcreatebody", "relation": "contains", "confidence": "EXTRACTED", "source_file": "app/schemas/crm/contact.py", "source_location": "L24", "weight": 1.0}, {"source": "users_wuzilong_work_00code_shanxia2_0_backend_app_schemas_crm_contact_contactcreatebody", "target": "basemodel", "relation": "inherits", "confidence": "EXTRACTED", "source_file": "app/schemas/crm/contact.py", "source_location": "L24", "weight": 1.0}, {"source": "users_wuzilong_work_00code_shanxia2_0_backend_app_schemas_crm_contact_py", "target": "users_wuzilong_work_00code_shanxia2_0_backend_app_schemas_crm_contact_contactupdatebody", "relation": "contains", "confidence": "EXTRACTED", "source_file": "app/schemas/crm/contact.py", "source_location": "L47", "weight": 1.0}, {"source": "users_wuzilong_work_00code_shanxia2_0_backend_app_schemas_crm_contact_contactupdatebody", "target": "basemodel", "relation": "inherits", "confidence": "EXTRACTED", "source_file": "app/schemas/crm/contact.py", "source_location": "L47", "weight": 1.0}, {"source": "users_wuzilong_work_00code_shanxia2_0_backend_app_schemas_crm_contact_py", "target": "users_wuzilong_work_00code_shanxia2_0_backend_app_schemas_crm_contact_contactdeletebody", "relation": "contains", "confidence": "EXTRACTED", "source_file": "app/schemas/crm/contact.py", "source_location": "L71", "weight": 1.0}, {"source": "users_wuzilong_work_00code_shanxia2_0_backend_app_schemas_crm_contact_contactdeletebody", "target": "basemodel", "relation": "inherits", "confidence": "EXTRACTED", "source_file": "app/schemas/crm/contact.py", "source_location": "L71", Line truncated
@@ -0,0 +1 @@
{"nodes": [{"id": "users_wuzilong_work_00code_shanxia2_0_backend_app_api_pl_transport_py", "label": "transport.py", "file_type": "code", "source_file": "app/api/pl/transport.py", "source_location": "L1"}, {"id": "users_wuzilong_work_00code_shanxia2_0_backend_app_api_pl_transport_transport_to_read", "label": "_transport_to_read()", "file_type": "code", "source_file": "app/api/pl/transport.py", "source_location": "L70"}, {"id": "session", "label": "Session", "file_type": "code", "source_file": "", "source_location": "", "origin_file": "/Users/wuzilong/work/00code/shanxia2.0/backend/app/api/pl/transport.py"}, {"id": "pltransport", "label": "PlTransport", "file_type": "code", "source_file": "", "source_location": "", "origin_file": "/Users/wuzilong/work/00code/shanxia2.0/backend/app/api/pl/transport.py"}, {"id": "transportread", "label": "TransportRead", "file_type": "code", "source_file": "", "source_location": "", "origin_file": "/Users/wuzilong/work/00code/shanxia2.0/backend/app/api/pl/transport.py"}, {"id": "users_wuzilong_work_00code_shanxia2_0_backend_app_api_pl_transport_generate_transport_no", "label": "_generate_transport_no()", "file_type": "code", "source_file": "app/api/pl/transport.py", "source_location": "L89"}, {"id": "users_wuzilong_work_00code_shanxia2_0_backend_app_api_pl_transport_resolve_driver_info", "label": "_resolve_driver_info()", "file_type": "code", "source_file": "app/api/pl/transport.py", "source_location": "L113"}, {"id": "users_wuzilong_work_00code_shanxia2_0_backend_app_api_pl_transport_get_vehicle_info", "label": "_get_vehicle_info()", "file_type": "code", "source_file": "app/api/pl/transport.py", "source_location": "L151"}, {"id": "users_wuzilong_work_00code_shanxia2_0_backend_app_api_pl_transport_assert_vehicle_carrier_eligible", "label": "_assert_vehicle_carrier_eligible()", "file_type": "code", "source_file": "app/api/pl/transport.py", "source_location": "L201"}, {"id": "users_wuzilong_work_00code_shanxia2_0_backend_app_api_pl_transport_ensure_driver_access_token", "label": "_ensure_driver_access_token()", "file_type": "code", "source_file": "app/api/pl/transport.py", "source_location": "L236"}, {"id": "users_wuzilong_work_00code_shanxia2_0_backend_app_api_pl_transport_rotate_driver_access_token", "label": "_rotate_driver_access_token()", "file_type": "code", "source_file": "app/api/pl/transport.py", "source_location": "L244"}, {"id": "users_wuzilong_work_00code_shanxia2_0_backend_app_api_pl_transport_is_rearrange", "label": "_is_rearrange()", "file_type": "code", "source_file": "app/api/pl/transport.py", "source_location": "L250"}, {"id": "plplan", "label": "PlPlan", "file_type": "code", "source_file": "", "source_location": "", "origin_file": "/Users/wuzilong/work/00code/shanxia2.0/backend/app/api/pl/transport.py"}, {"id": "users_wuzilong_work_00code_shanxia2_0_backend_app_api_pl_transport_transport_has_db_links", "label": "_transport_has_db_links()", "file_type": "code", "source_file": "app/api/pl/transport.py", "source_location": "L261"}, {"id": "users_wuzilong_work_00code_shanxia2_0_backend_app_api_pl_transport_apply_plan_logistics_from_payload", "label": "_apply_plan_logistics_from_payload()", "file_type": "code", "source_file": "app/api/pl/transport.py", "source_location": "L274"}, {"id": "transportarrange", "label": "TransportArrange", "file_type": "code", "source_file": "", "source_location": "", "origin_file": "/Users/wuzilong/work/00code/shanxia2.0/backend/app/api/pl/transport.py"}, {"id": "users_wuzilong_work_00code_shanxia2_0_backend_app_api_pl_transport_resolve_transport_endpoints", "label": "_resolve_transport_endpoints()", "file_type": "code", "source_file": "app/api/pl/transport.py", "source_location": "L303"}, {"id": "users_wuzilong_work_00code_shanxia2_0_backend_app_api_pl_transport_apply_transport_arrange_fields", "label": "_apply_transport_arrange_fields()", "file_type": "code", "source_file": "app/api/pl/transport.py", "source_location": "L318"}, {"id": "users_wuzilong_work_00code_shanxia2_0_backend_app_api_pl_transport_build_driver_url", "label": "_build_driver_url()", "file_type": "code", "source_file": "app/api/pl/transport.py", "source_location": "L352"}, {"id": "users_wuzilong_work_00code_shanxia2_0_backend_app_api_pl_transport_build_arrange_result", "label": "_build_arrange_result()", "file_type": "code", "source_file": "app/api/pl/transport.py", "source_location": "L357"}, {"id": "transportsitelinkread", "label": "TransportSiteLinkRead", "file_type": "code", "source_file": "", "source_location": "", "origin_file": "/Users/wuzilong/work/00code/shanxia2.0/backend/app/api/pl/transport.py"}, {"id": "transportinventorylinkread", "label": "TransportInventoryLinkRead", "file_type": "code", "source_file": "", "source_location": "", "origin_file": "/Users/wuzilong/work/00code/shanxia2.0/backend/app/api/pl/transport.py"}, {"id": "transportioorderbrief", "label": "TransportIoOrderBrief", "file_type": "code", "source_file": "", "source_location": "", "origiLine truncated
@@ -0,0 +1 @@
{"nodes": [{"id": "users_wuzilong_work_00code_shanxia2_0_backend_app_schemas_crm_opportunity_py", "label": "opportunity.py", "file_type": "code", "source_file": "app/schemas/crm/opportunity.py", "source_location": "L1"}, {"id": "users_wuzilong_work_00code_shanxia2_0_backend_app_schemas_crm_opportunity_opportunitylistbody", "label": "OpportunityListBody", "file_type": "code", "source_file": "app/schemas/crm/opportunity.py", "source_location": "L8"}, {"id": "basemodel", "label": "BaseModel", "file_type": "code", "source_file": "", "source_location": ""}, {"id": "users_wuzilong_work_00code_shanxia2_0_backend_app_schemas_crm_opportunity_opportunitydetailbody", "label": "OpportunityDetailBody", "file_type": "code", "source_file": "app/schemas/crm/opportunity.py", "source_location": "L32"}, {"id": "users_wuzilong_work_00code_shanxia2_0_backend_app_schemas_crm_opportunity_opportunitycreatebody", "label": "OpportunityCreateBody", "file_type": "code", "source_file": "app/schemas/crm/opportunity.py", "source_location": "L38"}, {"id": "users_wuzilong_work_00code_shanxia2_0_backend_app_schemas_crm_opportunity_opportunityupdatebody", "label": "OpportunityUpdateBody", "file_type": "code", "source_file": "app/schemas/crm/opportunity.py", "source_location": "L59"}, {"id": "users_wuzilong_work_00code_shanxia2_0_backend_app_schemas_crm_opportunity_opportunitydeletebody", "label": "OpportunityDeleteBody", "file_type": "code", "source_file": "app/schemas/crm/opportunity.py", "source_location": "L63"}, {"id": "users_wuzilong_work_00code_shanxia2_0_backend_app_schemas_crm_opportunity_opportunityassignbody", "label": "OpportunityAssignBody", "file_type": "code", "source_file": "app/schemas/crm/opportunity.py", "source_location": "L69"}, {"id": "users_wuzilong_work_00code_shanxia2_0_backend_app_schemas_crm_opportunity_opportunitychangestagebody", "label": "OpportunityChangeStageBody", "file_type": "code", "source_file": "app/schemas/crm/opportunity.py", "source_location": "L77"}, {"id": "users_wuzilong_work_00code_shanxia2_0_backend_app_schemas_crm_opportunity_opportunitymarkwonbody", "label": "OpportunityMarkWonBody", "file_type": "code", "source_file": "app/schemas/crm/opportunity.py", "source_location": "L88"}, {"id": "users_wuzilong_work_00code_shanxia2_0_backend_app_schemas_crm_opportunity_opportunitymarklostbody", "label": "OpportunityMarkLostBody", "file_type": "code", "source_file": "app/schemas/crm/opportunity.py", "source_location": "L97"}, {"id": "users_wuzilong_work_00code_shanxia2_0_backend_app_schemas_crm_opportunity_opportunitybatchupdatestagebody", "label": "OpportunityBatchUpdateStageBody", "file_type": "code", "source_file": "app/schemas/crm/opportunity.py", "source_location": "L107"}, {"id": "users_wuzilong_work_00code_shanxia2_0_backend_app_schemas_crm_opportunity_opportunitybatchupdateexpectdatebody", "label": "OpportunityBatchUpdateExpectDateBody", "file_type": "code", "source_file": "app/schemas/crm/opportunity.py", "source_location": "L119"}, {"id": "users_wuzilong_work_00code_shanxia2_0_backend_app_schemas_crm_opportunity_opportunitystageloglistbody", "label": "OpportunityStageLogListBody", "file_type": "code", "source_file": "app/schemas/crm/opportunity.py", "source_location": "L129"}, {"id": "users_wuzilong_work_00code_shanxia2_0_backend_app_schemas_crm_opportunity_opportunitystatisticsbody", "label": "OpportunityStatisticsBody", "file_type": "code", "source_file": "app/schemas/crm/opportunity.py", "source_location": "L135"}, {"id": "users_wuzilong_work_00code_shanxia2_0_backend_app_schemas_crm_opportunity_opportunitykanbanbody", "label": "OpportunityKanbanBody", "file_type": "code", "source_file": "app/schemas/crm/opportunity.py", "source_location": "L144"}, {"id": "users_wuzilong_work_00code_shanxia2_0_backend_app_schemas_crm_opportunity_opportunityfollowlistbody", "label": "OpportunityFollowListBody", "file_type": "code", "source_file": "app/schemas/crm/opportunity.py", "source_location": "L148"}, {"id": "users_wuzilong_work_00code_shanxia2_0_backend_app_schemas_crm_opportunity_opportunityfollowdetailbody", "label": "OpportunityFollowDetailBody", "file_type": "code", "source_file": "app/schemas/crm/opportunity.py", "source_location": "L156"}, {"id": "users_wuzilong_work_00code_shanxia2_0_backend_app_schemas_crm_opportunity_opportunityfollowcreatebody", "label": "OpportunityFollowCreateBody", "file_type": "code", "source_file": "app/schemas/crm/opportunity.py", "source_location": "L162"}, {"id": "users_wuzilong_work_00code_shanxia2_0_backend_app_schemas_crm_opportunity_opportunityfollowupdatebody", "label": "OpportunityFollowUpdateBody", "file_type": "code", "source_file": "app/schemas/crm/opportunity.py", "source_location": "L176"}, {"id": "users_wuzilong_work_00code_shanxia2_0_backend_app_schemas_crm_opportunity_opportunityfollowdeletebody", "label": "OpportunityFollowDeleteBody", "file_type": "code", "source_file": "app/schemas/crm/opportunity.py", "source_location": "L180"}, {"id": "users_wuzilongLine truncated
@@ -0,0 +1 @@
{"nodes": [{"id": "users_wuzilong_work_00code_shanxia2_0_backend_app_api_bx_invoice_py", "label": "invoice.py", "file_type": "code", "source_file": "app/api/bx/invoice.py", "source_location": "L1"}, {"id": "users_wuzilong_work_00code_shanxia2_0_backend_app_api_bx_invoice_get_mine_wallet_summary", "label": "get_mine_wallet_summary()", "file_type": "code", "source_file": "app/api/bx/invoice.py", "source_location": "L27"}, {"id": "session", "label": "Session", "file_type": "code", "source_file": "", "source_location": "", "origin_file": "/Users/wuzilong/work/00code/shanxia2.0/backend/app/api/bx/invoice.py"}, {"id": "bxusercontext", "label": "BxUserContext", "file_type": "code", "source_file": "", "source_location": "", "origin_file": "/Users/wuzilong/work/00code/shanxia2.0/backend/app/api/bx/invoice.py"}, {"id": "users_wuzilong_work_00code_shanxia2_0_backend_app_api_bx_invoice_list_invoice_wallets", "label": "list_invoice_wallets()", "file_type": "code", "source_file": "app/api/bx/invoice.py", "source_location": "L37"}, {"id": "users_wuzilong_work_00code_shanxia2_0_backend_app_api_bx_invoice_walletexportbody", "label": "WalletExportBody", "file_type": "code", "source_file": "app/api/bx/invoice.py", "source_location": "L61"}, {"id": "bxexportbodybase", "label": "BxExportBodyBase", "file_type": "code", "source_file": "", "source_location": ""}, {"id": "users_wuzilong_work_00code_shanxia2_0_backend_app_api_bx_invoice_export_invoice_wallets", "label": "export_invoice_wallets()", "file_type": "code", "source_file": "app/api/bx/invoice.py", "source_location": "L66"}, {"id": "users_wuzilong_work_00code_shanxia2_0_backend_app_api_bx_invoice_list_invoices", "label": "list_invoices()", "file_type": "code", "source_file": "app/api/bx/invoice.py", "source_location": "L92"}, {"id": "users_wuzilong_work_00code_shanxia2_0_backend_app_api_bx_invoice_create_invoice", "label": "create_invoice()", "file_type": "code", "source_file": "app/api/bx/invoice.py", "source_location": "L115"}, {"id": "request", "label": "Request", "file_type": "code", "source_file": "", "source_location": "", "origin_file": "/Users/wuzilong/work/00code/shanxia2.0/backend/app/api/bx/invoice.py"}, {"id": "users_wuzilong_work_00code_shanxia2_0_backend_app_api_bx_invoice_delete_invoice", "label": "delete_invoice()", "file_type": "code", "source_file": "app/api/bx/invoice.py", "source_location": "L194"}, {"id": "users_wuzilong_work_00code_shanxia2_0_backend_app_api_bx_invoice_list_invoice_ledgers", "label": "list_invoice_ledgers()", "file_type": "code", "source_file": "app/api/bx/invoice.py", "source_location": "L209"}, {"id": "users_wuzilong_work_00code_shanxia2_0_backend_app_api_bx_invoice_rationale_120", "label": "\u4e00\u6b21\u4e0a\u4f20\u4e00\u6761\u53d1\u7968\uff1a\u591a\u6587\u4ef6\u6302\u540c\u4e00\u6863\u6848\uff0c\u91d1\u989d\u4e3a\u603b\u989d\uff0c\u53ea\u5199\u4e00\u6761\u989d\u5ea6\u6d41\u6c34\u3002 \u4f7f\u7528 request.form().getlist\uff0c\u517c\u5bb9\u53ea\u4f20 1 \u4e2a\u6587\u4ef6\u65f6 Fas", "file_type": "rationale", "source_file": "app/api/bx/invoice.py", "source_location": "L120"}], "edges": [{"source": "users_wuzilong_work_00code_shanxia2_0_backend_app_api_bx_invoice_py", "target": "mimetypes", "relation": "imports", "context": "import", "confidence": "EXTRACTED", "source_file": "app/api/bx/invoice.py", "source_location": "L1", "weight": 1.0}, {"source": "users_wuzilong_work_00code_shanxia2_0_backend_app_api_bx_invoice_py", "target": "typing", "relation": "imports_from", "context": "import", "confidence": "EXTRACTED", "source_file": "app/api/bx/invoice.py", "source_location": "L2", "weight": 1.0}, {"source": "users_wuzilong_work_00code_shanxia2_0_backend_app_api_bx_invoice_py", "target": "fastapi", "relation": "imports_from", "context": "import", "confidence": "EXTRACTED", "source_file": "app/api/bx/invoice.py", "source_location": "L4", "weight": 1.0}, {"source": "users_wuzilong_work_00code_shanxia2_0_backend_app_api_bx_invoice_py", "target": "sqlalchemy_orm", "relation": "imports_from", "context": "import", "confidence": "EXTRACTED", "source_file": "app/api/bx/invoice.py", "source_location": "L5", "weight": 1.0}, {"source": "users_wuzilong_work_00code_shanxia2_0_backend_app_api_bx_invoice_py", "target": "starlette_datastructures", "relation": "imports_from", "context": "import", "confidence": "EXTRACTED", "source_file": "app/api/bx/invoice.py", "source_location": "L6", "weight": 1.0}, {"source": "users_wuzilong_work_00code_shanxia2_0_backend_app_api_bx_invoice_py", "target": "app_api_bx_export_common", "relation": "imports_from", "context": "import", "confidence": "EXTRACTED", "source_file": "app/api/bx/invoice.py", "source_location": "L8", "weight": 1.0}, {"source": "users_wuzilong_work_00code_shanxia2_0_backend_app_api_bx_invoice_py", "target": "app_core_bx_auth", "relation": "imports_from", "context": "import", "confidence": "EXTRACTED", "source_file": "app/api/bx/invoice.py", "source_location": "L16", "weight": 1.0}, {"source":Line truncated
@@ -0,0 +1 @@
{"nodes": [{"id": "users_wuzilong_work_00code_shanxia2_0_backend_app_api_pl_inventory_py", "label": "inventory.py", "file_type": "code", "source_file": "app/api/pl/inventory.py", "source_location": "L1"}, {"id": "users_wuzilong_work_00code_shanxia2_0_backend_app_api_pl_inventory_get_inventory_ledger", "label": "get_inventory_ledger()", "file_type": "code", "source_file": "app/api/pl/inventory.py", "source_location": "L58"}, {"id": "session", "label": "Session", "file_type": "code", "source_file": "", "source_location": "", "origin_file": "/Users/wuzilong/work/00code/shanxia2.0/backend/app/api/pl/inventory.py"}, {"id": "dbusercontext", "label": "DbUserContext", "file_type": "code", "source_file": "", "source_location": "", "origin_file": "/Users/wuzilong/work/00code/shanxia2.0/backend/app/api/pl/inventory.py"}, {"id": "inventoryledgerresponse", "label": "InventoryLedgerResponse", "file_type": "code", "source_file": "", "source_location": "", "origin_file": "/Users/wuzilong/work/00code/shanxia2.0/backend/app/api/pl/inventory.py"}, {"id": "users_wuzilong_work_00code_shanxia2_0_backend_app_api_pl_inventory_inventoryledgerexportbody", "label": "InventoryLedgerExportBody", "file_type": "code", "source_file": "app/api/pl/inventory.py", "source_location": "L101"}, {"id": "basemodel", "label": "BaseModel", "file_type": "code", "source_file": "", "source_location": ""}, {"id": "users_wuzilong_work_00code_shanxia2_0_backend_app_api_pl_inventory_export_inventory_ledger", "label": "export_inventory_ledger()", "file_type": "code", "source_file": "app/api/pl/inventory.py", "source_location": "L109"}, {"id": "users_wuzilong_work_00code_shanxia2_0_backend_app_api_pl_inventory_set_warning_threshold", "label": "set_warning_threshold()", "file_type": "code", "source_file": "app/api/pl/inventory.py", "source_location": "L151"}, {"id": "inventorywarningthreshold", "label": "InventoryWarningThreshold", "file_type": "code", "source_file": "", "source_location": "", "origin_file": "/Users/wuzilong/work/00code/shanxia2.0/backend/app/api/pl/inventory.py"}, {"id": "users_wuzilong_work_00code_shanxia2_0_backend_app_api_pl_inventory_list_warnings", "label": "list_warnings()", "file_type": "code", "source_file": "app/api/pl/inventory.py", "source_location": "L206"}, {"id": "inventorywarningread", "label": "InventoryWarningRead", "file_type": "code", "source_file": "", "source_location": "", "origin_file": "/Users/wuzilong/work/00code/shanxia2.0/backend/app/api/pl/inventory.py"}, {"id": "users_wuzilong_work_00code_shanxia2_0_backend_app_api_pl_inventory_update_warning", "label": "update_warning()", "file_type": "code", "source_file": "app/api/pl/inventory.py", "source_location": "L225"}, {"id": "inventorywarningupdate", "label": "InventoryWarningUpdate", "file_type": "code", "source_file": "", "source_location": "", "origin_file": "/Users/wuzilong/work/00code/shanxia2.0/backend/app/api/pl/inventory.py"}, {"id": "users_wuzilong_work_00code_shanxia2_0_backend_app_api_pl_inventory_list_transactions", "label": "list_transactions()", "file_type": "code", "source_file": "app/api/pl/inventory.py", "source_location": "L265"}, {"id": "date", "label": "date", "file_type": "code", "source_file": "", "source_location": "", "origin_file": "/Users/wuzilong/work/00code/shanxia2.0/backend/app/api/pl/inventory.py"}, {"id": "inventorytransactionresponse", "label": "InventoryTransactionResponse", "file_type": "code", "source_file": "", "source_location": "", "origin_file": "/Users/wuzilong/work/00code/shanxia2.0/backend/app/api/pl/inventory.py"}, {"id": "users_wuzilong_work_00code_shanxia2_0_backend_app_api_pl_inventory_get_summary", "label": "get_summary()", "file_type": "code", "source_file": "app/api/pl/inventory.py", "source_location": "L308"}, {"id": "inventorysummaryresponse", "label": "InventorySummaryResponse", "file_type": "code", "source_file": "", "source_location": "", "origin_file": "/Users/wuzilong/work/00code/shanxia2.0/backend/app/api/pl/inventory.py"}, {"id": "users_wuzilong_work_00code_shanxia2_0_backend_app_api_pl_inventory_document_reminder_stats", "label": "document_reminder_stats()", "file_type": "code", "source_file": "app/api/pl/inventory.py", "source_location": "L370"}, {"id": "documentreminderstatsread", "label": "DocumentReminderStatsRead", "file_type": "code", "source_file": "", "source_location": "", "origin_file": "/Users/wuzilong/work/00code/shanxia2.0/backend/app/api/pl/inventory.py"}, {"id": "users_wuzilong_work_00code_shanxia2_0_backend_app_api_pl_inventory_list_document_reminders", "label": "list_document_reminders()", "file_type": "code", "source_file": "app/api/pl/inventory.py", "source_location": "L390"}, {"id": "documentreminderread", "label": "DocumentReminderRead", "file_type": "code", "source_file": "", "source_location": "", "origin_file": "/Users/wuzilong/work/00code/shanxia2.0/backend/app/api/pl/inventory.py"}, {"id": "users_wuzilong_work_00code_shanxia2_0_backend_app_api_pl_inventory_documentreminderexportbody"Line truncated
@@ -0,0 +1 @@
{"nodes": [{"id": "users_wuzilong_work_00code_shanxia2_0_backend_app_api_pl_transport_address_py", "label": "transport_address.py", "file_type": "code", "source_file": "app/api/pl/transport_address.py", "source_location": "L1"}, {"id": "users_wuzilong_work_00code_shanxia2_0_backend_app_api_pl_transport_address_address_to_read", "label": "_address_to_read()", "file_type": "code", "source_file": "app/api/pl/transport_address.py", "source_location": "L24"}, {"id": "pltransportaddress", "label": "PlTransportAddress", "file_type": "code", "source_file": "", "source_location": "", "origin_file": "/Users/wuzilong/work/00code/shanxia2.0/backend/app/api/pl/transport_address.py"}, {"id": "transportaddressread", "label": "TransportAddressRead", "file_type": "code", "source_file": "", "source_location": "", "origin_file": "/Users/wuzilong/work/00code/shanxia2.0/backend/app/api/pl/transport_address.py"}, {"id": "users_wuzilong_work_00code_shanxia2_0_backend_app_api_pl_transport_address_get_address", "label": "_get_address()", "file_type": "code", "source_file": "app/api/pl/transport_address.py", "source_location": "L28"}, {"id": "session", "label": "Session", "file_type": "code", "source_file": "", "source_location": "", "origin_file": "/Users/wuzilong/work/00code/shanxia2.0/backend/app/api/pl/transport_address.py"}, {"id": "dbusercontext", "label": "DbUserContext", "file_type": "code", "source_file": "", "source_location": "", "origin_file": "/Users/wuzilong/work/00code/shanxia2.0/backend/app/api/pl/transport_address.py"}, {"id": "users_wuzilong_work_00code_shanxia2_0_backend_app_api_pl_transport_address_build_address_query", "label": "_build_address_query()", "file_type": "code", "source_file": "app/api/pl/transport_address.py", "source_location": "L45"}, {"id": "users_wuzilong_work_00code_shanxia2_0_backend_app_api_pl_transport_address_list_transport_addresses", "label": "list_transport_addresses()", "file_type": "code", "source_file": "app/api/pl/transport_address.py", "source_location": "L56"}, {"id": "transportaddresslistresponse", "label": "TransportAddressListResponse", "file_type": "code", "source_file": "", "source_location": "", "origin_file": "/Users/wuzilong/work/00code/shanxia2.0/backend/app/api/pl/transport_address.py"}, {"id": "users_wuzilong_work_00code_shanxia2_0_backend_app_api_pl_transport_address_list_all_transport_addresses", "label": "list_all_transport_addresses()", "file_type": "code", "source_file": "app/api/pl/transport_address.py", "source_location": "L96"}, {"id": "users_wuzilong_work_00code_shanxia2_0_backend_app_api_pl_transport_address_create_transport_address", "label": "create_transport_address()", "file_type": "code", "source_file": "app/api/pl/transport_address.py", "source_location": "L123"}, {"id": "transportaddresscreate", "label": "TransportAddressCreate", "file_type": "code", "source_file": "", "source_location": "", "origin_file": "/Users/wuzilong/work/00code/shanxia2.0/backend/app/api/pl/transport_address.py"}, {"id": "users_wuzilong_work_00code_shanxia2_0_backend_app_api_pl_transport_address_get_transport_address", "label": "get_transport_address()", "file_type": "code", "source_file": "app/api/pl/transport_address.py", "source_location": "L150"}, {"id": "users_wuzilong_work_00code_shanxia2_0_backend_app_api_pl_transport_address_update_transport_address", "label": "update_transport_address()", "file_type": "code", "source_file": "app/api/pl/transport_address.py", "source_location": "L161"}, {"id": "transportaddressupdate", "label": "TransportAddressUpdate", "file_type": "code", "source_file": "", "source_location": "", "origin_file": "/Users/wuzilong/work/00code/shanxia2.0/backend/app/api/pl/transport_address.py"}, {"id": "users_wuzilong_work_00code_shanxia2_0_backend_app_api_pl_transport_address_delete_transport_address", "label": "delete_transport_address()", "file_type": "code", "source_file": "app/api/pl/transport_address.py", "source_location": "L182"}, {"id": "users_wuzilong_work_00code_shanxia2_0_backend_app_api_pl_transport_address_rationale_101", "label": "\u9009\u62e9\u5668\u7528\uff1a\u4ec5\u8fd4\u56de\u542f\u7528\u4e2d\u7684\u5730\u5740\uff08\u4e0d\u5206\u9875\uff09\u3002q \u4ec5\u5339\u914d address_name\u3001full_address\u3002", "file_type": "rationale", "source_file": "app/api/pl/transport_address.py", "source_location": "L101"}], "edges": [{"source": "users_wuzilong_work_00code_shanxia2_0_backend_app_api_pl_transport_address_py", "target": "typing", "relation": "imports_from", "context": "import", "confidence": "EXTRACTED", "source_file": "app/api/pl/transport_address.py", "source_location": "L2", "weight": 1.0}, {"source": "users_wuzilong_work_00code_shanxia2_0_backend_app_api_pl_transport_address_py", "target": "fastapi", "relation": "imports_from", "context": "import", "confidence": "EXTRACTED", "source_file": "app/api/pl/transport_address.py", "source_location": "L4", "weight": 1.0}, {"source": "users_wuzilong_work_00code_shanxia2_0_backend_app_api_pl_transLine truncated
@@ -0,0 +1 @@
{"nodes": [{"id": "users_wuzilong_work_00code_shanxia2_0_backend_app_schemas_crm_customer_follow_py", "label": "customer_follow.py", "file_type": "code", "source_file": "app/schemas/crm/customer_follow.py", "source_location": "L1"}, {"id": "users_wuzilong_work_00code_shanxia2_0_backend_app_schemas_crm_customer_follow_customerfollowlistbody", "label": "CustomerFollowListBody", "file_type": "code", "source_file": "app/schemas/crm/customer_follow.py", "source_location": "L8"}, {"id": "basemodel", "label": "BaseModel", "file_type": "code", "source_file": "", "source_location": ""}, {"id": "users_wuzilong_work_00code_shanxia2_0_backend_app_schemas_crm_customer_follow_customerfollowcreatebody", "label": "CustomerFollowCreateBody", "file_type": "code", "source_file": "app/schemas/crm/customer_follow.py", "source_location": "L21"}, {"id": "users_wuzilong_work_00code_shanxia2_0_backend_app_schemas_crm_customer_follow_customerfollowupdatebody", "label": "CustomerFollowUpdateBody", "file_type": "code", "source_file": "app/schemas/crm/customer_follow.py", "source_location": "L36"}, {"id": "users_wuzilong_work_00code_shanxia2_0_backend_app_schemas_crm_customer_follow_customerfollowdeletebody", "label": "CustomerFollowDeleteBody", "file_type": "code", "source_file": "app/schemas/crm/customer_follow.py", "source_location": "L52"}, {"id": "users_wuzilong_work_00code_shanxia2_0_backend_app_schemas_crm_customer_follow_customerfollowdetailbody", "label": "CustomerFollowDetailBody", "file_type": "code", "source_file": "app/schemas/crm/customer_follow.py", "source_location": "L56"}, {"id": "users_wuzilong_work_00code_shanxia2_0_backend_app_schemas_crm_customer_follow_customerfollowbycustomerbody", "label": "CustomerFollowByCustomerBody", "file_type": "code", "source_file": "app/schemas/crm/customer_follow.py", "source_location": "L60"}, {"id": "users_wuzilong_work_00code_shanxia2_0_backend_app_schemas_crm_customer_follow_rationale_1", "label": "CRM \u5ba2\u6237\u8ddf\u8fdb\u8bb0\u5f55 Pydantic Schemas", "file_type": "rationale", "source_file": "app/schemas/crm/customer_follow.py", "source_location": "L1"}], "edges": [{"source": "users_wuzilong_work_00code_shanxia2_0_backend_app_schemas_crm_customer_follow_py", "target": "typing", "relation": "imports_from", "context": "import", "confidence": "EXTRACTED", "source_file": "app/schemas/crm/customer_follow.py", "source_location": "L3", "weight": 1.0}, {"source": "users_wuzilong_work_00code_shanxia2_0_backend_app_schemas_crm_customer_follow_py", "target": "pydantic", "relation": "imports_from", "context": "import", "confidence": "EXTRACTED", "source_file": "app/schemas/crm/customer_follow.py", "source_location": "L5", "weight": 1.0}, {"source": "users_wuzilong_work_00code_shanxia2_0_backend_app_schemas_crm_customer_follow_py", "target": "users_wuzilong_work_00code_shanxia2_0_backend_app_schemas_crm_customer_follow_customerfollowlistbody", "relation": "contains", "confidence": "EXTRACTED", "source_file": "app/schemas/crm/customer_follow.py", "source_location": "L8", "weight": 1.0}, {"source": "users_wuzilong_work_00code_shanxia2_0_backend_app_schemas_crm_customer_follow_customerfollowlistbody", "target": "basemodel", "relation": "inherits", "confidence": "EXTRACTED", "source_file": "app/schemas/crm/customer_follow.py", "source_location": "L8", "weight": 1.0}, {"source": "users_wuzilong_work_00code_shanxia2_0_backend_app_schemas_crm_customer_follow_py", "target": "users_wuzilong_work_00code_shanxia2_0_backend_app_schemas_crm_customer_follow_customerfollowcreatebody", "relation": "contains", "confidence": "EXTRACTED", "source_file": "app/schemas/crm/customer_follow.py", "source_location": "L21", "weight": 1.0}, {"source": "users_wuzilong_work_00code_shanxia2_0_backend_app_schemas_crm_customer_follow_customerfollowcreatebody", "target": "basemodel", "relation": "inherits", "confidence": "EXTRACTED", "source_file": "app/schemas/crm/customer_follow.py", "source_location": "L21", "weight": 1.0}, {"source": "users_wuzilong_work_00code_shanxia2_0_backend_app_schemas_crm_customer_follow_py", "target": "users_wuzilong_work_00code_shanxia2_0_backend_app_schemas_crm_customer_follow_customerfollowupdatebody", "relation": "contains", "confidence": "EXTRACTED", "source_file": "app/schemas/crm/customer_follow.py", "source_location": "L36", "weight": 1.0}, {"source": "users_wuzilong_work_00code_shanxia2_0_backend_app_schemas_crm_customer_follow_customerfollowupdatebody", "target": "basemodel", "relation": "inherits", "confidence": "EXTRACTED", "source_file": "app/schemas/crm/customer_follow.py", "source_location": "L36", "weight": 1.0}, {"source": "users_wuzilong_work_00code_shanxia2_0_backend_app_schemas_crm_customer_follow_py", "target": "users_wuzilong_work_00code_shanxia2_0_backend_app_schemas_crm_customer_follow_customerfollowdeletebody", "relation": "contains", "confidence": "EXTRACTED", "source_file": "app/schemas/crm/customer_follow.py", "source_location": "L52", "weight": 1.0}, {"source": "uLine truncated
@@ -0,0 +1 @@
{"nodes": [{"id": "users_wuzilong_work_00code_shanxia2_0_backend_app_crud_dict_data_py", "label": "dict_data.py", "file_type": "code", "source_file": "app/crud/dict_data.py", "source_location": "L1"}, {"id": "users_wuzilong_work_00code_shanxia2_0_backend_app_crud_dict_data_row_to_dict", "label": "_row_to_dict()", "file_type": "code", "source_file": "app/crud/dict_data.py", "source_location": "L16"}, {"id": "sysdictdata", "label": "SysDictData", "file_type": "code", "source_file": "", "source_location": "", "origin_file": "/Users/wuzilong/work/00code/shanxia2.0/backend/app/crud/dict_data.py"}, {"id": "any", "label": "Any", "file_type": "code", "source_file": "", "source_location": "", "origin_file": "/Users/wuzilong/work/00code/shanxia2.0/backend/app/crud/dict_data.py"}, {"id": "users_wuzilong_work_00code_shanxia2_0_backend_app_crud_dict_data_list_dict_data", "label": "list_dict_data()", "file_type": "code", "source_file": "app/crud/dict_data.py", "source_location": "L32"}, {"id": "session", "label": "Session", "file_type": "code", "source_file": "", "source_location": "", "origin_file": "/Users/wuzilong/work/00code/shanxia2.0/backend/app/crud/dict_data.py"}, {"id": "users_wuzilong_work_00code_shanxia2_0_backend_app_crud_dict_data_get_dict_data", "label": "get_dict_data()", "file_type": "code", "source_file": "app/crud/dict_data.py", "source_location": "L68"}, {"id": "users_wuzilong_work_00code_shanxia2_0_backend_app_crud_dict_data_create_dict_data", "label": "create_dict_data()", "file_type": "code", "source_file": "app/crud/dict_data.py", "source_location": "L76"}, {"id": "users_wuzilong_work_00code_shanxia2_0_backend_app_crud_dict_data_update_dict_data", "label": "update_dict_data()", "file_type": "code", "source_file": "app/crud/dict_data.py", "source_location": "L110"}, {"id": "users_wuzilong_work_00code_shanxia2_0_backend_app_crud_dict_data_soft_delete_dict_data", "label": "soft_delete_dict_data()", "file_type": "code", "source_file": "app/crud/dict_data.py", "source_location": "L142"}, {"id": "users_wuzilong_work_00code_shanxia2_0_backend_app_crud_dict_data_list_dict_data_options", "label": "list_dict_data_options()", "file_type": "code", "source_file": "app/crud/dict_data.py", "source_location": "L153"}, {"id": "users_wuzilong_work_00code_shanxia2_0_backend_app_crud_dict_data_total_pages", "label": "total_pages()", "file_type": "code", "source_file": "app/crud/dict_data.py", "source_location": "L171"}, {"id": "users_wuzilong_work_00code_shanxia2_0_backend_app_crud_dict_data_rationale_1", "label": "\u5b57\u5178\u6570\u636e CRUD\uff08sys_dict_data\uff09", "file_type": "rationale", "source_file": "app/crud/dict_data.py", "source_location": "L1"}, {"id": "users_wuzilong_work_00code_shanxia2_0_backend_app_crud_dict_data_rationale_160", "label": "\u5b57\u5178\u4e0b\u62c9\u9009\u9879\uff1a\u79df\u6237\u4e3b\u6570\u636e\uff0c\u5ffd\u7565\u6570\u636e\u8303\u56f4\uff08user_info \u4fdd\u7559\u517c\u5bb9\u8c03\u7528\u65b9\uff0c\u4e0d\u53c2\u4e0e\u8fc7\u6ee4\uff09\u3002", "file_type": "rationale", "source_file": "app/crud/dict_data.py", "source_location": "L160"}], "edges": [{"source": "users_wuzilong_work_00code_shanxia2_0_backend_app_crud_dict_data_py", "target": "math", "relation": "imports", "context": "import", "confidence": "EXTRACTED", "source_file": "app/crud/dict_data.py", "source_location": "L4", "weight": 1.0}, {"source": "users_wuzilong_work_00code_shanxia2_0_backend_app_crud_dict_data_py", "target": "datetime", "relation": "imports_from", "context": "import", "confidence": "EXTRACTED", "source_file": "app/crud/dict_data.py", "source_location": "L5", "weight": 1.0}, {"source": "users_wuzilong_work_00code_shanxia2_0_backend_app_crud_dict_data_py", "target": "typing", "relation": "imports_from", "context": "import", "confidence": "EXTRACTED", "source_file": "app/crud/dict_data.py", "source_location": "L6", "weight": 1.0}, {"source": "users_wuzilong_work_00code_shanxia2_0_backend_app_crud_dict_data_py", "target": "sqlalchemy", "relation": "imports_from", "context": "import", "confidence": "EXTRACTED", "source_file": "app/crud/dict_data.py", "source_location": "L8", "weight": 1.0}, {"source": "users_wuzilong_work_00code_shanxia2_0_backend_app_crud_dict_data_py", "target": "sqlalchemy_orm", "relation": "imports_from", "context": "import", "confidence": "EXTRACTED", "source_file": "app/crud/dict_data.py", "source_location": "L9", "weight": 1.0}, {"source": "users_wuzilong_work_00code_shanxia2_0_backend_app_crud_dict_data_py", "target": "app_core_delete_guard", "relation": "imports_from", "context": "import", "confidence": "EXTRACTED", "source_file": "app/crud/dict_data.py", "source_location": "L11", "weight": 1.0}, {"source": "users_wuzilong_work_00code_shanxia2_0_backend_app_crud_dict_data_py", "target": "app_core_utils", "relation": "imports_from", "context": "import", "confidence": "EXTRACTED", "source_file": "app/crud/dict_data.py", "source_location": "L12", "weight": 1.0}, {"source": "users_wuzilong_wLine truncated
@@ -0,0 +1 @@
{"nodes": [{"id": "users_wuzilong_work_00code_shanxia2_0_backend_app_schemas_crm_contract_py", "label": "contract.py", "file_type": "code", "source_file": "app/schemas/crm/contract.py", "source_location": "L1"}, {"id": "users_wuzilong_work_00code_shanxia2_0_backend_app_schemas_crm_contract_contractproductpricetieritem", "label": "ContractProductPriceTierItem", "file_type": "code", "source_file": "app/schemas/crm/contract.py", "source_location": "L8"}, {"id": "basemodel", "label": "BaseModel", "file_type": "code", "source_file": "", "source_location": ""}, {"id": "users_wuzilong_work_00code_shanxia2_0_backend_app_schemas_crm_contract_contractproductitem", "label": "ContractProductItem", "file_type": "code", "source_file": "app/schemas/crm/contract.py", "source_location": "L23"}, {"id": "users_wuzilong_work_00code_shanxia2_0_backend_app_schemas_crm_contract_contractlistquery", "label": "ContractListQuery", "file_type": "code", "source_file": "app/schemas/crm/contract.py", "source_location": "L57"}, {"id": "users_wuzilong_work_00code_shanxia2_0_backend_app_schemas_crm_contract_contractcreatebody", "label": "ContractCreateBody", "file_type": "code", "source_file": "app/schemas/crm/contract.py", "source_location": "L87"}, {"id": "users_wuzilong_work_00code_shanxia2_0_backend_app_schemas_crm_contract_contractupdatebody", "label": "ContractUpdateBody", "file_type": "code", "source_file": "app/schemas/crm/contract.py", "source_location": "L151"}, {"id": "users_wuzilong_work_00code_shanxia2_0_backend_app_schemas_crm_contract_contractsubmitbody", "label": "ContractSubmitBody", "file_type": "code", "source_file": "app/schemas/crm/contract.py", "source_location": "L155"}, {"id": "users_wuzilong_work_00code_shanxia2_0_backend_app_schemas_crm_contract_contractbatchsubmitbody", "label": "ContractBatchSubmitBody", "file_type": "code", "source_file": "app/schemas/crm/contract.py", "source_location": "L161"}, {"id": "users_wuzilong_work_00code_shanxia2_0_backend_app_schemas_crm_contract_contractwithdrawbody", "label": "ContractWithdrawBody", "file_type": "code", "source_file": "app/schemas/crm/contract.py", "source_location": "L167"}, {"id": "users_wuzilong_work_00code_shanxia2_0_backend_app_schemas_crm_contract_contractstatusbody", "label": "ContractStatusBody", "file_type": "code", "source_file": "app/schemas/crm/contract.py", "source_location": "L172"}, {"id": "users_wuzilong_work_00code_shanxia2_0_backend_app_schemas_crm_contract_contractinvalidbody", "label": "ContractInvalidBody", "file_type": "code", "source_file": "app/schemas/crm/contract.py", "source_location": "L177"}, {"id": "users_wuzilong_work_00code_shanxia2_0_backend_app_schemas_crm_contract_contracttemplatesavebody", "label": "ContractTemplateSaveBody", "file_type": "code", "source_file": "app/schemas/crm/contract.py", "source_location": "L183"}, {"id": "users_wuzilong_work_00code_shanxia2_0_backend_app_schemas_crm_contract_contractdeletebody", "label": "ContractDeleteBody", "file_type": "code", "source_file": "app/schemas/crm/contract.py", "source_location": "L189"}, {"id": "users_wuzilong_work_00code_shanxia2_0_backend_app_schemas_crm_contract_contractapprovalactionbody", "label": "ContractApprovalActionBody", "file_type": "code", "source_file": "app/schemas/crm/contract.py", "source_location": "L193"}, {"id": "users_wuzilong_work_00code_shanxia2_0_backend_app_schemas_crm_contract_contractuploadfilebody", "label": "ContractUploadFileBody", "file_type": "code", "source_file": "app/schemas/crm/contract.py", "source_location": "L205"}, {"id": "users_wuzilong_work_00code_shanxia2_0_backend_app_schemas_crm_contract_contractuploadattachmentsbody", "label": "ContractUploadAttachmentsBody", "file_type": "code", "source_file": "app/schemas/crm/contract.py", "source_location": "L210"}, {"id": "users_wuzilong_work_00code_shanxia2_0_backend_app_schemas_crm_contract_contractexportbody", "label": "ContractExportBody", "file_type": "code", "source_file": "app/schemas/crm/contract.py", "source_location": "L218"}, {"id": "users_wuzilong_work_00code_shanxia2_0_backend_app_schemas_crm_contract_contractstatisticsoverviewquery", "label": "ContractStatisticsOverviewQuery", "file_type": "code", "source_file": "app/schemas/crm/contract.py", "source_location": "L225"}, {"id": "users_wuzilong_work_00code_shanxia2_0_backend_app_schemas_crm_contract_contractstatisticstrendquery", "label": "ContractStatisticsTrendQuery", "file_type": "code", "source_file": "app/schemas/crm/contract.py", "source_location": "L231"}, {"id": "users_wuzilong_work_00code_shanxia2_0_backend_app_schemas_crm_contract_contractrenewbody", "label": "ContractRenewBody", "file_type": "code", "source_file": "app/schemas/crm/contract.py", "source_location": "L237"}, {"id": "users_wuzilong_work_00code_shanxia2_0_backend_app_schemas_crm_contract_contractapprovalpassbody", "label": "ContractApprovalPassBody", "file_type": "code", "source_file": "app/schemas/crm/contract.py", "source_location": "L241"}, {"id": "users_wuLine truncated
@@ -0,0 +1 @@
{"nodes": [{"id": "users_wuzilong_work_00code_shanxia2_0_backend_app_api_pl_inventory_py", "label": "inventory.py", "file_type": "code", "source_file": "app/api/pl/inventory.py", "source_location": "L1"}, {"id": "users_wuzilong_work_00code_shanxia2_0_backend_app_api_pl_inventory_get_inventory_ledger", "label": "get_inventory_ledger()", "file_type": "code", "source_file": "app/api/pl/inventory.py", "source_location": "L50"}, {"id": "session", "label": "Session", "file_type": "code", "source_file": "", "source_location": "", "origin_file": "/Users/wuzilong/work/00code/shanxia2.0/backend/app/api/pl/inventory.py"}, {"id": "dbusercontext", "label": "DbUserContext", "file_type": "code", "source_file": "", "source_location": "", "origin_file": "/Users/wuzilong/work/00code/shanxia2.0/backend/app/api/pl/inventory.py"}, {"id": "inventoryledgerresponse", "label": "InventoryLedgerResponse", "file_type": "code", "source_file": "", "source_location": "", "origin_file": "/Users/wuzilong/work/00code/shanxia2.0/backend/app/api/pl/inventory.py"}, {"id": "users_wuzilong_work_00code_shanxia2_0_backend_app_api_pl_inventory_set_warning_threshold", "label": "set_warning_threshold()", "file_type": "code", "source_file": "app/api/pl/inventory.py", "source_location": "L81"}, {"id": "inventorywarningthreshold", "label": "InventoryWarningThreshold", "file_type": "code", "source_file": "", "source_location": "", "origin_file": "/Users/wuzilong/work/00code/shanxia2.0/backend/app/api/pl/inventory.py"}, {"id": "users_wuzilong_work_00code_shanxia2_0_backend_app_api_pl_inventory_list_warnings", "label": "list_warnings()", "file_type": "code", "source_file": "app/api/pl/inventory.py", "source_location": "L136"}, {"id": "inventorywarningread", "label": "InventoryWarningRead", "file_type": "code", "source_file": "", "source_location": "", "origin_file": "/Users/wuzilong/work/00code/shanxia2.0/backend/app/api/pl/inventory.py"}, {"id": "users_wuzilong_work_00code_shanxia2_0_backend_app_api_pl_inventory_update_warning", "label": "update_warning()", "file_type": "code", "source_file": "app/api/pl/inventory.py", "source_location": "L155"}, {"id": "inventorywarningupdate", "label": "InventoryWarningUpdate", "file_type": "code", "source_file": "", "source_location": "", "origin_file": "/Users/wuzilong/work/00code/shanxia2.0/backend/app/api/pl/inventory.py"}, {"id": "users_wuzilong_work_00code_shanxia2_0_backend_app_api_pl_inventory_list_transactions", "label": "list_transactions()", "file_type": "code", "source_file": "app/api/pl/inventory.py", "source_location": "L195"}, {"id": "date", "label": "date", "file_type": "code", "source_file": "", "source_location": "", "origin_file": "/Users/wuzilong/work/00code/shanxia2.0/backend/app/api/pl/inventory.py"}, {"id": "inventorytransactionresponse", "label": "InventoryTransactionResponse", "file_type": "code", "source_file": "", "source_location": "", "origin_file": "/Users/wuzilong/work/00code/shanxia2.0/backend/app/api/pl/inventory.py"}, {"id": "users_wuzilong_work_00code_shanxia2_0_backend_app_api_pl_inventory_get_summary", "label": "get_summary()", "file_type": "code", "source_file": "app/api/pl/inventory.py", "source_location": "L238"}, {"id": "inventorysummaryresponse", "label": "InventorySummaryResponse", "file_type": "code", "source_file": "", "source_location": "", "origin_file": "/Users/wuzilong/work/00code/shanxia2.0/backend/app/api/pl/inventory.py"}, {"id": "users_wuzilong_work_00code_shanxia2_0_backend_app_api_pl_inventory_document_reminder_stats", "label": "document_reminder_stats()", "file_type": "code", "source_file": "app/api/pl/inventory.py", "source_location": "L300"}, {"id": "documentreminderstatsread", "label": "DocumentReminderStatsRead", "file_type": "code", "source_file": "", "source_location": "", "origin_file": "/Users/wuzilong/work/00code/shanxia2.0/backend/app/api/pl/inventory.py"}, {"id": "users_wuzilong_work_00code_shanxia2_0_backend_app_api_pl_inventory_list_document_reminders", "label": "list_document_reminders()", "file_type": "code", "source_file": "app/api/pl/inventory.py", "source_location": "L320"}, {"id": "documentreminderread", "label": "DocumentReminderRead", "file_type": "code", "source_file": "", "source_location": "", "origin_file": "/Users/wuzilong/work/00code/shanxia2.0/backend/app/api/pl/inventory.py"}, {"id": "users_wuzilong_work_00code_shanxia2_0_backend_app_api_pl_inventory_update_document_reminder", "label": "update_document_reminder()", "file_type": "code", "source_file": "app/api/pl/inventory.py", "source_location": "L342"}, {"id": "documentreminderupdate", "label": "DocumentReminderUpdate", "file_type": "code", "source_file": "", "source_location": "", "origin_file": "/Users/wuzilong/work/00code/shanxia2.0/backend/app/api/pl/inventory.py"}, {"id": "users_wuzilong_work_00code_shanxia2_0_backend_app_api_pl_inventory_check_document_expiry", "label": "check_document_expiry()", "file_type": "code", "source_file": "app/api/pl/inventory.py", "source_location": "Line truncated
@@ -0,0 +1 @@
{"nodes": [{"id": "users_wuzilong_work_00code_shanxia2_0_backend_app_schemas_crm_product_py", "label": "product.py", "file_type": "code", "source_file": "app/schemas/crm/product.py", "source_location": "L1"}, {"id": "users_wuzilong_work_00code_shanxia2_0_backend_app_schemas_crm_product_productcategorycreatebody", "label": "ProductCategoryCreateBody", "file_type": "code", "source_file": "app/schemas/crm/product.py", "source_location": "L12"}, {"id": "basemodel", "label": "BaseModel", "file_type": "code", "source_file": "", "source_location": ""}, {"id": "users_wuzilong_work_00code_shanxia2_0_backend_app_schemas_crm_product_productcategoryupdatebody", "label": "ProductCategoryUpdateBody", "file_type": "code", "source_file": "app/schemas/crm/product.py", "source_location": "L26"}, {"id": "users_wuzilong_work_00code_shanxia2_0_backend_app_schemas_crm_product_categorydeletebody", "label": "CategoryDeleteBody", "file_type": "code", "source_file": "app/schemas/crm/product.py", "source_location": "L41"}, {"id": "users_wuzilong_work_00code_shanxia2_0_backend_app_schemas_crm_product_productcategorytreebody", "label": "ProductCategoryTreeBody", "file_type": "code", "source_file": "app/schemas/crm/product.py", "source_location": "L47"}, {"id": "users_wuzilong_work_00code_shanxia2_0_backend_app_schemas_crm_product_productupdatestatusbody", "label": "ProductUpdateStatusBody", "file_type": "code", "source_file": "app/schemas/crm/product.py", "source_location": "L56"}, {"id": "users_wuzilong_work_00code_shanxia2_0_backend_app_schemas_crm_product_productlistbody", "label": "ProductListBody", "file_type": "code", "source_file": "app/schemas/crm/product.py", "source_location": "L66"}, {"id": "users_wuzilong_work_00code_shanxia2_0_backend_app_schemas_crm_product_productbranditem", "label": "ProductBrandItem", "file_type": "code", "source_file": "app/schemas/crm/product.py", "source_location": "L95"}, {"id": "users_wuzilong_work_00code_shanxia2_0_backend_app_schemas_crm_product_productaliasitem", "label": "ProductAliasItem", "file_type": "code", "source_file": "app/schemas/crm/product.py", "source_location": "L106"}, {"id": "users_wuzilong_work_00code_shanxia2_0_backend_app_schemas_crm_product_productcreatebody", "label": "ProductCreateBody", "file_type": "code", "source_file": "app/schemas/crm/product.py", "source_location": "L116"}, {"id": "users_wuzilong_work_00code_shanxia2_0_backend_app_schemas_crm_product_productupdatebody", "label": "ProductUpdateBody", "file_type": "code", "source_file": "app/schemas/crm/product.py", "source_location": "L153"}, {"id": "users_wuzilong_work_00code_shanxia2_0_backend_app_schemas_crm_product_productdetailbody", "label": "ProductDetailBody", "file_type": "code", "source_file": "app/schemas/crm/product.py", "source_location": "L191"}, {"id": "users_wuzilong_work_00code_shanxia2_0_backend_app_schemas_crm_product_productdeletebody", "label": "ProductDeleteBody", "file_type": "code", "source_file": "app/schemas/crm/product.py", "source_location": "L197"}, {"id": "users_wuzilong_work_00code_shanxia2_0_backend_app_schemas_crm_product_productoptionsbody", "label": "ProductOptionsBody", "file_type": "code", "source_file": "app/schemas/crm/product.py", "source_location": "L204"}, {"id": "users_wuzilong_work_00code_shanxia2_0_backend_app_schemas_crm_product_rationale_1", "label": "CRM \u4ea7\u54c1\u6a21\u5757 Pydantic Schemas", "file_type": "rationale", "source_file": "app/schemas/crm/product.py", "source_location": "L1"}, {"id": "users_wuzilong_work_00code_shanxia2_0_backend_app_schemas_crm_product_rationale_48", "label": "\u4ea7\u54c1\u5206\u7c7b\u6811\u67e5\u8be2\uff08\u5bc6\u6587\u89e3\u5bc6\u540e\u987b\u7528 Pydantic \u7ed1\u5b9a\uff0c\u88f8 dict=None \u5728\u90e8\u5206\u94fe\u8def\u4e0b\u4f1a\u4e22 body\uff09", "file_type": "rationale", "source_file": "app/schemas/crm/product.py", "source_location": "L48"}], "edges": [{"source": "users_wuzilong_work_00code_shanxia2_0_backend_app_schemas_crm_product_py", "target": "decimal", "relation": "imports_from", "context": "import", "confidence": "EXTRACTED", "source_file": "app/schemas/crm/product.py", "source_location": "L3", "weight": 1.0}, {"source": "users_wuzilong_work_00code_shanxia2_0_backend_app_schemas_crm_product_py", "target": "typing", "relation": "imports_from", "context": "import", "confidence": "EXTRACTED", "source_file": "app/schemas/crm/product.py", "source_location": "L4", "weight": 1.0}, {"source": "users_wuzilong_work_00code_shanxia2_0_backend_app_schemas_crm_product_py", "target": "pydantic", "relation": "imports_from", "context": "import", "confidence": "EXTRACTED", "source_file": "app/schemas/crm/product.py", "source_location": "L6", "weight": 1.0}, {"source": "users_wuzilong_work_00code_shanxia2_0_backend_app_schemas_crm_product_py", "target": "users_wuzilong_work_00code_shanxia2_0_backend_app_schemas_crm_product_productcategorycreatebody", "relation": "contains", "confidence": "EXTRACTED", "source_file": "app/schemas/crm/product.Line truncated
@@ -0,0 +1 @@
{"nodes": [{"id": "users_wuzilong_work_00code_shanxia2_0_backend_app_schemas_pl_inventory_py", "label": "inventory.py", "file_type": "code", "source_file": "app/schemas/pl/inventory.py", "source_location": "L1"}, {"id": "users_wuzilong_work_00code_shanxia2_0_backend_app_schemas_pl_inventory_inventoryread", "label": "InventoryRead", "file_type": "code", "source_file": "app/schemas/pl/inventory.py", "source_location": "L14"}, {"id": "basemodel", "label": "BaseModel", "file_type": "code", "source_file": "", "source_location": ""}, {"id": "users_wuzilong_work_00code_shanxia2_0_backend_app_schemas_pl_inventory_inventorytransactionread", "label": "InventoryTransactionRead", "file_type": "code", "source_file": "app/schemas/pl/inventory.py", "source_location": "L38"}, {"id": "users_wuzilong_work_00code_shanxia2_0_backend_app_schemas_pl_inventory_inventorywarningread", "label": "InventoryWarningRead", "file_type": "code", "source_file": "app/schemas/pl/inventory.py", "source_location": "L61"}, {"id": "users_wuzilong_work_00code_shanxia2_0_backend_app_schemas_pl_inventory_inventorywarningupdate", "label": "InventoryWarningUpdate", "file_type": "code", "source_file": "app/schemas/pl/inventory.py", "source_location": "L78"}, {"id": "users_wuzilong_work_00code_shanxia2_0_backend_app_schemas_pl_inventory_inventorywarningthreshold", "label": "InventoryWarningThreshold", "file_type": "code", "source_file": "app/schemas/pl/inventory.py", "source_location": "L84"}, {"id": "users_wuzilong_work_00code_shanxia2_0_backend_app_schemas_pl_inventory_documentreminderread", "label": "DocumentReminderRead", "file_type": "code", "source_file": "app/schemas/pl/inventory.py", "source_location": "L98"}, {"id": "users_wuzilong_work_00code_shanxia2_0_backend_app_schemas_pl_inventory_documentreminderupdate", "label": "DocumentReminderUpdate", "file_type": "code", "source_file": "app/schemas/pl/inventory.py", "source_location": "L116"}, {"id": "users_wuzilong_work_00code_shanxia2_0_backend_app_schemas_pl_inventory_documentreminderstatsread", "label": "DocumentReminderStatsRead", "file_type": "code", "source_file": "app/schemas/pl/inventory.py", "source_location": "L122"}, {"id": "users_wuzilong_work_00code_shanxia2_0_backend_app_schemas_pl_inventory_inventoryledgerquery", "label": "InventoryLedgerQuery", "file_type": "code", "source_file": "app/schemas/pl/inventory.py", "source_location": "L132"}, {"id": "users_wuzilong_work_00code_shanxia2_0_backend_app_schemas_pl_inventory_inventoryledgerresponse", "label": "InventoryLedgerResponse", "file_type": "code", "source_file": "app/schemas/pl/inventory.py", "source_location": "L139"}, {"id": "users_wuzilong_work_00code_shanxia2_0_backend_app_schemas_pl_inventory_inventorytransactionquery", "label": "InventoryTransactionQuery", "file_type": "code", "source_file": "app/schemas/pl/inventory.py", "source_location": "L144"}, {"id": "users_wuzilong_work_00code_shanxia2_0_backend_app_schemas_pl_inventory_inventorytransactionresponse", "label": "InventoryTransactionResponse", "file_type": "code", "source_file": "app/schemas/pl/inventory.py", "source_location": "L154"}, {"id": "users_wuzilong_work_00code_shanxia2_0_backend_app_schemas_pl_inventory_inventorysummaryquery", "label": "InventorySummaryQuery", "file_type": "code", "source_file": "app/schemas/pl/inventory.py", "source_location": "L159"}, {"id": "users_wuzilong_work_00code_shanxia2_0_backend_app_schemas_pl_inventory_inventorysummaryitem", "label": "InventorySummaryItem", "file_type": "code", "source_file": "app/schemas/pl/inventory.py", "source_location": "L167"}, {"id": "users_wuzilong_work_00code_shanxia2_0_backend_app_schemas_pl_inventory_inventorysummaryresponse", "label": "InventorySummaryResponse", "file_type": "code", "source_file": "app/schemas/pl/inventory.py", "source_location": "L176"}, {"id": "users_wuzilong_work_00code_shanxia2_0_backend_app_schemas_pl_inventory_transportstatsquery", "label": "TransportStatsQuery", "file_type": "code", "source_file": "app/schemas/pl/inventory.py", "source_location": "L180"}, {"id": "users_wuzilong_work_00code_shanxia2_0_backend_app_schemas_pl_inventory_transportstatsitem", "label": "TransportStatsItem", "file_type": "code", "source_file": "app/schemas/pl/inventory.py", "source_location": "L187"}, {"id": "users_wuzilong_work_00code_shanxia2_0_backend_app_schemas_pl_inventory_transportstatsresponse", "label": "TransportStatsResponse", "file_type": "code", "source_file": "app/schemas/pl/inventory.py", "source_location": "L194"}], "edges": [{"source": "users_wuzilong_work_00code_shanxia2_0_backend_app_schemas_pl_inventory_py", "target": "datetime", "relation": "imports_from", "context": "import", "confidence": "EXTRACTED", "source_file": "app/schemas/pl/inventory.py", "source_location": "L2", "weight": 1.0}, {"source": "users_wuzilong_work_00code_shanxia2_0_backend_app_schemas_pl_inventory_py", "target": "decimal", "relation": "imports_from", "context": "import", "confidence": "EXTRACTED", "source_file": Line truncated
@@ -0,0 +1 @@
{"nodes": [{"id": "users_wuzilong_work_00code_shanxia2_0_backend_app_crud_crm_contact_py", "label": "contact.py", "file_type": "code", "source_file": "app/crud/crm/contact.py", "source_location": "L1"}, {"id": "users_wuzilong_work_00code_shanxia2_0_backend_app_crud_crm_contact_total_pages", "label": "total_pages()", "file_type": "code", "source_file": "app/crud/crm/contact.py", "source_location": "L21"}, {"id": "users_wuzilong_work_00code_shanxia2_0_backend_app_crud_crm_contact_parse_optional_date", "label": "_parse_optional_date()", "file_type": "code", "source_file": "app/crud/crm/contact.py", "source_location": "L31"}, {"id": "any", "label": "Any", "file_type": "code", "source_file": "", "source_location": "", "origin_file": "/Users/wuzilong/work/00code/shanxia2.0/backend/app/crud/crm/contact.py"}, {"id": "date", "label": "date", "file_type": "code", "source_file": "", "source_location": "", "origin_file": "/Users/wuzilong/work/00code/shanxia2.0/backend/app/crud/crm/contact.py"}, {"id": "users_wuzilong_work_00code_shanxia2_0_backend_app_crud_crm_contact_row_to_dict", "label": "_row_to_dict()", "file_type": "code", "source_file": "app/crud/crm/contact.py", "source_location": "L49"}, {"id": "crmcontact", "label": "CrmContact", "file_type": "code", "source_file": "", "source_location": "", "origin_file": "/Users/wuzilong/work/00code/shanxia2.0/backend/app/crud/crm/contact.py"}, {"id": "users_wuzilong_work_00code_shanxia2_0_backend_app_crud_crm_contact_list_contacts", "label": "list_contacts()", "file_type": "code", "source_file": "app/crud/crm/contact.py", "source_location": "L78"}, {"id": "session", "label": "Session", "file_type": "code", "source_file": "", "source_location": "", "origin_file": "/Users/wuzilong/work/00code/shanxia2.0/backend/app/crud/crm/contact.py"}, {"id": "users_wuzilong_work_00code_shanxia2_0_backend_app_crud_crm_contact_list_contacts_by_customer", "label": "list_contacts_by_customer()", "file_type": "code", "source_file": "app/crud/crm/contact.py", "source_location": "L154"}, {"id": "users_wuzilong_work_00code_shanxia2_0_backend_app_crud_crm_contact_get_contact", "label": "get_contact()", "file_type": "code", "source_file": "app/crud/crm/contact.py", "source_location": "L183"}, {"id": "users_wuzilong_work_00code_shanxia2_0_backend_app_crud_crm_contact_create_contact", "label": "create_contact()", "file_type": "code", "source_file": "app/crud/crm/contact.py", "source_location": "L194"}, {"id": "users_wuzilong_work_00code_shanxia2_0_backend_app_crud_crm_contact_update_contact", "label": "update_contact()", "file_type": "code", "source_file": "app/crud/crm/contact.py", "source_location": "L255"}, {"id": "users_wuzilong_work_00code_shanxia2_0_backend_app_crud_crm_contact_set_primary_contact", "label": "set_primary_contact()", "file_type": "code", "source_file": "app/crud/crm/contact.py", "source_location": "L296"}, {"id": "users_wuzilong_work_00code_shanxia2_0_backend_app_crud_crm_contact_soft_delete_contact", "label": "soft_delete_contact()", "file_type": "code", "source_file": "app/crud/crm/contact.py", "source_location": "L325"}], "edges": [{"source": "users_wuzilong_work_00code_shanxia2_0_backend_app_crud_crm_contact_py", "target": "math", "relation": "imports", "context": "import", "confidence": "EXTRACTED", "source_file": "app/crud/crm/contact.py", "source_location": "L4", "weight": 1.0}, {"source": "users_wuzilong_work_00code_shanxia2_0_backend_app_crud_crm_contact_py", "target": "datetime", "relation": "imports_from", "context": "import", "confidence": "EXTRACTED", "source_file": "app/crud/crm/contact.py", "source_location": "L5", "weight": 1.0}, {"source": "users_wuzilong_work_00code_shanxia2_0_backend_app_crud_crm_contact_py", "target": "typing", "relation": "imports_from", "context": "import", "confidence": "EXTRACTED", "source_file": "app/crud/crm/contact.py", "source_location": "L6", "weight": 1.0}, {"source": "users_wuzilong_work_00code_shanxia2_0_backend_app_crud_crm_contact_py", "target": "sqlalchemy", "relation": "imports_from", "context": "import", "confidence": "EXTRACTED", "source_file": "app/crud/crm/contact.py", "source_location": "L8", "weight": 1.0}, {"source": "users_wuzilong_work_00code_shanxia2_0_backend_app_crud_crm_contact_py", "target": "sqlalchemy_orm", "relation": "imports_from", "context": "import", "confidence": "EXTRACTED", "source_file": "app/crud/crm/contact.py", "source_location": "L9", "weight": 1.0}, {"source": "users_wuzilong_work_00code_shanxia2_0_backend_app_crud_crm_contact_py", "target": "app_core_delete_guard", "relation": "imports_from", "context": "import", "confidence": "EXTRACTED", "source_file": "app/crud/crm/contact.py", "source_location": "L11", "weight": 1.0}, {"source": "users_wuzilong_work_00code_shanxia2_0_backend_app_crud_crm_contact_py", "target": "app_core_utils", "relation": "imports_from", "context": "import", "confidence": "EXTRACTED", "source_file": "app/crud/crm/contact.py", "source_location": "L12", "weight": 1.0}, {"sourLine truncated
@@ -0,0 +1 @@
{"nodes": [{"id": "users_wuzilong_work_00code_shanxia2_0_backend_app_api_crm_contract_sub_routes_py", "label": "crm_contract_sub_routes.py", "file_type": "code", "source_file": "app/api/crm_contract_sub_routes.py", "source_location": "L1"}, {"id": "users_wuzilong_work_00code_shanxia2_0_backend_app_api_crm_contract_sub_routes_register_contract_sub_routes", "label": "register_contract_sub_routes()", "file_type": "code", "source_file": "app/api/crm_contract_sub_routes.py", "source_location": "L73"}, {"id": "users_wuzilong_work_00code_shanxia2_0_backend_app_api_crm_contract_sub_routes_rationale_1", "label": "CRM \u5408\u540c\u5b50\u6a21\u5757\u8def\u7531 \u2014 \u53d8\u66f4/\u6a21\u677f/\u5ba1\u6279\u72ec\u7acb\u9875", "file_type": "rationale", "source_file": "app/api/crm_contract_sub_routes.py", "source_location": "L1"}], "edges": [{"source": "users_wuzilong_work_00code_shanxia2_0_backend_app_api_crm_contract_sub_routes_py", "target": "datetime", "relation": "imports_from", "context": "import", "confidence": "EXTRACTED", "source_file": "app/api/crm_contract_sub_routes.py", "source_location": "L4", "weight": 1.0}, {"source": "users_wuzilong_work_00code_shanxia2_0_backend_app_api_crm_contract_sub_routes_py", "target": "typing", "relation": "imports_from", "context": "import", "confidence": "EXTRACTED", "source_file": "app/api/crm_contract_sub_routes.py", "source_location": "L5", "weight": 1.0}, {"source": "users_wuzilong_work_00code_shanxia2_0_backend_app_api_crm_contract_sub_routes_py", "target": "fastapi", "relation": "imports_from", "context": "import", "confidence": "EXTRACTED", "source_file": "app/api/crm_contract_sub_routes.py", "source_location": "L7", "weight": 1.0}, {"source": "users_wuzilong_work_00code_shanxia2_0_backend_app_api_crm_contract_sub_routes_py", "target": "sqlalchemy_orm", "relation": "imports_from", "context": "import", "confidence": "EXTRACTED", "source_file": "app/api/crm_contract_sub_routes.py", "source_location": "L8", "weight": 1.0}, {"source": "users_wuzilong_work_00code_shanxia2_0_backend_app_api_crm_contract_sub_routes_py", "target": "app_core_database", "relation": "imports_from", "context": "import", "confidence": "EXTRACTED", "source_file": "app/api/crm_contract_sub_routes.py", "source_location": "L10", "weight": 1.0}, {"source": "users_wuzilong_work_00code_shanxia2_0_backend_app_api_crm_contract_sub_routes_py", "target": "app_core_menu_guard", "relation": "imports_from", "context": "import", "confidence": "EXTRACTED", "source_file": "app/api/crm_contract_sub_routes.py", "source_location": "L11", "weight": 1.0}, {"source": "users_wuzilong_work_00code_shanxia2_0_backend_app_api_crm_contract_sub_routes_py", "target": "app_core_response", "relation": "imports_from", "context": "import", "confidence": "EXTRACTED", "source_file": "app/api/crm_contract_sub_routes.py", "source_location": "L12", "weight": 1.0}, {"source": "users_wuzilong_work_00code_shanxia2_0_backend_app_api_crm_contract_sub_routes_py", "target": "app_core_tenant_context", "relation": "imports_from", "context": "import", "confidence": "EXTRACTED", "source_file": "app/api/crm_contract_sub_routes.py", "source_location": "L13", "weight": 1.0}, {"source": "users_wuzilong_work_00code_shanxia2_0_backend_app_api_crm_contract_sub_routes_py", "target": "app_crud_crm_data_scope_helpers", "relation": "imports_from", "context": "import", "confidence": "EXTRACTED", "source_file": "app/api/crm_contract_sub_routes.py", "source_location": "L14", "weight": 1.0}, {"source": "users_wuzilong_work_00code_shanxia2_0_backend_app_api_crm_contract_sub_routes_py", "target": "app_crud_crm_contract", "relation": "imports_from", "context": "import", "confidence": "EXTRACTED", "source_file": "app/api/crm_contract_sub_routes.py", "source_location": "L15", "weight": 1.0}, {"source": "users_wuzilong_work_00code_shanxia2_0_backend_app_api_crm_contract_sub_routes_py", "target": "app_crud_crm_contract_approval", "relation": "imports_from", "context": "import", "confidence": "EXTRACTED", "source_file": "app/api/crm_contract_sub_routes.py", "source_location": "L34", "weight": 1.0}, {"source": "users_wuzilong_work_00code_shanxia2_0_backend_app_api_crm_contract_sub_routes_py", "target": "app_schemas_crm_contract", "relation": "imports_from", "context": "import", "confidence": "EXTRACTED", "source_file": "app/api/crm_contract_sub_routes.py", "source_location": "L43", "weight": 1.0}, {"source": "users_wuzilong_work_00code_shanxia2_0_backend_app_api_crm_contract_sub_routes_py", "target": "app_utils_crm_export_columns", "relation": "imports_from", "context": "import", "confidence": "EXTRACTED", "source_file": "app/api/crm_contract_sub_routes.py", "source_location": "L60", "weight": 1.0}, {"source": "users_wuzilong_work_00code_shanxia2_0_backend_app_api_crm_contract_sub_routes_py", "target": "app_utils_excel_export", "relation": "imports_from", "context": "import", "confidence": "EXTRACTED", "source_file": "app/api/crm_contract_sub_routes.py", "source_location"Line truncated
@@ -0,0 +1 @@
{"nodes": [{"id": "users_wuzilong_work_00code_shanxia2_0_backend_app_crud_sample_code_py", "label": "sample_code.py", "file_type": "code", "source_file": "app/crud/sample_code.py", "source_location": "L1"}, {"id": "users_wuzilong_work_00code_shanxia2_0_backend_app_crud_sample_code_resolve_issued_user_display_name", "label": "_resolve_issued_user_display_name()", "file_type": "code", "source_file": "app/crud/sample_code.py", "source_location": "L15"}, {"id": "session", "label": "Session", "file_type": "code", "source_file": "", "source_location": "", "origin_file": "/Users/wuzilong/work/00code/shanxia2.0/backend/app/crud/sample_code.py"}, {"id": "users_wuzilong_work_00code_shanxia2_0_backend_app_crud_sample_code_parse_issued_time", "label": "_parse_issued_time()", "file_type": "code", "source_file": "app/crud/sample_code.py", "source_location": "L32"}, {"id": "datetime", "label": "datetime", "file_type": "code", "source_file": "", "source_location": "", "origin_file": "/Users/wuzilong/work/00code/shanxia2.0/backend/app/crud/sample_code.py"}, {"id": "users_wuzilong_work_00code_shanxia2_0_backend_app_crud_sample_code_row_to_dict", "label": "_row_to_dict()", "file_type": "code", "source_file": "app/crud/sample_code.py", "source_location": "L44"}, {"id": "bizsamplecode", "label": "BizSampleCode", "file_type": "code", "source_file": "", "source_location": "", "origin_file": "/Users/wuzilong/work/00code/shanxia2.0/backend/app/crud/sample_code.py"}, {"id": "any", "label": "Any", "file_type": "code", "source_file": "", "source_location": "", "origin_file": "/Users/wuzilong/work/00code/shanxia2.0/backend/app/crud/sample_code.py"}, {"id": "users_wuzilong_work_00code_shanxia2_0_backend_app_crud_sample_code_sample_code_exists", "label": "sample_code_exists()", "file_type": "code", "source_file": "app/crud/sample_code.py", "source_location": "L61"}, {"id": "users_wuzilong_work_00code_shanxia2_0_backend_app_crud_sample_code_list_sample_codes", "label": "list_sample_codes()", "file_type": "code", "source_file": "app/crud/sample_code.py", "source_location": "L73"}, {"id": "users_wuzilong_work_00code_shanxia2_0_backend_app_crud_sample_code_get_sample_code", "label": "get_sample_code()", "file_type": "code", "source_file": "app/crud/sample_code.py", "source_location": "L104"}, {"id": "users_wuzilong_work_00code_shanxia2_0_backend_app_crud_sample_code_create_sample_code", "label": "create_sample_code()", "file_type": "code", "source_file": "app/crud/sample_code.py", "source_location": "L111"}, {"id": "users_wuzilong_work_00code_shanxia2_0_backend_app_crud_sample_code_update_sample_code", "label": "update_sample_code()", "file_type": "code", "source_file": "app/crud/sample_code.py", "source_location": "L167"}, {"id": "users_wuzilong_work_00code_shanxia2_0_backend_app_crud_sample_code_soft_delete_sample_code", "label": "soft_delete_sample_code()", "file_type": "code", "source_file": "app/crud/sample_code.py", "source_location": "L219"}, {"id": "users_wuzilong_work_00code_shanxia2_0_backend_app_crud_sample_code_batch_generate_sample_codes", "label": "batch_generate_sample_codes()", "file_type": "code", "source_file": "app/crud/sample_code.py", "source_location": "L229"}, {"id": "users_wuzilong_work_00code_shanxia2_0_backend_app_crud_sample_code_batch_issue_sample_codes", "label": "batch_issue_sample_codes()", "file_type": "code", "source_file": "app/crud/sample_code.py", "source_location": "L312"}, {"id": "users_wuzilong_work_00code_shanxia2_0_backend_app_crud_sample_code_batch_revoke_sample_codes", "label": "batch_revoke_sample_codes()", "file_type": "code", "source_file": "app/crud/sample_code.py", "source_location": "L357"}, {"id": "users_wuzilong_work_00code_shanxia2_0_backend_app_crud_sample_code_total_pages", "label": "total_pages()", "file_type": "code", "source_file": "app/crud/sample_code.py", "source_location": "L396"}, {"id": "users_wuzilong_work_00code_shanxia2_0_backend_app_crud_sample_code_rationale_1", "label": "\u6837\u672c\u7f16\u7801\u6c60 CRUD\uff08biz_sample_code\uff09", "file_type": "rationale", "source_file": "app/crud/sample_code.py", "source_location": "L1"}, {"id": "users_wuzilong_work_00code_shanxia2_0_backend_app_crud_sample_code_rationale_240", "label": "\u6279\u91cf\u751f\u6210\u6837\u672c\u7f16\u7801: \u7c7b\u578b\u524d\u7f00 + \u4e2d\u95f4\u6bb5 + \u8865\u96f6\u5e8f\u53f7", "file_type": "rationale", "source_file": "app/crud/sample_code.py", "source_location": "L240"}], "edges": [{"source": "users_wuzilong_work_00code_shanxia2_0_backend_app_crud_sample_code_py", "target": "math", "relation": "imports", "context": "import", "confidence": "EXTRACTED", "source_file": "app/crud/sample_code.py", "source_location": "L4", "weight": 1.0}, {"source": "users_wuzilong_work_00code_shanxia2_0_backend_app_crud_sample_code_py", "target": "datetime", "relation": "imports_from", "context": "import", "confidence": "EXTRACTED", "source_file": "app/crud/sample_code.py", "source_location": "L5", "weight": 1.0}, {"sourceLine truncated
@@ -0,0 +1 @@
{"nodes": [{"id": "users_wuzilong_work_00code_shanxia2_0_backend_app_api_bx_advance_py", "label": "advance.py", "file_type": "code", "source_file": "app/api/bx/advance.py", "source_location": "L1"}, {"id": "users_wuzilong_work_00code_shanxia2_0_backend_app_api_bx_advance_tenant", "label": "_tenant()", "file_type": "code", "source_file": "app/api/bx/advance.py", "source_location": "L37"}, {"id": "session", "label": "Session", "file_type": "code", "source_file": "", "source_location": "", "origin_file": "/Users/wuzilong/work/00code/shanxia2.0/backend/app/api/bx/advance.py"}, {"id": "bxusercontext", "label": "BxUserContext", "file_type": "code", "source_file": "", "source_location": "", "origin_file": "/Users/wuzilong/work/00code/shanxia2.0/backend/app/api/bx/advance.py"}, {"id": "users_wuzilong_work_00code_shanxia2_0_backend_app_api_bx_advance_fill_offset_amounts", "label": "_fill_offset_amounts()", "file_type": "code", "source_file": "app/api/bx/advance.py", "source_location": "L41"}, {"id": "advanceapplyout", "label": "AdvanceApplyOut", "file_type": "code", "source_file": "", "source_location": "", "origin_file": "/Users/wuzilong/work/00code/shanxia2.0/backend/app/api/bx/advance.py"}, {"id": "users_wuzilong_work_00code_shanxia2_0_backend_app_api_bx_advance_advance_list_filters", "label": "_advance_list_filters()", "file_type": "code", "source_file": "app/api/bx/advance.py", "source_location": "L62"}, {"id": "bxapplylistexportbody", "label": "BxApplyListExportBody", "file_type": "code", "source_file": "", "source_location": "", "origin_file": "/Users/wuzilong/work/00code/shanxia2.0/backend/app/api/bx/advance.py"}, {"id": "users_wuzilong_work_00code_shanxia2_0_backend_app_api_bx_advance_export_advance_rows", "label": "_export_advance_rows()", "file_type": "code", "source_file": "app/api/bx/advance.py", "source_location": "L87"}, {"id": "users_wuzilong_work_00code_shanxia2_0_backend_app_api_bx_advance_list_advances", "label": "list_advances()", "file_type": "code", "source_file": "app/api/bx/advance.py", "source_location": "L101"}, {"id": "users_wuzilong_work_00code_shanxia2_0_backend_app_api_bx_advance_my_advances", "label": "my_advances()", "file_type": "code", "source_file": "app/api/bx/advance.py", "source_location": "L140"}, {"id": "users_wuzilong_work_00code_shanxia2_0_backend_app_api_bx_advance_my_advance_stats", "label": "my_advance_stats()", "file_type": "code", "source_file": "app/api/bx/advance.py", "source_location": "L181"}, {"id": "users_wuzilong_work_00code_shanxia2_0_backend_app_api_bx_advance_advance_status_counts", "label": "advance_status_counts()", "file_type": "code", "source_file": "app/api/bx/advance.py", "source_location": "L191"}, {"id": "users_wuzilong_work_00code_shanxia2_0_backend_app_api_bx_advance_pending_approval", "label": "pending_approval()", "file_type": "code", "source_file": "app/api/bx/advance.py", "source_location": "L200"}, {"id": "users_wuzilong_work_00code_shanxia2_0_backend_app_api_bx_advance_advance_pending_approval_stats", "label": "advance_pending_approval_stats()", "file_type": "code", "source_file": "app/api/bx/advance.py", "source_location": "L230"}, {"id": "users_wuzilong_work_00code_shanxia2_0_backend_app_api_bx_advance_approved_by_me", "label": "approved_by_me()", "file_type": "code", "source_file": "app/api/bx/advance.py", "source_location": "L240"}, {"id": "users_wuzilong_work_00code_shanxia2_0_backend_app_api_bx_advance_export_advances", "label": "export_advances()", "file_type": "code", "source_file": "app/api/bx/advance.py", "source_location": "L270"}, {"id": "users_wuzilong_work_00code_shanxia2_0_backend_app_api_bx_advance_export_my_advances", "label": "export_my_advances()", "file_type": "code", "source_file": "app/api/bx/advance.py", "source_location": "L296"}, {"id": "users_wuzilong_work_00code_shanxia2_0_backend_app_api_bx_advance_export_pending_approval_advances", "label": "export_pending_approval_advances()", "file_type": "code", "source_file": "app/api/bx/advance.py", "source_location": "L328"}, {"id": "users_wuzilong_work_00code_shanxia2_0_backend_app_api_bx_advance_export_approved_by_me_advances", "label": "export_approved_by_me_advances()", "file_type": "code", "source_file": "app/api/bx/advance.py", "source_location": "L366"}, {"id": "users_wuzilong_work_00code_shanxia2_0_backend_app_api_bx_advance_get_advance", "label": "get_advance()", "file_type": "code", "source_file": "app/api/bx/advance.py", "source_location": "L404"}, {"id": "users_wuzilong_work_00code_shanxia2_0_backend_app_api_bx_advance_get_approvals", "label": "get_approvals()", "file_type": "code", "source_file": "app/api/bx/advance.py", "source_location": "L420"}, {"id": "users_wuzilong_work_00code_shanxia2_0_backend_app_api_bx_advance_get_approval_history", "label": "get_approval_history()", "file_type": "code", "source_file": "app/api/bx/advance.py", "source_location": "L433"}, {"id": "users_wuzilong_work_00code_shanxia2_0_backend_app_api_bx_advance_create_advance", "label": "Line truncated
@@ -0,0 +1 @@
{"nodes": [{"id": "users_wuzilong_work_00code_shanxia2_0_backend_app_services_pl_vehicle_maintenance_service_py", "label": "pl_vehicle_maintenance_service.py", "file_type": "code", "source_file": "app/services/pl_vehicle_maintenance_service.py", "source_location": "L1"}, {"id": "users_wuzilong_work_00code_shanxia2_0_backend_app_services_pl_vehicle_maintenance_service_generate_seq_no", "label": "_generate_seq_no()", "file_type": "code", "source_file": "app/services/pl_vehicle_maintenance_service.py", "source_location": "L32"}, {"id": "session", "label": "Session", "file_type": "code", "source_file": "", "source_location": "", "origin_file": "/Users/wuzilong/work/00code/shanxia2.0/backend/app/services/pl_vehicle_maintenance_service.py"}, {"id": "users_wuzilong_work_00code_shanxia2_0_backend_app_services_pl_vehicle_maintenance_service_generate_apply_no", "label": "generate_apply_no()", "file_type": "code", "source_file": "app/services/pl_vehicle_maintenance_service.py", "source_location": "L46"}, {"id": "users_wuzilong_work_00code_shanxia2_0_backend_app_services_pl_vehicle_maintenance_service_generate_process_no", "label": "generate_process_no()", "file_type": "code", "source_file": "app/services/pl_vehicle_maintenance_service.py", "source_location": "L56"}, {"id": "users_wuzilong_work_00code_shanxia2_0_backend_app_services_pl_vehicle_maintenance_service_resolve_user_name", "label": "_resolve_user_name()", "file_type": "code", "source_file": "app/services/pl_vehicle_maintenance_service.py", "source_location": "L65"}, {"id": "users_wuzilong_work_00code_shanxia2_0_backend_app_services_pl_vehicle_maintenance_service_assert_vehicle_exists", "label": "_assert_vehicle_exists()", "file_type": "code", "source_file": "app/services/pl_vehicle_maintenance_service.py", "source_location": "L76"}, {"id": "users_wuzilong_work_00code_shanxia2_0_backend_app_services_pl_vehicle_maintenance_service_resolve_user_id", "label": "_resolve_user_id()", "file_type": "code", "source_file": "app/services/pl_vehicle_maintenance_service.py", "source_location": "L90"}, {"id": "dbusercontext", "label": "DbUserContext", "file_type": "code", "source_file": "", "source_location": "", "origin_file": "/Users/wuzilong/work/00code/shanxia2.0/backend/app/services/pl_vehicle_maintenance_service.py"}, {"id": "users_wuzilong_work_00code_shanxia2_0_backend_app_services_pl_vehicle_maintenance_service_validate_apply_dates", "label": "_validate_apply_dates()", "file_type": "code", "source_file": "app/services/pl_vehicle_maintenance_service.py", "source_location": "L114"}, {"id": "date", "label": "date", "file_type": "code", "source_file": "", "source_location": "", "origin_file": "/Users/wuzilong/work/00code/shanxia2.0/backend/app/services/pl_vehicle_maintenance_service.py"}, {"id": "users_wuzilong_work_00code_shanxia2_0_backend_app_services_pl_vehicle_maintenance_service_get_apply_row", "label": "_get_apply_row()", "file_type": "code", "source_file": "app/services/pl_vehicle_maintenance_service.py", "source_location": "L125"}, {"id": "plvehiclemaintenanceapply", "label": "PlVehicleMaintenanceApply", "file_type": "code", "source_file": "", "source_location": "", "origin_file": "/Users/wuzilong/work/00code/shanxia2.0/backend/app/services/pl_vehicle_maintenance_service.py"}, {"id": "users_wuzilong_work_00code_shanxia2_0_backend_app_services_pl_vehicle_maintenance_service_get_process_row", "label": "_get_process_row()", "file_type": "code", "source_file": "app/services/pl_vehicle_maintenance_service.py", "source_location": "L143"}, {"id": "plvehiclemaintenanceprocess", "label": "PlVehicleMaintenanceProcess", "file_type": "code", "source_file": "", "source_location": "", "origin_file": "/Users/wuzilong/work/00code/shanxia2.0/backend/app/services/pl_vehicle_maintenance_service.py"}, {"id": "users_wuzilong_work_00code_shanxia2_0_backend_app_services_pl_vehicle_maintenance_service_has_active_process", "label": "_has_active_process()", "file_type": "code", "source_file": "app/services/pl_vehicle_maintenance_service.py", "source_location": "L161"}, {"id": "users_wuzilong_work_00code_shanxia2_0_backend_app_services_pl_vehicle_maintenance_service_apply_to_read", "label": "apply_to_read()", "file_type": "code", "source_file": "app/services/pl_vehicle_maintenance_service.py", "source_location": "L174"}, {"id": "vehiclemaintenanceapplyread", "label": "VehicleMaintenanceApplyRead", "file_type": "code", "source_file": "", "source_location": "", "origin_file": "/Users/wuzilong/work/00code/shanxia2.0/backend/app/services/pl_vehicle_maintenance_service.py"}, {"id": "users_wuzilong_work_00code_shanxia2_0_backend_app_services_pl_vehicle_maintenance_service_process_to_read", "label": "process_to_read()", "file_type": "code", "source_file": "app/services/pl_vehicle_maintenance_service.py", "source_location": "L195"}, {"id": "vehiclemaintenanceprocessread", "label": "VehicleMaintenanceProcessRead", "file_type": "code", "source_file": "", "source_location": "", "origin_file": "/ULine truncated
@@ -0,0 +1 @@
{"nodes": [{"id": "users_wuzilong_work_00code_shanxia2_0_backend_app_crud_crm_customer_follow_py", "label": "customer_follow.py", "file_type": "code", "source_file": "app/crud/crm/customer_follow.py", "source_location": "L1"}, {"id": "users_wuzilong_work_00code_shanxia2_0_backend_app_crud_crm_customer_follow_total_pages", "label": "total_pages()", "file_type": "code", "source_file": "app/crud/crm/customer_follow.py", "source_location": "L18"}, {"id": "users_wuzilong_work_00code_shanxia2_0_backend_app_crud_crm_customer_follow_enrich_follow_dict", "label": "_enrich_follow_dict()", "file_type": "code", "source_file": "app/crud/crm/customer_follow.py", "source_location": "L27"}, {"id": "session", "label": "Session", "file_type": "code", "source_file": "", "source_location": "", "origin_file": "/Users/wuzilong/work/00code/shanxia2.0/backend/app/crud/crm/customer_follow.py"}, {"id": "any", "label": "Any", "file_type": "code", "source_file": "", "source_location": "", "origin_file": "/Users/wuzilong/work/00code/shanxia2.0/backend/app/crud/crm/customer_follow.py"}, {"id": "users_wuzilong_work_00code_shanxia2_0_backend_app_crud_crm_customer_follow_row_to_dict", "label": "_row_to_dict()", "file_type": "code", "source_file": "app/crud/crm/customer_follow.py", "source_location": "L36"}, {"id": "crmcustomerfollow", "label": "CrmCustomerFollow", "file_type": "code", "source_file": "", "source_location": "", "origin_file": "/Users/wuzilong/work/00code/shanxia2.0/backend/app/crud/crm/customer_follow.py"}, {"id": "users_wuzilong_work_00code_shanxia2_0_backend_app_crud_crm_customer_follow_list_follows", "label": "list_follows()", "file_type": "code", "source_file": "app/crud/crm/customer_follow.py", "source_location": "L60"}, {"id": "users_wuzilong_work_00code_shanxia2_0_backend_app_crud_crm_customer_follow_list_follows_by_customer", "label": "list_follows_by_customer()", "file_type": "code", "source_file": "app/crud/crm/customer_follow.py", "source_location": "L117"}, {"id": "users_wuzilong_work_00code_shanxia2_0_backend_app_crud_crm_customer_follow_get_follow", "label": "get_follow()", "file_type": "code", "source_file": "app/crud/crm/customer_follow.py", "source_location": "L140"}, {"id": "users_wuzilong_work_00code_shanxia2_0_backend_app_crud_crm_customer_follow_create_follow", "label": "create_follow()", "file_type": "code", "source_file": "app/crud/crm/customer_follow.py", "source_location": "L151"}, {"id": "users_wuzilong_work_00code_shanxia2_0_backend_app_crud_crm_customer_follow_update_follow", "label": "update_follow()", "file_type": "code", "source_file": "app/crud/crm/customer_follow.py", "source_location": "L204"}, {"id": "users_wuzilong_work_00code_shanxia2_0_backend_app_crud_crm_customer_follow_soft_delete_follow", "label": "soft_delete_follow()", "file_type": "code", "source_file": "app/crud/crm/customer_follow.py", "source_location": "L235"}], "edges": [{"source": "users_wuzilong_work_00code_shanxia2_0_backend_app_crud_crm_customer_follow_py", "target": "math", "relation": "imports", "context": "import", "confidence": "EXTRACTED", "source_file": "app/crud/crm/customer_follow.py", "source_location": "L4", "weight": 1.0}, {"source": "users_wuzilong_work_00code_shanxia2_0_backend_app_crud_crm_customer_follow_py", "target": "datetime", "relation": "imports_from", "context": "import", "confidence": "EXTRACTED", "source_file": "app/crud/crm/customer_follow.py", "source_location": "L5", "weight": 1.0}, {"source": "users_wuzilong_work_00code_shanxia2_0_backend_app_crud_crm_customer_follow_py", "target": "typing", "relation": "imports_from", "context": "import", "confidence": "EXTRACTED", "source_file": "app/crud/crm/customer_follow.py", "source_location": "L6", "weight": 1.0}, {"source": "users_wuzilong_work_00code_shanxia2_0_backend_app_crud_crm_customer_follow_py", "target": "sqlalchemy", "relation": "imports_from", "context": "import", "confidence": "EXTRACTED", "source_file": "app/crud/crm/customer_follow.py", "source_location": "L8", "weight": 1.0}, {"source": "users_wuzilong_work_00code_shanxia2_0_backend_app_crud_crm_customer_follow_py", "target": "sqlalchemy_orm", "relation": "imports_from", "context": "import", "confidence": "EXTRACTED", "source_file": "app/crud/crm/customer_follow.py", "source_location": "L9", "weight": 1.0}, {"source": "users_wuzilong_work_00code_shanxia2_0_backend_app_crud_crm_customer_follow_py", "target": "app_core_delete_guard", "relation": "imports_from", "context": "import", "confidence": "EXTRACTED", "source_file": "app/crud/crm/customer_follow.py", "source_location": "L11", "weight": 1.0}, {"source": "users_wuzilong_work_00code_shanxia2_0_backend_app_crud_crm_customer_follow_py", "target": "app_core_utils", "relation": "imports_from", "context": "import", "confidence": "EXTRACTED", "source_file": "app/crud/crm/customer_follow.py", "source_location": "L12", "weight": 1.0}, {"source": "users_wuzilong_work_00code_shanxia2_0_backend_app_crud_crm_customer_follow_py", "target": "app_crLine truncated
@@ -0,0 +1 @@
{"nodes": [{"id": "users_wuzilong_work_00code_shanxia2_0_backend_app_api_db_plans_py", "label": "plans.py", "file_type": "code", "source_file": "app/api/db/plans.py", "source_location": "L1"}, {"id": "users_wuzilong_work_00code_shanxia2_0_backend_app_api_db_plans_base_query", "label": "_base_query()", "file_type": "code", "source_file": "app/api/db/plans.py", "source_location": "L54"}, {"id": "session", "label": "Session", "file_type": "code", "source_file": "", "source_location": "", "origin_file": "/Users/wuzilong/work/00code/shanxia2.0/backend/app/api/db/plans.py"}, {"id": "users_wuzilong_work_00code_shanxia2_0_backend_app_api_db_plans_list_plans", "label": "list_plans()", "file_type": "code", "source_file": "app/api/db/plans.py", "source_location": "L62"}, {"id": "dbusercontext", "label": "DbUserContext", "file_type": "code", "source_file": "", "source_location": "", "origin_file": "/Users/wuzilong/work/00code/shanxia2.0/backend/app/api/db/plans.py"}, {"id": "purchaseplanwithfilllink", "label": "PurchasePlanWithFillLink", "file_type": "code", "source_file": "", "source_location": "", "origin_file": "/Users/wuzilong/work/00code/shanxia2.0/backend/app/api/db/plans.py"}, {"id": "users_wuzilong_work_00code_shanxia2_0_backend_app_api_db_plans_planexportbody", "label": "PlanExportBody", "file_type": "code", "source_file": "app/api/db/plans.py", "source_location": "L228"}, {"id": "basemodel", "label": "BaseModel", "file_type": "code", "source_file": "", "source_location": ""}, {"id": "users_wuzilong_work_00code_shanxia2_0_backend_app_api_db_plans_export_plans", "label": "export_plans()", "file_type": "code", "source_file": "app/api/db/plans.py", "source_location": "L246"}, {"id": "users_wuzilong_work_00code_shanxia2_0_backend_app_api_db_plans_generate_plan_no", "label": "_generate_plan_no()", "file_type": "code", "source_file": "app/api/db/plans.py", "source_location": "L299"}, {"id": "users_wuzilong_work_00code_shanxia2_0_backend_app_api_db_plans_create_plan", "label": "create_plan()", "file_type": "code", "source_file": "app/api/db/plans.py", "source_location": "L306"}, {"id": "purchaseplancreate", "label": "PurchasePlanCreate", "file_type": "code", "source_file": "", "source_location": "", "origin_file": "/Users/wuzilong/work/00code/shanxia2.0/backend/app/api/db/plans.py"}, {"id": "purchaseplanread", "label": "PurchasePlanRead", "file_type": "code", "source_file": "", "source_location": "", "origin_file": "/Users/wuzilong/work/00code/shanxia2.0/backend/app/api/db/plans.py"}, {"id": "users_wuzilong_work_00code_shanxia2_0_backend_app_api_db_plans_autogeneratemonthlyresult", "label": "AutoGenerateMonthlyResult", "file_type": "code", "source_file": "app/api/db/plans.py", "source_location": "L349"}, {"id": "users_wuzilong_work_00code_shanxia2_0_backend_app_api_db_plans_run_auto_generate_monthly", "label": "run_auto_generate_monthly()", "file_type": "code", "source_file": "app/api/db/plans.py", "source_location": "L356"}, {"id": "users_wuzilong_work_00code_shanxia2_0_backend_app_api_db_plans_get_plan", "label": "get_plan()", "file_type": "code", "source_file": "app/api/db/plans.py", "source_location": "L370"}, {"id": "users_wuzilong_work_00code_shanxia2_0_backend_app_api_db_plans_update_plan", "label": "update_plan()", "file_type": "code", "source_file": "app/api/db/plans.py", "source_location": "L381"}, {"id": "purchaseplanupdate", "label": "PurchasePlanUpdate", "file_type": "code", "source_file": "", "source_location": "", "origin_file": "/Users/wuzilong/work/00code/shanxia2.0/backend/app/api/db/plans.py"}, {"id": "users_wuzilong_work_00code_shanxia2_0_backend_app_api_db_plans_delete_plan", "label": "delete_plan()", "file_type": "code", "source_file": "app/api/db/plans.py", "source_location": "L399"}, {"id": "dbpurchaseplan", "label": "DbPurchasePlan", "file_type": "code", "source_file": "", "source_location": "", "origin_file": "/Users/wuzilong/work/00code/shanxia2.0/backend/app/api/db/plans.py"}, {"id": "users_wuzilong_work_00code_shanxia2_0_backend_app_api_db_plans_get_plan_by_id_only", "label": "_get_plan_by_id_only()", "file_type": "code", "source_file": "app/api/db/plans.py", "source_location": "L436"}, {"id": "users_wuzilong_work_00code_shanxia2_0_backend_app_api_db_plans_apply_plan_product_update", "label": "_apply_plan_product_update()", "file_type": "code", "source_file": "app/api/db/plans.py", "source_location": "L450"}, {"id": "users_wuzilong_work_00code_shanxia2_0_backend_app_api_db_plans_apply_plan_update", "label": "_apply_plan_update()", "file_type": "code", "source_file": "app/api/db/plans.py", "source_location": "L466"}, {"id": "users_wuzilong_work_00code_shanxia2_0_backend_app_api_db_plans_planrelateddata", "label": "PlanRelatedData", "file_type": "code", "source_file": "app/api/db/plans.py", "source_location": "L487"}, {"id": "users_wuzilong_work_00code_shanxia2_0_backend_app_api_db_plans_get_plan_related", "label": "get_plan_related()", "file_type": "code", "source_file": "app/api/db/plansLine truncated
@@ -0,0 +1 @@
{"nodes": [{"id": "users_wuzilong_work_00code_shanxia2_0_backend_app_crud_role_py", "label": "role.py", "file_type": "code", "source_file": "app/crud/role.py", "source_location": "L1"}, {"id": "users_wuzilong_work_00code_shanxia2_0_backend_app_crud_role_row_to_dict", "label": "_row_to_dict()", "file_type": "code", "source_file": "app/crud/role.py", "source_location": "L21"}, {"id": "sysrole", "label": "SysRole", "file_type": "code", "source_file": "", "source_location": "", "origin_file": "/Users/wuzilong/work/00code/shanxia2.0/backend/app/crud/role.py"}, {"id": "any", "label": "Any", "file_type": "code", "source_file": "", "source_location": "", "origin_file": "/Users/wuzilong/work/00code/shanxia2.0/backend/app/crud/role.py"}, {"id": "users_wuzilong_work_00code_shanxia2_0_backend_app_crud_role_total_pages", "label": "total_pages()", "file_type": "code", "source_file": "app/crud/role.py", "source_location": "L36"}, {"id": "users_wuzilong_work_00code_shanxia2_0_backend_app_crud_role_list_roles", "label": "list_roles()", "file_type": "code", "source_file": "app/crud/role.py", "source_location": "L47"}, {"id": "session", "label": "Session", "file_type": "code", "source_file": "", "source_location": "", "origin_file": "/Users/wuzilong/work/00code/shanxia2.0/backend/app/crud/role.py"}, {"id": "users_wuzilong_work_00code_shanxia2_0_backend_app_crud_role_get_role", "label": "get_role()", "file_type": "code", "source_file": "app/crud/role.py", "source_location": "L82"}, {"id": "users_wuzilong_work_00code_shanxia2_0_backend_app_crud_role_role_name_exists", "label": "role_name_exists()", "file_type": "code", "source_file": "app/crud/role.py", "source_location": "L90"}, {"id": "users_wuzilong_work_00code_shanxia2_0_backend_app_crud_role_create_role", "label": "create_role()", "file_type": "code", "source_file": "app/crud/role.py", "source_location": "L104"}, {"id": "users_wuzilong_work_00code_shanxia2_0_backend_app_crud_role_update_role", "label": "update_role()", "file_type": "code", "source_file": "app/crud/role.py", "source_location": "L141"}, {"id": "users_wuzilong_work_00code_shanxia2_0_backend_app_crud_role_soft_delete_role", "label": "soft_delete_role()", "file_type": "code", "source_file": "app/crud/role.py", "source_location": "L178"}, {"id": "users_wuzilong_work_00code_shanxia2_0_backend_app_crud_role_get_role_menu_ids", "label": "get_role_menu_ids()", "file_type": "code", "source_file": "app/crud/role.py", "source_location": "L201"}, {"id": "users_wuzilong_work_00code_shanxia2_0_backend_app_crud_role_update_role_menus", "label": "update_role_menus()", "file_type": "code", "source_file": "app/crud/role.py", "source_location": "L210"}, {"id": "users_wuzilong_work_00code_shanxia2_0_backend_app_crud_role_get_role_data_scope", "label": "get_role_data_scope()", "file_type": "code", "source_file": "app/crud/role.py", "source_location": "L245"}, {"id": "users_wuzilong_work_00code_shanxia2_0_backend_app_crud_role_update_role_data_scope", "label": "update_role_data_scope()", "file_type": "code", "source_file": "app/crud/role.py", "source_location": "L254"}, {"id": "users_wuzilong_work_00code_shanxia2_0_backend_app_crud_role_rationale_1", "label": "\u89d2\u8272 CRUD\uff08sys_role / sys_role_menu / sys_role_data_scope_detail\uff09", "file_type": "rationale", "source_file": "app/crud/role.py", "source_location": "L1"}], "edges": [{"source": "users_wuzilong_work_00code_shanxia2_0_backend_app_crud_role_py", "target": "math", "relation": "imports", "context": "import", "confidence": "EXTRACTED", "source_file": "app/crud/role.py", "source_location": "L4", "weight": 1.0}, {"source": "users_wuzilong_work_00code_shanxia2_0_backend_app_crud_role_py", "target": "datetime", "relation": "imports_from", "context": "import", "confidence": "EXTRACTED", "source_file": "app/crud/role.py", "source_location": "L5", "weight": 1.0}, {"source": "users_wuzilong_work_00code_shanxia2_0_backend_app_crud_role_py", "target": "typing", "relation": "imports_from", "context": "import", "confidence": "EXTRACTED", "source_file": "app/crud/role.py", "source_location": "L6", "weight": 1.0}, {"source": "users_wuzilong_work_00code_shanxia2_0_backend_app_crud_role_py", "target": "sqlalchemy", "relation": "imports_from", "context": "import", "confidence": "EXTRACTED", "source_file": "app/crud/role.py", "source_location": "L8", "weight": 1.0}, {"source": "users_wuzilong_work_00code_shanxia2_0_backend_app_crud_role_py", "target": "sqlalchemy_orm", "relation": "imports_from", "context": "import", "confidence": "EXTRACTED", "source_file": "app/crud/role.py", "source_location": "L9", "weight": 1.0}, {"source": "users_wuzilong_work_00code_shanxia2_0_backend_app_crud_role_py", "target": "app_core_delete_guard", "relation": "imports_from", "context": "import", "confidence": "EXTRACTED", "source_file": "app/crud/role.py", "source_location": "L11", "weight": 1.0}, {"source": "users_wuzilong_work_00code_shanxia2_0_backend_app_crud_role_py", "target": "app_core_utils"Line truncated
@@ -0,0 +1 @@
{"nodes": [{"id": "users_wuzilong_work_00code_shanxia2_0_backend_app_api_pl_public_io_order_py", "label": "public_io_order.py", "file_type": "code", "source_file": "app/api/pl/public_io_order.py", "source_location": "L1"}, {"id": "users_wuzilong_work_00code_shanxia2_0_backend_app_api_pl_public_io_order_resolve_unit_label", "label": "_resolve_unit_label()", "file_type": "code", "source_file": "app/api/pl/public_io_order.py", "source_location": "L51"}, {"id": "users_wuzilong_work_00code_shanxia2_0_backend_app_api_pl_public_io_order_models", "label": "_models()", "file_type": "code", "source_file": "app/api/pl/public_io_order.py", "source_location": "L58"}, {"id": "users_wuzilong_work_00code_shanxia2_0_backend_app_api_pl_public_io_order_get_by_token", "label": "_get_by_token()", "file_type": "code", "source_file": "app/api/pl/public_io_order.py", "source_location": "L64"}, {"id": "session", "label": "Session", "file_type": "code", "source_file": "", "source_location": "", "origin_file": "/Users/wuzilong/work/00code/shanxia2.0/backend/app/api/pl/public_io_order.py"}, {"id": "users_wuzilong_work_00code_shanxia2_0_backend_app_api_pl_public_io_order_resolve_io_order_link_flags", "label": "_resolve_io_order_link_flags()", "file_type": "code", "source_file": "app/api/pl/public_io_order.py", "source_location": "L82"}, {"id": "plplan", "label": "PlPlan", "file_type": "code", "source_file": "", "source_location": "", "origin_file": "/Users/wuzilong/work/00code/shanxia2.0/backend/app/api/pl/public_io_order.py"}, {"id": "users_wuzilong_work_00code_shanxia2_0_backend_app_api_pl_public_io_order_parse_history_date", "label": "_parse_history_date()", "file_type": "code", "source_file": "app/api/pl/public_io_order.py", "source_location": "L89"}, {"id": "date", "label": "date", "file_type": "code", "source_file": "", "source_location": "", "origin_file": "/Users/wuzilong/work/00code/shanxia2.0/backend/app/api/pl/public_io_order.py"}, {"id": "users_wuzilong_work_00code_shanxia2_0_backend_app_api_pl_public_io_order_history_status_label", "label": "_history_status_label()", "file_type": "code", "source_file": "app/api/pl/public_io_order.py", "source_location": "L99"}, {"id": "users_wuzilong_work_00code_shanxia2_0_backend_app_api_pl_public_io_order_query_kind_history", "label": "_query_kind_history()", "file_type": "code", "source_file": "app/api/pl/public_io_order.py", "source_location": "L109"}, {"id": "users_wuzilong_work_00code_shanxia2_0_backend_app_api_pl_public_io_order_build_history_page", "label": "_build_history_page()", "file_type": "code", "source_file": "app/api/pl/public_io_order.py", "source_location": "L177"}, {"id": "publicioorderhistorypageread", "label": "PublicIoOrderHistoryPageRead", "file_type": "code", "source_file": "", "source_location": "", "origin_file": "/Users/wuzilong/work/00code/shanxia2.0/backend/app/api/pl/public_io_order.py"}, {"id": "users_wuzilong_work_00code_shanxia2_0_backend_app_api_pl_public_io_order_attach_history_products", "label": "_attach_history_products()", "file_type": "code", "source_file": "app/api/pl/public_io_order.py", "source_location": "L215"}, {"id": "publicioorderhistoryrecordread", "label": "PublicIoOrderHistoryRecordRead", "file_type": "code", "source_file": "", "source_location": "", "origin_file": "/Users/wuzilong/work/00code/shanxia2.0/backend/app/api/pl/public_io_order.py"}, {"id": "users_wuzilong_work_00code_shanxia2_0_backend_app_api_pl_public_io_order_build_page", "label": "_build_page()", "file_type": "code", "source_file": "app/api/pl/public_io_order.py", "source_location": "L305"}, {"id": "users_wuzilong_work_00code_shanxia2_0_backend_app_api_pl_public_io_order_format_file_size", "label": "_format_file_size()", "file_type": "code", "source_file": "app/api/pl/public_io_order.py", "source_location": "L317"}, {"id": "users_wuzilong_work_00code_shanxia2_0_backend_app_api_pl_public_io_order_make_handlers", "label": "_make_handlers()", "file_type": "code", "source_file": "app/api/pl/public_io_order.py", "source_location": "L325"}, {"id": "users_wuzilong_work_00code_shanxia2_0_backend_app_api_pl_public_io_order_rationale_1", "label": "\u8fd0\u8f93\u8ba1\u5212 \u00b7 \u5165\u5e93/\u51fa\u5e93\u5355\u73b0\u573a\u514d\u767b\u5f55\u516c\u5171 API", "file_type": "rationale", "source_file": "app/api/pl/public_io_order.py", "source_location": "L1"}, {"id": "users_wuzilong_work_00code_shanxia2_0_backend_app_api_pl_public_io_order_rationale_83", "label": "\u8fd4\u56de (\u4f5c\u5e9f, \u5f52\u6863)\u3002\u73b0\u573a\u94fe\u63a5\u5b9e\u9645\u8d70\u5165\u5e93/\u51fa\u5e93\u5355\u516c\u5171\u9875\u3002", "file_type": "rationale", "source_file": "app/api/pl/public_io_order.py", "source_location": "L83"}, {"id": "users_wuzilong_work_00code_shanxia2_0_backend_app_api_pl_public_io_order_rationale_117", "label": "\u8fd4\u56de [(create_time, PublicIoOrderHistoryRecordRead), ...]\u3002", "file_type": "rationale", "source_file": "app/api/pl/public_io_order.py", "source_location": "L117"}], Line truncated
@@ -0,0 +1 @@
{"nodes": [{"id": "users_wuzilong_work_00code_shanxia2_0_backend_app_crud_site_py", "label": "site.py", "file_type": "code", "source_file": "app/crud/site.py", "source_location": "L1"}, {"id": "users_wuzilong_work_00code_shanxia2_0_backend_app_crud_site_row_to_dict", "label": "_row_to_dict()", "file_type": "code", "source_file": "app/crud/site.py", "source_location": "L16"}, {"id": "syssite", "label": "SysSite", "file_type": "code", "source_file": "", "source_location": "", "origin_file": "/Users/wuzilong/work/00code/shanxia2.0/backend/app/crud/site.py"}, {"id": "any", "label": "Any", "file_type": "code", "source_file": "", "source_location": "", "origin_file": "/Users/wuzilong/work/00code/shanxia2.0/backend/app/crud/site.py"}, {"id": "users_wuzilong_work_00code_shanxia2_0_backend_app_crud_site_list_sites", "label": "list_sites()", "file_type": "code", "source_file": "app/crud/site.py", "source_location": "L36"}, {"id": "session", "label": "Session", "file_type": "code", "source_file": "", "source_location": "", "origin_file": "/Users/wuzilong/work/00code/shanxia2.0/backend/app/crud/site.py"}, {"id": "users_wuzilong_work_00code_shanxia2_0_backend_app_crud_site_get_site", "label": "get_site()", "file_type": "code", "source_file": "app/crud/site.py", "source_location": "L69"}, {"id": "users_wuzilong_work_00code_shanxia2_0_backend_app_crud_site_site_code_exists", "label": "site_code_exists()", "file_type": "code", "source_file": "app/crud/site.py", "source_location": "L77"}, {"id": "users_wuzilong_work_00code_shanxia2_0_backend_app_crud_site_create_site", "label": "create_site()", "file_type": "code", "source_file": "app/crud/site.py", "source_location": "L84"}, {"id": "users_wuzilong_work_00code_shanxia2_0_backend_app_crud_site_update_site", "label": "update_site()", "file_type": "code", "source_file": "app/crud/site.py", "source_location": "L131"}, {"id": "users_wuzilong_work_00code_shanxia2_0_backend_app_crud_site_soft_delete_site", "label": "soft_delete_site()", "file_type": "code", "source_file": "app/crud/site.py", "source_location": "L183"}, {"id": "users_wuzilong_work_00code_shanxia2_0_backend_app_crud_site_total_pages", "label": "total_pages()", "file_type": "code", "source_file": "app/crud/site.py", "source_location": "L194"}], "edges": [{"source": "users_wuzilong_work_00code_shanxia2_0_backend_app_crud_site_py", "target": "math", "relation": "imports", "context": "import", "confidence": "EXTRACTED", "source_file": "app/crud/site.py", "source_location": "L4", "weight": 1.0}, {"source": "users_wuzilong_work_00code_shanxia2_0_backend_app_crud_site_py", "target": "datetime", "relation": "imports_from", "context": "import", "confidence": "EXTRACTED", "source_file": "app/crud/site.py", "source_location": "L5", "weight": 1.0}, {"source": "users_wuzilong_work_00code_shanxia2_0_backend_app_crud_site_py", "target": "typing", "relation": "imports_from", "context": "import", "confidence": "EXTRACTED", "source_file": "app/crud/site.py", "source_location": "L6", "weight": 1.0}, {"source": "users_wuzilong_work_00code_shanxia2_0_backend_app_crud_site_py", "target": "sqlalchemy", "relation": "imports_from", "context": "import", "confidence": "EXTRACTED", "source_file": "app/crud/site.py", "source_location": "L8", "weight": 1.0}, {"source": "users_wuzilong_work_00code_shanxia2_0_backend_app_crud_site_py", "target": "sqlalchemy_orm", "relation": "imports_from", "context": "import", "confidence": "EXTRACTED", "source_file": "app/crud/site.py", "source_location": "L9", "weight": 1.0}, {"source": "users_wuzilong_work_00code_shanxia2_0_backend_app_crud_site_py", "target": "app_core_delete_guard", "relation": "imports_from", "context": "import", "confidence": "EXTRACTED", "source_file": "app/crud/site.py", "source_location": "L11", "weight": 1.0}, {"source": "users_wuzilong_work_00code_shanxia2_0_backend_app_crud_site_py", "target": "app_core_utils", "relation": "imports_from", "context": "import", "confidence": "EXTRACTED", "source_file": "app/crud/site.py", "source_location": "L12", "weight": 1.0}, {"source": "users_wuzilong_work_00code_shanxia2_0_backend_app_crud_site_py", "target": "app_models_models", "relation": "imports_from", "context": "import", "confidence": "EXTRACTED", "source_file": "app/crud/site.py", "source_location": "L13", "weight": 1.0}, {"source": "users_wuzilong_work_00code_shanxia2_0_backend_app_crud_site_py", "target": "users_wuzilong_work_00code_shanxia2_0_backend_app_crud_site_row_to_dict", "relation": "contains", "confidence": "EXTRACTED", "source_file": "app/crud/site.py", "source_location": "L16", "weight": 1.0}, {"source": "users_wuzilong_work_00code_shanxia2_0_backend_app_crud_site_row_to_dict", "target": "syssite", "relation": "references", "context": "parameter_type", "confidence": "EXTRACTED", "source_file": "app/crud/site.py", "source_location": "L16", "weight": 1.0}, {"source": "users_wuzilong_work_00code_shanxia2_0_backend_app_crud_site_row_to_dict", "target": "any", "relation": "refereLine truncated
@@ -0,0 +1 @@
{"nodes": [{"id": "users_wuzilong_work_00code_shanxia2_0_backend_app_schemas_crm_opportunity_py", "label": "opportunity.py", "file_type": "code", "source_file": "app/schemas/crm/opportunity.py", "source_location": "L1"}, {"id": "users_wuzilong_work_00code_shanxia2_0_backend_app_schemas_crm_opportunity_opportunitylistbody", "label": "OpportunityListBody", "file_type": "code", "source_file": "app/schemas/crm/opportunity.py", "source_location": "L8"}, {"id": "basemodel", "label": "BaseModel", "file_type": "code", "source_file": "", "source_location": ""}, {"id": "users_wuzilong_work_00code_shanxia2_0_backend_app_schemas_crm_opportunity_opportunitydetailbody", "label": "OpportunityDetailBody", "file_type": "code", "source_file": "app/schemas/crm/opportunity.py", "source_location": "L35"}, {"id": "users_wuzilong_work_00code_shanxia2_0_backend_app_schemas_crm_opportunity_opportunitycreatebody", "label": "OpportunityCreateBody", "file_type": "code", "source_file": "app/schemas/crm/opportunity.py", "source_location": "L41"}, {"id": "users_wuzilong_work_00code_shanxia2_0_backend_app_schemas_crm_opportunity_opportunityupdatebody", "label": "OpportunityUpdateBody", "file_type": "code", "source_file": "app/schemas/crm/opportunity.py", "source_location": "L62"}, {"id": "users_wuzilong_work_00code_shanxia2_0_backend_app_schemas_crm_opportunity_opportunitydeletebody", "label": "OpportunityDeleteBody", "file_type": "code", "source_file": "app/schemas/crm/opportunity.py", "source_location": "L66"}, {"id": "users_wuzilong_work_00code_shanxia2_0_backend_app_schemas_crm_opportunity_opportunityassignbody", "label": "OpportunityAssignBody", "file_type": "code", "source_file": "app/schemas/crm/opportunity.py", "source_location": "L72"}, {"id": "users_wuzilong_work_00code_shanxia2_0_backend_app_schemas_crm_opportunity_opportunitychangestagebody", "label": "OpportunityChangeStageBody", "file_type": "code", "source_file": "app/schemas/crm/opportunity.py", "source_location": "L80"}, {"id": "users_wuzilong_work_00code_shanxia2_0_backend_app_schemas_crm_opportunity_opportunitymarkwonbody", "label": "OpportunityMarkWonBody", "file_type": "code", "source_file": "app/schemas/crm/opportunity.py", "source_location": "L91"}, {"id": "users_wuzilong_work_00code_shanxia2_0_backend_app_schemas_crm_opportunity_opportunitymarklostbody", "label": "OpportunityMarkLostBody", "file_type": "code", "source_file": "app/schemas/crm/opportunity.py", "source_location": "L100"}, {"id": "users_wuzilong_work_00code_shanxia2_0_backend_app_schemas_crm_opportunity_opportunitybatchupdatestagebody", "label": "OpportunityBatchUpdateStageBody", "file_type": "code", "source_file": "app/schemas/crm/opportunity.py", "source_location": "L110"}, {"id": "users_wuzilong_work_00code_shanxia2_0_backend_app_schemas_crm_opportunity_opportunitybatchupdateexpectdatebody", "label": "OpportunityBatchUpdateExpectDateBody", "file_type": "code", "source_file": "app/schemas/crm/opportunity.py", "source_location": "L122"}, {"id": "users_wuzilong_work_00code_shanxia2_0_backend_app_schemas_crm_opportunity_opportunitystageloglistbody", "label": "OpportunityStageLogListBody", "file_type": "code", "source_file": "app/schemas/crm/opportunity.py", "source_location": "L132"}, {"id": "users_wuzilong_work_00code_shanxia2_0_backend_app_schemas_crm_opportunity_opportunitystatisticsbody", "label": "OpportunityStatisticsBody", "file_type": "code", "source_file": "app/schemas/crm/opportunity.py", "source_location": "L138"}, {"id": "users_wuzilong_work_00code_shanxia2_0_backend_app_schemas_crm_opportunity_opportunitykanbanbody", "label": "OpportunityKanbanBody", "file_type": "code", "source_file": "app/schemas/crm/opportunity.py", "source_location": "L147"}, {"id": "users_wuzilong_work_00code_shanxia2_0_backend_app_schemas_crm_opportunity_opportunityfollowlistbody", "label": "OpportunityFollowListBody", "file_type": "code", "source_file": "app/schemas/crm/opportunity.py", "source_location": "L151"}, {"id": "users_wuzilong_work_00code_shanxia2_0_backend_app_schemas_crm_opportunity_opportunityfollowdetailbody", "label": "OpportunityFollowDetailBody", "file_type": "code", "source_file": "app/schemas/crm/opportunity.py", "source_location": "L159"}, {"id": "users_wuzilong_work_00code_shanxia2_0_backend_app_schemas_crm_opportunity_opportunityfollowcreatebody", "label": "OpportunityFollowCreateBody", "file_type": "code", "source_file": "app/schemas/crm/opportunity.py", "source_location": "L165"}, {"id": "users_wuzilong_work_00code_shanxia2_0_backend_app_schemas_crm_opportunity_opportunityfollowupdatebody", "label": "OpportunityFollowUpdateBody", "file_type": "code", "source_file": "app/schemas/crm/opportunity.py", "source_location": "L179"}, {"id": "users_wuzilong_work_00code_shanxia2_0_backend_app_schemas_crm_opportunity_opportunityfollowdeletebody", "label": "OpportunityFollowDeleteBody", "file_type": "code", "source_file": "app/schemas/crm/opportunity.py", "source_location": "L183"}, {"id": "users_wuzilonLine truncated
@@ -0,0 +1 @@
{"nodes": [{"id": "users_wuzilong_work_00code_shanxia2_0_backend_app_api_bx_export_common_py", "label": "export_common.py", "file_type": "code", "source_file": "app/api/bx/export_common.py", "source_location": "L1"}, {"id": "users_wuzilong_work_00code_shanxia2_0_backend_app_api_bx_export_common_bxexportbodybase", "label": "BxExportBodyBase", "file_type": "code", "source_file": "app/api/bx/export_common.py", "source_location": "L35"}, {"id": "basemodel", "label": "BaseModel", "file_type": "code", "source_file": "", "source_location": ""}, {"id": "users_wuzilong_work_00code_shanxia2_0_backend_app_api_bx_export_common_bxapplylistexportbody", "label": "BxApplyListExportBody", "file_type": "code", "source_file": "app/api/bx/export_common.py", "source_location": "L42"}, {"id": "users_wuzilong_work_00code_shanxia2_0_backend_app_api_bx_export_common_status_label", "label": "status_label()", "file_type": "code", "source_file": "app/api/bx/export_common.py", "source_location": "L53"}, {"id": "any", "label": "Any", "file_type": "code", "source_file": "", "source_location": "", "origin_file": "/Users/wuzilong/work/00code/shanxia2.0/backend/app/api/bx/export_common.py"}, {"id": "users_wuzilong_work_00code_shanxia2_0_backend_app_api_bx_export_common_issue_status_label", "label": "issue_status_label()", "file_type": "code", "source_file": "app/api/bx/export_common.py", "source_location": "L64"}, {"id": "users_wuzilong_work_00code_shanxia2_0_backend_app_api_bx_export_common_dump_export_row", "label": "dump_export_row()", "file_type": "code", "source_file": "app/api/bx/export_common.py", "source_location": "L70"}, {"id": "users_wuzilong_work_00code_shanxia2_0_backend_app_api_bx_export_common_respond_xlsx", "label": "respond_xlsx()", "file_type": "code", "source_file": "app/api/bx/export_common.py", "source_location": "L95"}, {"id": "session", "label": "Session", "file_type": "code", "source_file": "", "source_location": "", "origin_file": "/Users/wuzilong/work/00code/shanxia2.0/backend/app/api/bx/export_common.py"}, {"id": "exportcolumn", "label": "ExportColumn", "file_type": "code", "source_file": "", "source_location": "", "origin_file": "/Users/wuzilong/work/00code/shanxia2.0/backend/app/api/bx/export_common.py"}], "edges": [{"source": "users_wuzilong_work_00code_shanxia2_0_backend_app_api_bx_export_common_py", "target": "datetime", "relation": "imports_from", "context": "import", "confidence": "EXTRACTED", "source_file": "app/api/bx/export_common.py", "source_location": "L4", "weight": 1.0}, {"source": "users_wuzilong_work_00code_shanxia2_0_backend_app_api_bx_export_common_py", "target": "typing", "relation": "imports_from", "context": "import", "confidence": "EXTRACTED", "source_file": "app/api/bx/export_common.py", "source_location": "L5", "weight": 1.0}, {"source": "users_wuzilong_work_00code_shanxia2_0_backend_app_api_bx_export_common_py", "target": "pydantic", "relation": "imports_from", "context": "import", "confidence": "EXTRACTED", "source_file": "app/api/bx/export_common.py", "source_location": "L7", "weight": 1.0}, {"source": "users_wuzilong_work_00code_shanxia2_0_backend_app_api_bx_export_common_py", "target": "sqlalchemy_orm", "relation": "imports_from", "context": "import", "confidence": "EXTRACTED", "source_file": "app/api/bx/export_common.py", "source_location": "L8", "weight": 1.0}, {"source": "users_wuzilong_work_00code_shanxia2_0_backend_app_api_bx_export_common_py", "target": "app_utils_excel_export", "relation": "imports_from", "context": "import", "confidence": "EXTRACTED", "source_file": "app/api/bx/export_common.py", "source_location": "L10", "weight": 1.0}, {"source": "users_wuzilong_work_00code_shanxia2_0_backend_app_api_bx_export_common_py", "target": "users_wuzilong_work_00code_shanxia2_0_backend_app_api_bx_export_common_bxexportbodybase", "relation": "contains", "confidence": "EXTRACTED", "source_file": "app/api/bx/export_common.py", "source_location": "L35", "weight": 1.0}, {"source": "users_wuzilong_work_00code_shanxia2_0_backend_app_api_bx_export_common_bxexportbodybase", "target": "basemodel", "relation": "inherits", "confidence": "EXTRACTED", "source_file": "app/api/bx/export_common.py", "source_location": "L35", "weight": 1.0}, {"source": "users_wuzilong_work_00code_shanxia2_0_backend_app_api_bx_export_common_py", "target": "users_wuzilong_work_00code_shanxia2_0_backend_app_api_bx_export_common_bxapplylistexportbody", "relation": "contains", "confidence": "EXTRACTED", "source_file": "app/api/bx/export_common.py", "source_location": "L42", "weight": 1.0}, {"source": "users_wuzilong_work_00code_shanxia2_0_backend_app_api_bx_export_common_bxapplylistexportbody", "target": "users_wuzilong_work_00code_shanxia2_0_backend_app_api_bx_export_common_bxexportbodybase", "relation": "inherits", "confidence": "EXTRACTED", "source_file": "app/api/bx/export_common.py", "source_location": "L42", "weight": 1.0}, {"source": "users_wuzilong_work_00code_shanxia2_0_backend_app_api_bx_export_common_py", "tarLine truncated
@@ -0,0 +1 @@
{"nodes": [{"id": "users_wuzilong_work_00code_shanxia2_0_backend_app_api_crm_quote_routes_py", "label": "crm_quote_routes.py", "file_type": "code", "source_file": "app/api/crm_quote_routes.py", "source_location": "L1"}, {"id": "users_wuzilong_work_00code_shanxia2_0_backend_app_api_crm_quote_routes_register_quote_routes", "label": "register_quote_routes()", "file_type": "code", "source_file": "app/api/crm_quote_routes.py", "source_location": "L91"}, {"id": "users_wuzilong_work_00code_shanxia2_0_backend_app_api_crm_quote_routes_rationale_1", "label": "CRM \u62a5\u4ef7\u5355 API \u8def\u7531 \u2014 \u6302\u63a5\u5230 crm.router", "file_type": "rationale", "source_file": "app/api/crm_quote_routes.py", "source_location": "L1"}], "edges": [{"source": "users_wuzilong_work_00code_shanxia2_0_backend_app_api_crm_quote_routes_py", "target": "datetime", "relation": "imports_from", "context": "import", "confidence": "EXTRACTED", "source_file": "app/api/crm_quote_routes.py", "source_location": "L4", "weight": 1.0}, {"source": "users_wuzilong_work_00code_shanxia2_0_backend_app_api_crm_quote_routes_py", "target": "fastapi", "relation": "imports_from", "context": "import", "confidence": "EXTRACTED", "source_file": "app/api/crm_quote_routes.py", "source_location": "L6", "weight": 1.0}, {"source": "users_wuzilong_work_00code_shanxia2_0_backend_app_api_crm_quote_routes_py", "target": "sqlalchemy_orm", "relation": "imports_from", "context": "import", "confidence": "EXTRACTED", "source_file": "app/api/crm_quote_routes.py", "source_location": "L7", "weight": 1.0}, {"source": "users_wuzilong_work_00code_shanxia2_0_backend_app_api_crm_quote_routes_py", "target": "app_core_database", "relation": "imports_from", "context": "import", "confidence": "EXTRACTED", "source_file": "app/api/crm_quote_routes.py", "source_location": "L9", "weight": 1.0}, {"source": "users_wuzilong_work_00code_shanxia2_0_backend_app_api_crm_quote_routes_py", "target": "app_core_menu_guard", "relation": "imports_from", "context": "import", "confidence": "EXTRACTED", "source_file": "app/api/crm_quote_routes.py", "source_location": "L10", "weight": 1.0}, {"source": "users_wuzilong_work_00code_shanxia2_0_backend_app_api_crm_quote_routes_py", "target": "app_core_response", "relation": "imports_from", "context": "import", "confidence": "EXTRACTED", "source_file": "app/api/crm_quote_routes.py", "source_location": "L11", "weight": 1.0}, {"source": "users_wuzilong_work_00code_shanxia2_0_backend_app_api_crm_quote_routes_py", "target": "app_core_tenant_context", "relation": "imports_from", "context": "import", "confidence": "EXTRACTED", "source_file": "app/api/crm_quote_routes.py", "source_location": "L12", "weight": 1.0}, {"source": "users_wuzilong_work_00code_shanxia2_0_backend_app_api_crm_quote_routes_py", "target": "app_crud_crm_data_scope_helpers", "relation": "imports_from", "context": "import", "confidence": "EXTRACTED", "source_file": "app/api/crm_quote_routes.py", "source_location": "L13", "weight": 1.0}, {"source": "users_wuzilong_work_00code_shanxia2_0_backend_app_api_crm_quote_routes_py", "target": "app_crud_crm_quote", "relation": "imports_from", "context": "import", "confidence": "EXTRACTED", "source_file": "app/api/crm_quote_routes.py", "source_location": "L14", "weight": 1.0}, {"source": "users_wuzilong_work_00code_shanxia2_0_backend_app_api_crm_quote_routes_py", "target": "app_crud_crm_quote_approver_setting", "relation": "imports_from", "context": "import", "confidence": "EXTRACTED", "source_file": "app/api/crm_quote_routes.py", "source_location": "L36", "weight": 1.0}, {"source": "users_wuzilong_work_00code_shanxia2_0_backend_app_api_crm_quote_routes_py", "target": "app_crud_crm_quote_approval", "relation": "imports_from", "context": "import", "confidence": "EXTRACTED", "source_file": "app/api/crm_quote_routes.py", "source_location": "L37", "weight": 1.0}, {"source": "users_wuzilong_work_00code_shanxia2_0_backend_app_api_crm_quote_routes_py", "target": "app_crud_crm_quote_product", "relation": "imports_from", "context": "import", "confidence": "EXTRACTED", "source_file": "app/api/crm_quote_routes.py", "source_location": "L43", "weight": 1.0}, {"source": "users_wuzilong_work_00code_shanxia2_0_backend_app_api_crm_quote_routes_py", "target": "app_crud_crm_quote_share_log", "relation": "imports_from", "context": "import", "confidence": "EXTRACTED", "source_file": "app/api/crm_quote_routes.py", "source_location": "L49", "weight": 1.0}, {"source": "users_wuzilong_work_00code_shanxia2_0_backend_app_api_crm_quote_routes_py", "target": "app_schemas_crm_quote_approver_setting", "relation": "imports_from", "context": "import", "confidence": "EXTRACTED", "source_file": "app/api/crm_quote_routes.py", "source_location": "L50", "weight": 1.0}, {"source": "users_wuzilong_work_00code_shanxia2_0_backend_app_api_crm_quote_routes_py", "target": "app_schemas_crm_quote", "relation": "imports_from", "context": "import", "confidence": "EXTRACTED", "source_file": "app/api/crm_Line truncated
@@ -0,0 +1 @@
{"nodes": [{"id": "users_wuzilong_work_00code_shanxia2_0_backend_app_api_pl_io_order_py", "label": "io_order.py", "file_type": "code", "source_file": "app/api/pl/io_order.py", "source_location": "L1"}, {"id": "users_wuzilong_work_00code_shanxia2_0_backend_app_api_pl_io_order_models", "label": "_models()", "file_type": "code", "source_file": "app/api/pl/io_order.py", "source_location": "L42"}, {"id": "users_wuzilong_work_00code_shanxia2_0_backend_app_api_pl_io_order_get_order", "label": "_get_order()", "file_type": "code", "source_file": "app/api/pl/io_order.py", "source_location": "L48"}, {"id": "session", "label": "Session", "file_type": "code", "source_file": "", "source_location": "", "origin_file": "/Users/wuzilong/work/00code/shanxia2.0/backend/app/api/pl/io_order.py"}, {"id": "users_wuzilong_work_00code_shanxia2_0_backend_app_api_pl_io_order_to_read", "label": "_to_read()", "file_type": "code", "source_file": "app/api/pl/io_order.py", "source_location": "L66"}, {"id": "ioorderread", "label": "IoOrderRead", "file_type": "code", "source_file": "", "source_location": "", "origin_file": "/Users/wuzilong/work/00code/shanxia2.0/backend/app/api/pl/io_order.py"}, {"id": "users_wuzilong_work_00code_shanxia2_0_backend_app_api_pl_io_order_list_orders", "label": "_list_orders()", "file_type": "code", "source_file": "app/api/pl/io_order.py", "source_location": "L72"}, {"id": "dbusercontext", "label": "DbUserContext", "file_type": "code", "source_file": "", "source_location": "", "origin_file": "/Users/wuzilong/work/00code/shanxia2.0/backend/app/api/pl/io_order.py"}, {"id": "ioorderlistresponse", "label": "IoOrderListResponse", "file_type": "code", "source_file": "", "source_location": "", "origin_file": "/Users/wuzilong/work/00code/shanxia2.0/backend/app/api/pl/io_order.py"}, {"id": "users_wuzilong_work_00code_shanxia2_0_backend_app_api_pl_io_order_patch_order", "label": "_patch_order()", "file_type": "code", "source_file": "app/api/pl/io_order.py", "source_location": "L140"}, {"id": "ioorderpatch", "label": "IoOrderPatch", "file_type": "code", "source_file": "", "source_location": "", "origin_file": "/Users/wuzilong/work/00code/shanxia2.0/backend/app/api/pl/io_order.py"}, {"id": "users_wuzilong_work_00code_shanxia2_0_backend_app_api_pl_io_order_get_by_plan", "label": "_get_by_plan()", "file_type": "code", "source_file": "app/api/pl/io_order.py", "source_location": "L197"}, {"id": "users_wuzilong_work_00code_shanxia2_0_backend_app_api_pl_io_order_get_inbound_by_plan", "label": "get_inbound_by_plan()", "file_type": "code", "source_file": "app/api/pl/io_order.py", "source_location": "L222"}, {"id": "users_wuzilong_work_00code_shanxia2_0_backend_app_api_pl_io_order_list_inbound", "label": "list_inbound()", "file_type": "code", "source_file": "app/api/pl/io_order.py", "source_location": "L235"}, {"id": "users_wuzilong_work_00code_shanxia2_0_backend_app_api_pl_io_order_ioorderexportbody", "label": "IoOrderExportBody", "file_type": "code", "source_file": "app/api/pl/io_order.py", "source_location": "L281"}, {"id": "basemodel", "label": "BaseModel", "file_type": "code", "source_file": "", "source_location": ""}, {"id": "users_wuzilong_work_00code_shanxia2_0_backend_app_api_pl_io_order_export_orders", "label": "_export_orders()", "file_type": "code", "source_file": "app/api/pl/io_order.py", "source_location": "L295"}, {"id": "users_wuzilong_work_00code_shanxia2_0_backend_app_api_pl_io_order_export_inbound", "label": "export_inbound()", "file_type": "code", "source_file": "app/api/pl/io_order.py", "source_location": "L335"}, {"id": "users_wuzilong_work_00code_shanxia2_0_backend_app_api_pl_io_order_export_outbound", "label": "export_outbound()", "file_type": "code", "source_file": "app/api/pl/io_order.py", "source_location": "L344"}, {"id": "users_wuzilong_work_00code_shanxia2_0_backend_app_api_pl_io_order_get_inbound", "label": "get_inbound()", "file_type": "code", "source_file": "app/api/pl/io_order.py", "source_location": "L353"}, {"id": "users_wuzilong_work_00code_shanxia2_0_backend_app_api_pl_io_order_patch_inbound", "label": "patch_inbound()", "file_type": "code", "source_file": "app/api/pl/io_order.py", "source_location": "L364"}, {"id": "users_wuzilong_work_00code_shanxia2_0_backend_app_api_pl_io_order_inbound_site_url", "label": "inbound_site_url()", "file_type": "code", "source_file": "app/api/pl/io_order.py", "source_location": "L374"}, {"id": "users_wuzilong_work_00code_shanxia2_0_backend_app_api_pl_io_order_get_outbound_by_plan", "label": "get_outbound_by_plan()", "file_type": "code", "source_file": "app/api/pl/io_order.py", "source_location": "L386"}, {"id": "users_wuzilong_work_00code_shanxia2_0_backend_app_api_pl_io_order_list_outbound", "label": "list_outbound()", "file_type": "code", "source_file": "app/api/pl/io_order.py", "source_location": "L399"}, {"id": "users_wuzilong_work_00code_shanxia2_0_backend_app_api_pl_io_order_get_outbound", "label": "get_outbound()", "file_type": "code", "source_file": "appLine truncated
@@ -0,0 +1 @@
{"nodes": [{"id": "users_wuzilong_work_00code_shanxia2_0_backend_app_api_bx_payment_py", "label": "payment.py", "file_type": "code", "source_file": "app/api/bx/payment.py", "source_location": "L1"}, {"id": "users_wuzilong_work_00code_shanxia2_0_backend_app_api_bx_payment_tenant", "label": "_tenant()", "file_type": "code", "source_file": "app/api/bx/payment.py", "source_location": "L39"}, {"id": "session", "label": "Session", "file_type": "code", "source_file": "", "source_location": "", "origin_file": "/Users/wuzilong/work/00code/shanxia2.0/backend/app/api/bx/payment.py"}, {"id": "bxusercontext", "label": "BxUserContext", "file_type": "code", "source_file": "", "source_location": "", "origin_file": "/Users/wuzilong/work/00code/shanxia2.0/backend/app/api/bx/payment.py"}, {"id": "users_wuzilong_work_00code_shanxia2_0_backend_app_api_bx_payment_wrap_reimburse_rows", "label": "_wrap_reimburse_rows()", "file_type": "code", "source_file": "app/api/bx/payment.py", "source_location": "L43"}, {"id": "reimburseapplyout", "label": "ReimburseApplyOut", "file_type": "code", "source_file": "", "source_location": "", "origin_file": "/Users/wuzilong/work/00code/shanxia2.0/backend/app/api/bx/payment.py"}, {"id": "users_wuzilong_work_00code_shanxia2_0_backend_app_api_bx_payment_list_pending_payments", "label": "list_pending_payments()", "file_type": "code", "source_file": "app/api/bx/payment.py", "source_location": "L48"}, {"id": "users_wuzilong_work_00code_shanxia2_0_backend_app_api_bx_payment_payment_finance_stats", "label": "payment_finance_stats()", "file_type": "code", "source_file": "app/api/bx/payment.py", "source_location": "L85"}, {"id": "users_wuzilong_work_00code_shanxia2_0_backend_app_api_bx_payment_list_processed_payments", "label": "list_processed_payments()", "file_type": "code", "source_file": "app/api/bx/payment.py", "source_location": "L95"}, {"id": "users_wuzilong_work_00code_shanxia2_0_backend_app_api_bx_payment_pay", "label": "pay()", "file_type": "code", "source_file": "app/api/bx/payment.py", "source_location": "L132"}, {"id": "payrequest", "label": "PayRequest", "file_type": "code", "source_file": "", "source_location": "", "origin_file": "/Users/wuzilong/work/00code/shanxia2.0/backend/app/api/bx/payment.py"}, {"id": "users_wuzilong_work_00code_shanxia2_0_backend_app_api_bx_payment_offset", "label": "offset()", "file_type": "code", "source_file": "app/api/bx/payment.py", "source_location": "L152"}, {"id": "offsetrequest", "label": "OffsetRequest", "file_type": "code", "source_file": "", "source_location": "", "origin_file": "/Users/wuzilong/work/00code/shanxia2.0/backend/app/api/bx/payment.py"}, {"id": "users_wuzilong_work_00code_shanxia2_0_backend_app_api_bx_payment_batch_offset", "label": "batch_offset()", "file_type": "code", "source_file": "app/api/bx/payment.py", "source_location": "L175"}, {"id": "batchoffsetrequest", "label": "BatchOffsetRequest", "file_type": "code", "source_file": "", "source_location": "", "origin_file": "/Users/wuzilong/work/00code/shanxia2.0/backend/app/api/bx/payment.py"}, {"id": "users_wuzilong_work_00code_shanxia2_0_backend_app_api_bx_payment_list_advance_issues", "label": "list_advance_issues()", "file_type": "code", "source_file": "app/api/bx/payment.py", "source_location": "L198"}, {"id": "users_wuzilong_work_00code_shanxia2_0_backend_app_api_bx_payment_advance_issue_stats", "label": "advance_issue_stats()", "file_type": "code", "source_file": "app/api/bx/payment.py", "source_location": "L245"}, {"id": "users_wuzilong_work_00code_shanxia2_0_backend_app_api_bx_payment_export_advance_issues", "label": "export_advance_issues()", "file_type": "code", "source_file": "app/api/bx/payment.py", "source_location": "L255"}, {"id": "users_wuzilong_work_00code_shanxia2_0_backend_app_api_bx_payment_issue_advance", "label": "issue_advance()", "file_type": "code", "source_file": "app/api/bx/payment.py", "source_location": "L335"}, {"id": "advanceissuerequest", "label": "AdvanceIssueRequest", "file_type": "code", "source_file": "", "source_location": "", "origin_file": "/Users/wuzilong/work/00code/shanxia2.0/backend/app/api/bx/payment.py"}, {"id": "users_wuzilong_work_00code_shanxia2_0_backend_app_api_bx_payment_list_advance_offset_records", "label": "list_advance_offset_records()", "file_type": "code", "source_file": "app/api/bx/payment.py", "source_location": "L359"}, {"id": "users_wuzilong_work_00code_shanxia2_0_backend_app_api_bx_payment_list_reimburse_offset_records", "label": "list_reimburse_offset_records()", "file_type": "code", "source_file": "app/api/bx/payment.py", "source_location": "L399"}], "edges": [{"source": "users_wuzilong_work_00code_shanxia2_0_backend_app_api_bx_payment_py", "target": "csv", "relation": "imports", "context": "import", "confidence": "EXTRACTED", "source_file": "app/api/bx/payment.py", "source_location": "L1", "weight": 1.0}, {"source": "users_wuzilong_work_00code_shanxia2_0_backend_app_api_bx_payment_py", "target": "io", "relation": "imports", "coLine truncated
@@ -0,0 +1 @@
{"nodes": [{"id": "users_wuzilong_work_00code_shanxia2_0_backend_app_schemas_pl_transport_py", "label": "transport.py", "file_type": "code", "source_file": "app/schemas/pl/transport.py", "source_location": "L1"}, {"id": "users_wuzilong_work_00code_shanxia2_0_backend_app_schemas_pl_transport_transportbase", "label": "TransportBase", "file_type": "code", "source_file": "app/schemas/pl/transport.py", "source_location": "L18"}, {"id": "basemodel", "label": "BaseModel", "file_type": "code", "source_file": "", "source_location": ""}, {"id": "users_wuzilong_work_00code_shanxia2_0_backend_app_schemas_pl_transport_transportcreate", "label": "TransportCreate", "file_type": "code", "source_file": "app/schemas/pl/transport.py", "source_location": "L42"}, {"id": "users_wuzilong_work_00code_shanxia2_0_backend_app_schemas_pl_transport_transportarrange", "label": "TransportArrange", "file_type": "code", "source_file": "app/schemas/pl/transport.py", "source_location": "L47"}, {"id": "users_wuzilong_work_00code_shanxia2_0_backend_app_schemas_pl_transport_transportinventorylinkread", "label": "TransportInventoryLinkRead", "file_type": "code", "source_file": "app/schemas/pl/transport.py", "source_location": "L77"}, {"id": "users_wuzilong_work_00code_shanxia2_0_backend_app_schemas_pl_transport_transportsitelinkread", "label": "TransportSiteLinkRead", "file_type": "code", "source_file": "app/schemas/pl/transport.py", "source_location": "L87"}, {"id": "users_wuzilong_work_00code_shanxia2_0_backend_app_schemas_pl_transport_transportupdate", "label": "TransportUpdate", "file_type": "code", "source_file": "app/schemas/pl/transport.py", "source_location": "L101"}, {"id": "users_wuzilong_work_00code_shanxia2_0_backend_app_schemas_pl_transport_transportdriverproductfeedbackread", "label": "TransportDriverProductFeedbackRead", "file_type": "code", "source_file": "app/schemas/pl/transport.py", "source_location": "L125"}, {"id": "users_wuzilong_work_00code_shanxia2_0_backend_app_schemas_pl_transport_transportread", "label": "TransportRead", "file_type": "code", "source_file": "app/schemas/pl/transport.py", "source_location": "L141"}, {"id": "planresourcesnapshotmixin", "label": "PlanResourceSnapshotMixin", "file_type": "code", "source_file": "", "source_location": ""}, {"id": "users_wuzilong_work_00code_shanxia2_0_backend_app_schemas_pl_transport_transportioorderbrief", "label": "TransportIoOrderBrief", "file_type": "code", "source_file": "app/schemas/pl/transport.py", "source_location": "L163"}, {"id": "users_wuzilong_work_00code_shanxia2_0_backend_app_schemas_pl_transport_transportarrangeresult", "label": "TransportArrangeResult", "file_type": "code", "source_file": "app/schemas/pl/transport.py", "source_location": "L173"}, {"id": "users_wuzilong_work_00code_shanxia2_0_backend_app_schemas_pl_transport_planarrangeinforead", "label": "PlanArrangeInfoRead", "file_type": "code", "source_file": "app/schemas/pl/transport.py", "source_location": "L184"}, {"id": "users_wuzilong_work_00code_shanxia2_0_backend_app_schemas_pl_transport_transportwithplans", "label": "TransportWithPlans", "file_type": "code", "source_file": "app/schemas/pl/transport.py", "source_location": "L195"}, {"id": "users_wuzilong_work_00code_shanxia2_0_backend_app_schemas_pl_transport_transportfeedback", "label": "TransportFeedback", "file_type": "code", "source_file": "app/schemas/pl/transport.py", "source_location": "L204"}, {"id": "users_wuzilong_work_00code_shanxia2_0_backend_app_schemas_pl_transport_publictransportproductfeedbackitem", "label": "PublicTransportProductFeedbackItem", "file_type": "code", "source_file": "app/schemas/pl/transport.py", "source_location": "L213"}, {"id": "users_wuzilong_work_00code_shanxia2_0_backend_app_schemas_pl_transport_publictransportfeedback", "label": "PublicTransportFeedback", "file_type": "code", "source_file": "app/schemas/pl/transport.py", "source_location": "L220"}, {"id": "users_wuzilong_work_00code_shanxia2_0_backend_app_schemas_pl_transport_publictransportplanproductread", "label": "PublicTransportPlanProductRead", "file_type": "code", "source_file": "app/schemas/pl/transport.py", "source_location": "L228"}, {"id": "users_wuzilong_work_00code_shanxia2_0_backend_app_schemas_pl_transport_publictransportpersonnelread", "label": "PublicTransportPersonnelRead", "file_type": "code", "source_file": "app/schemas/pl/transport.py", "source_location": "L246"}, {"id": "users_wuzilong_work_00code_shanxia2_0_backend_app_schemas_pl_transport_publictransportpageread", "label": "PublicTransportPageRead", "file_type": "code", "source_file": "app/schemas/pl/transport.py", "source_location": "L253"}, {"id": "users_wuzilong_work_00code_shanxia2_0_backend_app_schemas_pl_transport_publictransporthistoryrecordread", "label": "PublicTransportHistoryRecordRead", "file_type": "code", "source_file": "app/schemas/pl/transport.py", "source_location": "L286"}, {"id": "users_wuzilong_work_00code_shanxia2_0_backend_app_schemas_pl_transport_publictransporthisLine truncated
@@ -0,0 +1 @@
{"nodes": [{"id": "users_wuzilong_work_00code_shanxia2_0_backend_app_api_workflow_py", "label": "workflow.py", "file_type": "code", "source_file": "app/api/workflow.py", "source_location": "L1"}, {"id": "users_wuzilong_work_00code_shanxia2_0_backend_app_api_workflow_business_type_label", "label": "_business_type_label()", "file_type": "code", "source_file": "app/api/workflow.py", "source_location": "L35"}, {"id": "users_wuzilong_work_00code_shanxia2_0_backend_app_api_workflow_fmt_latest_version", "label": "_fmt_latest_version()", "file_type": "code", "source_file": "app/api/workflow.py", "source_location": "L41"}, {"id": "any", "label": "Any", "file_type": "code", "source_file": "", "source_location": "", "origin_file": "/Users/wuzilong/work/00code/shanxia2.0/backend/app/api/workflow.py"}, {"id": "users_wuzilong_work_00code_shanxia2_0_backend_app_api_workflow_portal_user_info", "label": "_portal_user_info()", "file_type": "code", "source_file": "app/api/workflow.py", "source_location": "L47"}, {"id": "users_wuzilong_work_00code_shanxia2_0_backend_app_api_workflow_assert_wf_instance_in_scope", "label": "_assert_wf_instance_in_scope()", "file_type": "code", "source_file": "app/api/workflow.py", "source_location": "L58"}, {"id": "session", "label": "Session", "file_type": "code", "source_file": "", "source_location": "", "origin_file": "/Users/wuzilong/work/00code/shanxia2.0/backend/app/api/workflow.py"}, {"id": "wfprocessinstance", "label": "WfProcessInstance", "file_type": "code", "source_file": "", "source_location": "", "origin_file": "/Users/wuzilong/work/00code/shanxia2.0/backend/app/api/workflow.py"}, {"id": "users_wuzilong_work_00code_shanxia2_0_backend_app_api_workflow_leave_form_fields", "label": "_leave_form_fields()", "file_type": "code", "source_file": "app/api/workflow.py", "source_location": "L80"}, {"id": "users_wuzilong_work_00code_shanxia2_0_backend_app_api_workflow_get_business_form_fields", "label": "_get_business_form_fields()", "file_type": "code", "source_file": "app/api/workflow.py", "source_location": "L104"}, {"id": "users_wuzilong_work_00code_shanxia2_0_backend_app_api_workflow_enrich_task_list", "label": "_enrich_task_list()", "file_type": "code", "source_file": "app/api/workflow.py", "source_location": "L117"}, {"id": "users_wuzilong_work_00code_shanxia2_0_backend_app_api_workflow_processdefcreatebody", "label": "ProcessDefCreateBody", "file_type": "code", "source_file": "app/api/workflow.py", "source_location": "L134"}, {"id": "basemodel", "label": "BaseModel", "file_type": "code", "source_file": "", "source_location": ""}, {"id": "users_wuzilong_work_00code_shanxia2_0_backend_app_api_workflow_processdefupdatebody", "label": "ProcessDefUpdateBody", "file_type": "code", "source_file": "app/api/workflow.py", "source_location": "L144"}, {"id": "users_wuzilong_work_00code_shanxia2_0_backend_app_api_workflow_publishversionbody", "label": "PublishVersionBody", "file_type": "code", "source_file": "app/api/workflow.py", "source_location": "L154"}, {"id": "users_wuzilong_work_00code_shanxia2_0_backend_app_api_workflow_startinstancebody", "label": "StartInstanceBody", "file_type": "code", "source_file": "app/api/workflow.py", "source_location": "L163"}, {"id": "users_wuzilong_work_00code_shanxia2_0_backend_app_api_workflow_taskactionbody", "label": "TaskActionBody", "file_type": "code", "source_file": "app/api/workflow.py", "source_location": "L173"}, {"id": "users_wuzilong_work_00code_shanxia2_0_backend_app_api_workflow_list_process_defs", "label": "list_process_defs()", "file_type": "code", "source_file": "app/api/workflow.py", "source_location": "L190"}, {"id": "users_wuzilong_work_00code_shanxia2_0_backend_app_api_workflow_processdefexportbody", "label": "ProcessDefExportBody", "file_type": "code", "source_file": "app/api/workflow.py", "source_location": "L215"}, {"id": "users_wuzilong_work_00code_shanxia2_0_backend_app_api_workflow_export_process_defs", "label": "export_process_defs()", "file_type": "code", "source_file": "app/api/workflow.py", "source_location": "L223"}, {"id": "users_wuzilong_work_00code_shanxia2_0_backend_app_api_workflow_create_process_def", "label": "create_process_def()", "file_type": "code", "source_file": "app/api/workflow.py", "source_location": "L260"}, {"id": "users_wuzilong_work_00code_shanxia2_0_backend_app_api_workflow_update_process_def", "label": "update_process_def()", "file_type": "code", "source_file": "app/api/workflow.py", "source_location": "L283"}, {"id": "users_wuzilong_work_00code_shanxia2_0_backend_app_api_workflow_delete_process_def", "label": "delete_process_def()", "file_type": "code", "source_file": "app/api/workflow.py", "source_location": "L308"}, {"id": "users_wuzilong_work_00code_shanxia2_0_backend_app_api_workflow_publish_version", "label": "publish_version()", "file_type": "code", "source_file": "app/api/workflow.py", "source_location": "L326"}, {"id": "users_wuzilong_work_00code_shanxia2_0_backend_app_api_workflow_list_versions", "Line truncated
@@ -0,0 +1 @@
{"nodes": [{"id": "users_wuzilong_work_00code_shanxia2_0_backend_app_api_bx_reimburse_py", "label": "reimburse.py", "file_type": "code", "source_file": "app/api/bx/reimburse.py", "source_location": "L1"}, {"id": "users_wuzilong_work_00code_shanxia2_0_backend_app_api_bx_reimburse_tenant", "label": "_tenant()", "file_type": "code", "source_file": "app/api/bx/reimburse.py", "source_location": "L41"}, {"id": "session", "label": "Session", "file_type": "code", "source_file": "", "source_location": "", "origin_file": "/Users/wuzilong/work/00code/shanxia2.0/backend/app/api/bx/reimburse.py"}, {"id": "bxusercontext", "label": "BxUserContext", "file_type": "code", "source_file": "", "source_location": "", "origin_file": "/Users/wuzilong/work/00code/shanxia2.0/backend/app/api/bx/reimburse.py"}, {"id": "users_wuzilong_work_00code_shanxia2_0_backend_app_api_bx_reimburse_build_details_data", "label": "_build_details_data()", "file_type": "code", "source_file": "app/api/bx/reimburse.py", "source_location": "L45"}, {"id": "users_wuzilong_work_00code_shanxia2_0_backend_app_api_bx_reimburse_get_generated_title", "label": "get_generated_title()", "file_type": "code", "source_file": "app/api/bx/reimburse.py", "source_location": "L82"}, {"id": "users_wuzilong_work_00code_shanxia2_0_backend_app_api_bx_reimburse_download_reimburse_import_template", "label": "download_reimburse_import_template()", "file_type": "code", "source_file": "app/api/bx/reimburse.py", "source_location": "L99"}, {"id": "users_wuzilong_work_00code_shanxia2_0_backend_app_api_bx_reimburse_import_reimburses", "label": "import_reimburses()", "file_type": "code", "source_file": "app/api/bx/reimburse.py", "source_location": "L131"}, {"id": "uploadfile", "label": "UploadFile", "file_type": "code", "source_file": "", "source_location": "", "origin_file": "/Users/wuzilong/work/00code/shanxia2.0/backend/app/api/bx/reimburse.py"}, {"id": "users_wuzilong_work_00code_shanxia2_0_backend_app_api_bx_reimburse_list_reimburses", "label": "list_reimburses()", "file_type": "code", "source_file": "app/api/bx/reimburse.py", "source_location": "L147"}, {"id": "users_wuzilong_work_00code_shanxia2_0_backend_app_api_bx_reimburse_my_reimburses", "label": "my_reimburses()", "file_type": "code", "source_file": "app/api/bx/reimburse.py", "source_location": "L193"}, {"id": "users_wuzilong_work_00code_shanxia2_0_backend_app_api_bx_reimburse_my_reimburse_stats", "label": "my_reimburse_stats()", "file_type": "code", "source_file": "app/api/bx/reimburse.py", "source_location": "L238"}, {"id": "users_wuzilong_work_00code_shanxia2_0_backend_app_api_bx_reimburse_reimburse_status_counts", "label": "reimburse_status_counts()", "file_type": "code", "source_file": "app/api/bx/reimburse.py", "source_location": "L248"}, {"id": "users_wuzilong_work_00code_shanxia2_0_backend_app_api_bx_reimburse_pending_approval", "label": "pending_approval()", "file_type": "code", "source_file": "app/api/bx/reimburse.py", "source_location": "L257"}, {"id": "users_wuzilong_work_00code_shanxia2_0_backend_app_api_bx_reimburse_pending_approval_stats", "label": "pending_approval_stats()", "file_type": "code", "source_file": "app/api/bx/reimburse.py", "source_location": "L289"}, {"id": "users_wuzilong_work_00code_shanxia2_0_backend_app_api_bx_reimburse_approved_by_me", "label": "approved_by_me()", "file_type": "code", "source_file": "app/api/bx/reimburse.py", "source_location": "L299"}, {"id": "users_wuzilong_work_00code_shanxia2_0_backend_app_api_bx_reimburse_get_reimburse", "label": "get_reimburse()", "file_type": "code", "source_file": "app/api/bx/reimburse.py", "source_location": "L331"}, {"id": "users_wuzilong_work_00code_shanxia2_0_backend_app_api_bx_reimburse_get_approvals", "label": "get_approvals()", "file_type": "code", "source_file": "app/api/bx/reimburse.py", "source_location": "L345"}, {"id": "users_wuzilong_work_00code_shanxia2_0_backend_app_api_bx_reimburse_get_approval_history", "label": "get_approval_history()", "file_type": "code", "source_file": "app/api/bx/reimburse.py", "source_location": "L358"}, {"id": "users_wuzilong_work_00code_shanxia2_0_backend_app_api_bx_reimburse_create_reimburse", "label": "create_reimburse()", "file_type": "code", "source_file": "app/api/bx/reimburse.py", "source_location": "L371"}, {"id": "reimburseapplycreate", "label": "ReimburseApplyCreate", "file_type": "code", "source_file": "", "source_location": "", "origin_file": "/Users/wuzilong/work/00code/shanxia2.0/backend/app/api/bx/reimburse.py"}, {"id": "users_wuzilong_work_00code_shanxia2_0_backend_app_api_bx_reimburse_update_reimburse", "label": "update_reimburse()", "file_type": "code", "source_file": "app/api/bx/reimburse.py", "source_location": "L425"}, {"id": "reimburseapplyupdate", "label": "ReimburseApplyUpdate", "file_type": "code", "source_file": "", "source_location": "", "origin_file": "/Users/wuzilong/work/00code/shanxia2.0/backend/app/api/bx/reimburse.py"}, {"id": "users_wuzilong_work_00code_shanxia2_0_backend_appLine truncated
@@ -0,0 +1 @@
{"nodes": [{"id": "users_wuzilong_work_00code_shanxia2_0_backend_app_api_db_inventory_py", "label": "inventory.py", "file_type": "code", "source_file": "app/api/db/inventory.py", "source_location": "L1"}, {"id": "users_wuzilong_work_00code_shanxia2_0_backend_app_api_db_inventory_base_query", "label": "_base_query()", "file_type": "code", "source_file": "app/api/db/inventory.py", "source_location": "L55"}, {"id": "session", "label": "Session", "file_type": "code", "source_file": "", "source_location": "", "origin_file": "/Users/wuzilong/work/00code/shanxia2.0/backend/app/api/db/inventory.py"}, {"id": "users_wuzilong_work_00code_shanxia2_0_backend_app_api_db_inventory_generate_batch_no", "label": "_generate_batch_no()", "file_type": "code", "source_file": "app/api/db/inventory.py", "source_location": "L62"}, {"id": "users_wuzilong_work_00code_shanxia2_0_backend_app_api_db_inventory_resolve_tenant_no", "label": "_resolve_tenant_no()", "file_type": "code", "source_file": "app/api/db/inventory.py", "source_location": "L82"}, {"id": "dbusercontext", "label": "DbUserContext", "file_type": "code", "source_file": "", "source_location": "", "origin_file": "/Users/wuzilong/work/00code/shanxia2.0/backend/app/api/db/inventory.py"}, {"id": "users_wuzilong_work_00code_shanxia2_0_backend_app_api_db_inventory_get_inventory_by_id", "label": "_get_inventory_by_id()", "file_type": "code", "source_file": "app/api/db/inventory.py", "source_location": "L100"}, {"id": "dbinboundoutbound", "label": "DbInboundOutbound", "file_type": "code", "source_file": "", "source_location": "", "origin_file": "/Users/wuzilong/work/00code/shanxia2.0/backend/app/api/db/inventory.py"}, {"id": "users_wuzilong_work_00code_shanxia2_0_backend_app_api_db_inventory_get_inventory", "label": "_get_inventory()", "file_type": "code", "source_file": "app/api/db/inventory.py", "source_location": "L114"}, {"id": "users_wuzilong_work_00code_shanxia2_0_backend_app_api_db_inventory_apply_inventory_product_update", "label": "_apply_inventory_product_update()", "file_type": "code", "source_file": "app/api/db/inventory.py", "source_location": "L131"}, {"id": "users_wuzilong_work_00code_shanxia2_0_backend_app_api_db_inventory_apply_inventory_update", "label": "_apply_inventory_update()", "file_type": "code", "source_file": "app/api/db/inventory.py", "source_location": "L147"}, {"id": "users_wuzilong_work_00code_shanxia2_0_backend_app_api_db_inventory_maybe_promote_third_party_status", "label": "_maybe_promote_third_party_status()", "file_type": "code", "source_file": "app/api/db/inventory.py", "source_location": "L165"}, {"id": "users_wuzilong_work_00code_shanxia2_0_backend_app_api_db_inventory_list_inventory", "label": "list_inventory()", "file_type": "code", "source_file": "app/api/db/inventory.py", "source_location": "L176"}, {"id": "inboundoutboundread", "label": "InboundOutboundRead", "file_type": "code", "source_file": "", "source_location": "", "origin_file": "/Users/wuzilong/work/00code/shanxia2.0/backend/app/api/db/inventory.py"}, {"id": "users_wuzilong_work_00code_shanxia2_0_backend_app_api_db_inventory_inventoryexportbody", "label": "InventoryExportBody", "file_type": "code", "source_file": "app/api/db/inventory.py", "source_location": "L305"}, {"id": "basemodel", "label": "BaseModel", "file_type": "code", "source_file": "", "source_location": ""}, {"id": "users_wuzilong_work_00code_shanxia2_0_backend_app_api_db_inventory_export_inventory", "label": "export_inventory()", "file_type": "code", "source_file": "app/api/db/inventory.py", "source_location": "L323"}, {"id": "users_wuzilong_work_00code_shanxia2_0_backend_app_api_db_inventory_create_inventory", "label": "create_inventory()", "file_type": "code", "source_file": "app/api/db/inventory.py", "source_location": "L371"}, {"id": "inboundoutboundcreate", "label": "InboundOutboundCreate", "file_type": "code", "source_file": "", "source_location": "", "origin_file": "/Users/wuzilong/work/00code/shanxia2.0/backend/app/api/db/inventory.py"}, {"id": "users_wuzilong_work_00code_shanxia2_0_backend_app_api_db_inventory_create_link_for_plan", "label": "create_link_for_plan()", "file_type": "code", "source_file": "app/api/db/inventory.py", "source_location": "L419"}, {"id": "createlinkforplanpayload", "label": "CreateLinkForPlanPayload", "file_type": "code", "source_file": "", "source_location": "", "origin_file": "/Users/wuzilong/work/00code/shanxia2.0/backend/app/api/db/inventory.py"}, {"id": "users_wuzilong_work_00code_shanxia2_0_backend_app_api_db_inventory_get_inventory_site_url", "label": "get_inventory_site_url()", "file_type": "code", "source_file": "app/api/db/inventory.py", "source_location": "L470"}, {"id": "inventorysiteurlread", "label": "InventorySiteUrlRead", "file_type": "code", "source_file": "", "source_location": "", "origin_file": "/Users/wuzilong/work/00code/shanxia2.0/backend/app/api/db/inventory.py"}, {"id": "users_wuzilong_work_00code_shanxia2_0_backend_app_api_db_inventory_update_inventory", Line truncated
@@ -0,0 +1 @@
{"nodes": [{"id": "users_wuzilong_work_00code_shanxia2_0_backend_app_schemas_pl_transport_py", "label": "transport.py", "file_type": "code", "source_file": "app/schemas/pl/transport.py", "source_location": "L1"}, {"id": "users_wuzilong_work_00code_shanxia2_0_backend_app_schemas_pl_transport_transportbase", "label": "TransportBase", "file_type": "code", "source_file": "app/schemas/pl/transport.py", "source_location": "L18"}, {"id": "basemodel", "label": "BaseModel", "file_type": "code", "source_file": "", "source_location": ""}, {"id": "users_wuzilong_work_00code_shanxia2_0_backend_app_schemas_pl_transport_transportcreate", "label": "TransportCreate", "file_type": "code", "source_file": "app/schemas/pl/transport.py", "source_location": "L42"}, {"id": "users_wuzilong_work_00code_shanxia2_0_backend_app_schemas_pl_transport_transportarrange", "label": "TransportArrange", "file_type": "code", "source_file": "app/schemas/pl/transport.py", "source_location": "L47"}, {"id": "users_wuzilong_work_00code_shanxia2_0_backend_app_schemas_pl_transport_transportinventorylinkread", "label": "TransportInventoryLinkRead", "file_type": "code", "source_file": "app/schemas/pl/transport.py", "source_location": "L77"}, {"id": "users_wuzilong_work_00code_shanxia2_0_backend_app_schemas_pl_transport_transportsitelinkread", "label": "TransportSiteLinkRead", "file_type": "code", "source_file": "app/schemas/pl/transport.py", "source_location": "L87"}, {"id": "users_wuzilong_work_00code_shanxia2_0_backend_app_schemas_pl_transport_transportupdate", "label": "TransportUpdate", "file_type": "code", "source_file": "app/schemas/pl/transport.py", "source_location": "L101"}, {"id": "users_wuzilong_work_00code_shanxia2_0_backend_app_schemas_pl_transport_transportdriverproductfeedbackread", "label": "TransportDriverProductFeedbackRead", "file_type": "code", "source_file": "app/schemas/pl/transport.py", "source_location": "L125"}, {"id": "users_wuzilong_work_00code_shanxia2_0_backend_app_schemas_pl_transport_transportread", "label": "TransportRead", "file_type": "code", "source_file": "app/schemas/pl/transport.py", "source_location": "L141"}, {"id": "planresourcesnapshotmixin", "label": "PlanResourceSnapshotMixin", "file_type": "code", "source_file": "", "source_location": ""}, {"id": "users_wuzilong_work_00code_shanxia2_0_backend_app_schemas_pl_transport_transportioorderbrief", "label": "TransportIoOrderBrief", "file_type": "code", "source_file": "app/schemas/pl/transport.py", "source_location": "L163"}, {"id": "users_wuzilong_work_00code_shanxia2_0_backend_app_schemas_pl_transport_transportarrangeresult", "label": "TransportArrangeResult", "file_type": "code", "source_file": "app/schemas/pl/transport.py", "source_location": "L173"}, {"id": "users_wuzilong_work_00code_shanxia2_0_backend_app_schemas_pl_transport_planarrangeinforead", "label": "PlanArrangeInfoRead", "file_type": "code", "source_file": "app/schemas/pl/transport.py", "source_location": "L184"}, {"id": "users_wuzilong_work_00code_shanxia2_0_backend_app_schemas_pl_transport_transportwithplans", "label": "TransportWithPlans", "file_type": "code", "source_file": "app/schemas/pl/transport.py", "source_location": "L195"}, {"id": "users_wuzilong_work_00code_shanxia2_0_backend_app_schemas_pl_transport_transportfeedback", "label": "TransportFeedback", "file_type": "code", "source_file": "app/schemas/pl/transport.py", "source_location": "L204"}, {"id": "users_wuzilong_work_00code_shanxia2_0_backend_app_schemas_pl_transport_publictransportproductfeedbackitem", "label": "PublicTransportProductFeedbackItem", "file_type": "code", "source_file": "app/schemas/pl/transport.py", "source_location": "L213"}, {"id": "users_wuzilong_work_00code_shanxia2_0_backend_app_schemas_pl_transport_publictransportfeedback", "label": "PublicTransportFeedback", "file_type": "code", "source_file": "app/schemas/pl/transport.py", "source_location": "L220"}, {"id": "users_wuzilong_work_00code_shanxia2_0_backend_app_schemas_pl_transport_publictransportplanproductread", "label": "PublicTransportPlanProductRead", "file_type": "code", "source_file": "app/schemas/pl/transport.py", "source_location": "L228"}, {"id": "users_wuzilong_work_00code_shanxia2_0_backend_app_schemas_pl_transport_publictransportpersonnelread", "label": "PublicTransportPersonnelRead", "file_type": "code", "source_file": "app/schemas/pl/transport.py", "source_location": "L246"}, {"id": "users_wuzilong_work_00code_shanxia2_0_backend_app_schemas_pl_transport_publictransportpageread", "label": "PublicTransportPageRead", "file_type": "code", "source_file": "app/schemas/pl/transport.py", "source_location": "L253"}, {"id": "users_wuzilong_work_00code_shanxia2_0_backend_app_schemas_pl_transport_publictransporthistoryproductread", "label": "PublicTransportHistoryProductRead", "file_type": "code", "source_file": "app/schemas/pl/transport.py", "source_location": "L286"}, {"id": "users_wuzilong_work_00code_shanxia2_0_backend_app_schemas_pl_transport_publictransporthLine truncated
@@ -0,0 +1 @@
{"nodes": [{"id": "users_wuzilong_work_00code_shanxia2_0_backend_app_schemas_crm_clue_py", "label": "clue.py", "file_type": "code", "source_file": "app/schemas/crm/clue.py", "source_location": "L1"}, {"id": "users_wuzilong_work_00code_shanxia2_0_backend_app_schemas_crm_clue_cluelistbody", "label": "ClueListBody", "file_type": "code", "source_file": "app/schemas/crm/clue.py", "source_location": "L11"}, {"id": "basemodel", "label": "BaseModel", "file_type": "code", "source_file": "", "source_location": ""}, {"id": "users_wuzilong_work_00code_shanxia2_0_backend_app_schemas_crm_clue_cluecreatebody", "label": "ClueCreateBody", "file_type": "code", "source_file": "app/schemas/crm/clue.py", "source_location": "L46"}, {"id": "users_wuzilong_work_00code_shanxia2_0_backend_app_schemas_crm_clue_clueupdatebody", "label": "ClueUpdateBody", "file_type": "code", "source_file": "app/schemas/crm/clue.py", "source_location": "L77"}, {"id": "users_wuzilong_work_00code_shanxia2_0_backend_app_schemas_crm_clue_cluedeletebody", "label": "ClueDeleteBody", "file_type": "code", "source_file": "app/schemas/crm/clue.py", "source_location": "L84"}, {"id": "users_wuzilong_work_00code_shanxia2_0_backend_app_schemas_crm_clue_clueassignbody", "label": "ClueAssignBody", "file_type": "code", "source_file": "app/schemas/crm/clue.py", "source_location": "L90"}, {"id": "users_wuzilong_work_00code_shanxia2_0_backend_app_schemas_crm_clue_clueconvertbody", "label": "ClueConvertBody", "file_type": "code", "source_file": "app/schemas/crm/clue.py", "source_location": "L98"}, {"id": "users_wuzilong_work_00code_shanxia2_0_backend_app_schemas_crm_clue_cluestatusbody", "label": "ClueStatusBody", "file_type": "code", "source_file": "app/schemas/crm/clue.py", "source_location": "L109"}, {"id": "users_wuzilong_work_00code_shanxia2_0_backend_app_schemas_crm_clue_cluelevelbody", "label": "ClueLevelBody", "file_type": "code", "source_file": "app/schemas/crm/clue.py", "source_location": "L116"}, {"id": "users_wuzilong_work_00code_shanxia2_0_backend_app_schemas_crm_clue_clueinvalidbody", "label": "ClueInvalidBody", "file_type": "code", "source_file": "app/schemas/crm/clue.py", "source_location": "L123"}, {"id": "users_wuzilong_work_00code_shanxia2_0_backend_app_schemas_crm_clue_cluefollowlistbody", "label": "ClueFollowListBody", "file_type": "code", "source_file": "app/schemas/crm/clue.py", "source_location": "L134"}, {"id": "users_wuzilong_work_00code_shanxia2_0_backend_app_schemas_crm_clue_cluefollowcreatebody", "label": "ClueFollowCreateBody", "file_type": "code", "source_file": "app/schemas/crm/clue.py", "source_location": "L142"}, {"id": "users_wuzilong_work_00code_shanxia2_0_backend_app_schemas_crm_clue_cluefollowdeletebody", "label": "ClueFollowDeleteBody", "file_type": "code", "source_file": "app/schemas/crm/clue.py", "source_location": "L153"}, {"id": "users_wuzilong_work_00code_shanxia2_0_backend_app_schemas_crm_clue_cluefollowupdatebody", "label": "ClueFollowUpdateBody", "file_type": "code", "source_file": "app/schemas/crm/clue.py", "source_location": "L159"}, {"id": "users_wuzilong_work_00code_shanxia2_0_backend_app_schemas_crm_clue_cluestatisticsbody", "label": "ClueStatisticsBody", "file_type": "code", "source_file": "app/schemas/crm/clue.py", "source_location": "L170"}, {"id": "users_wuzilong_work_00code_shanxia2_0_backend_app_schemas_crm_clue_rationale_1", "label": "CRM \u7ebf\u7d22\u7ba1\u7406 Pydantic Schemas", "file_type": "rationale", "source_file": "app/schemas/crm/clue.py", "source_location": "L1"}], "edges": [{"source": "users_wuzilong_work_00code_shanxia2_0_backend_app_schemas_crm_clue_py", "target": "typing", "relation": "imports_from", "context": "import", "confidence": "EXTRACTED", "source_file": "app/schemas/crm/clue.py", "source_location": "L3", "weight": 1.0}, {"source": "users_wuzilong_work_00code_shanxia2_0_backend_app_schemas_crm_clue_py", "target": "pydantic", "relation": "imports_from", "context": "import", "confidence": "EXTRACTED", "source_file": "app/schemas/crm/clue.py", "source_location": "L5", "weight": 1.0}, {"source": "users_wuzilong_work_00code_shanxia2_0_backend_app_schemas_crm_clue_py", "target": "users_wuzilong_work_00code_shanxia2_0_backend_app_schemas_crm_clue_cluelistbody", "relation": "contains", "confidence": "EXTRACTED", "source_file": "app/schemas/crm/clue.py", "source_location": "L11", "weight": 1.0}, {"source": "users_wuzilong_work_00code_shanxia2_0_backend_app_schemas_crm_clue_cluelistbody", "target": "basemodel", "relation": "inherits", "confidence": "EXTRACTED", "source_file": "app/schemas/crm/clue.py", "source_location": "L11", "weight": 1.0}, {"source": "users_wuzilong_work_00code_shanxia2_0_backend_app_schemas_crm_clue_py", "target": "users_wuzilong_work_00code_shanxia2_0_backend_app_schemas_crm_clue_cluecreatebody", "relation": "contains", "confidence": "EXTRACTED", "source_file": "app/schemas/crm/clue.py", "source_location": "L46", "weight": 1.0}, {"source": "users_wuzilong_work_00code_shanxia2_0_bLine truncated
@@ -0,0 +1 @@
{"nodes": [{"id": "users_wuzilong_work_00code_shanxia2_0_backend_app_crud_crm_customer_py", "label": "customer.py", "file_type": "code", "source_file": "app/crud/crm/customer.py", "source_location": "L1"}, {"id": "users_wuzilong_work_00code_shanxia2_0_backend_app_crud_crm_customer_ensure_customer_in_scope", "label": "_ensure_customer_in_scope()", "file_type": "code", "source_file": "app/crud/crm/customer.py", "source_location": "L23"}, {"id": "session", "label": "Session", "file_type": "code", "source_file": "", "source_location": "", "origin_file": "/Users/wuzilong/work/00code/shanxia2.0/backend/app/crud/crm/customer.py"}, {"id": "crmcustomer", "label": "CrmCustomer", "file_type": "code", "source_file": "", "source_location": "", "origin_file": "/Users/wuzilong/work/00code/shanxia2.0/backend/app/crud/crm/customer.py"}, {"id": "users_wuzilong_work_00code_shanxia2_0_backend_app_crud_crm_customer_total_pages", "label": "total_pages()", "file_type": "code", "source_file": "app/crud/crm/customer.py", "source_location": "L27"}, {"id": "users_wuzilong_work_00code_shanxia2_0_backend_app_crud_crm_customer_parse_optional_date", "label": "_parse_optional_date()", "file_type": "code", "source_file": "app/crud/crm/customer.py", "source_location": "L37"}, {"id": "any", "label": "Any", "file_type": "code", "source_file": "", "source_location": "", "origin_file": "/Users/wuzilong/work/00code/shanxia2.0/backend/app/crud/crm/customer.py"}, {"id": "date", "label": "date", "file_type": "code", "source_file": "", "source_location": "", "origin_file": "/Users/wuzilong/work/00code/shanxia2.0/backend/app/crud/crm/customer.py"}, {"id": "users_wuzilong_work_00code_shanxia2_0_backend_app_crud_crm_customer_parse_optional_datetime", "label": "_parse_optional_datetime()", "file_type": "code", "source_file": "app/crud/crm/customer.py", "source_location": "L55"}, {"id": "datetime", "label": "datetime", "file_type": "code", "source_file": "", "source_location": "", "origin_file": "/Users/wuzilong/work/00code/shanxia2.0/backend/app/crud/crm/customer.py"}, {"id": "users_wuzilong_work_00code_shanxia2_0_backend_app_crud_crm_customer_resolve_user_display_name", "label": "_resolve_user_display_name()", "file_type": "code", "source_file": "app/crud/crm/customer.py", "source_location": "L71"}, {"id": "users_wuzilong_work_00code_shanxia2_0_backend_app_crud_crm_customer_enrich_user_names", "label": "_enrich_user_names()", "file_type": "code", "source_file": "app/crud/crm/customer.py", "source_location": "L81"}, {"id": "users_wuzilong_work_00code_shanxia2_0_backend_app_crud_crm_customer_row_to_dict", "label": "_row_to_dict()", "file_type": "code", "source_file": "app/crud/crm/customer.py", "source_location": "L108"}, {"id": "users_wuzilong_work_00code_shanxia2_0_backend_app_crud_crm_customer_list_customer_options", "label": "list_customer_options()", "file_type": "code", "source_file": "app/crud/crm/customer.py", "source_location": "L163"}, {"id": "users_wuzilong_work_00code_shanxia2_0_backend_app_crud_crm_customer_list_customers", "label": "list_customers()", "file_type": "code", "source_file": "app/crud/crm/customer.py", "source_location": "L214"}, {"id": "users_wuzilong_work_00code_shanxia2_0_backend_app_crud_crm_customer_list_pool_customers", "label": "list_pool_customers()", "file_type": "code", "source_file": "app/crud/crm/customer.py", "source_location": "L341"}, {"id": "users_wuzilong_work_00code_shanxia2_0_backend_app_crud_crm_customer_get_customer", "label": "get_customer()", "file_type": "code", "source_file": "app/crud/crm/customer.py", "source_location": "L368"}, {"id": "users_wuzilong_work_00code_shanxia2_0_backend_app_crud_crm_customer_get_customer_by_no", "label": "get_customer_by_no()", "file_type": "code", "source_file": "app/crud/crm/customer.py", "source_location": "L379"}, {"id": "users_wuzilong_work_00code_shanxia2_0_backend_app_crud_crm_customer_generate_customer_no", "label": "generate_customer_no()", "file_type": "code", "source_file": "app/crud/crm/customer.py", "source_location": "L391"}, {"id": "users_wuzilong_work_00code_shanxia2_0_backend_app_crud_crm_customer_customer_name_exists", "label": "customer_name_exists()", "file_type": "code", "source_file": "app/crud/crm/customer.py", "source_location": "L417"}, {"id": "users_wuzilong_work_00code_shanxia2_0_backend_app_crud_crm_customer_check_duplicate_customer", "label": "check_duplicate_customer()", "file_type": "code", "source_file": "app/crud/crm/customer.py", "source_location": "L430"}, {"id": "users_wuzilong_work_00code_shanxia2_0_backend_app_crud_crm_customer_create_customer", "label": "create_customer()", "file_type": "code", "source_file": "app/crud/crm/customer.py", "source_location": "L451"}, {"id": "users_wuzilong_work_00code_shanxia2_0_backend_app_crud_crm_customer_update_customer", "label": "update_customer()", "file_type": "code", "source_file": "app/crud/crm/customer.py", "source_location": "L525"}, {"id": "users_wuzilong_work_00code_shanxia2_0_backend_app_cLine truncated
@@ -0,0 +1 @@
{"nodes": [{"id": "users_wuzilong_work_00code_shanxia2_0_backend_app_schemas_pl_transport_py", "label": "transport.py", "file_type": "code", "source_file": "app/schemas/pl/transport.py", "source_location": "L1"}, {"id": "users_wuzilong_work_00code_shanxia2_0_backend_app_schemas_pl_transport_transportbase", "label": "TransportBase", "file_type": "code", "source_file": "app/schemas/pl/transport.py", "source_location": "L18"}, {"id": "basemodel", "label": "BaseModel", "file_type": "code", "source_file": "", "source_location": ""}, {"id": "users_wuzilong_work_00code_shanxia2_0_backend_app_schemas_pl_transport_transportcreate", "label": "TransportCreate", "file_type": "code", "source_file": "app/schemas/pl/transport.py", "source_location": "L42"}, {"id": "users_wuzilong_work_00code_shanxia2_0_backend_app_schemas_pl_transport_transportarrange", "label": "TransportArrange", "file_type": "code", "source_file": "app/schemas/pl/transport.py", "source_location": "L47"}, {"id": "users_wuzilong_work_00code_shanxia2_0_backend_app_schemas_pl_transport_transportinventorylinkread", "label": "TransportInventoryLinkRead", "file_type": "code", "source_file": "app/schemas/pl/transport.py", "source_location": "L77"}, {"id": "users_wuzilong_work_00code_shanxia2_0_backend_app_schemas_pl_transport_transportsitelinkread", "label": "TransportSiteLinkRead", "file_type": "code", "source_file": "app/schemas/pl/transport.py", "source_location": "L87"}, {"id": "users_wuzilong_work_00code_shanxia2_0_backend_app_schemas_pl_transport_transportupdate", "label": "TransportUpdate", "file_type": "code", "source_file": "app/schemas/pl/transport.py", "source_location": "L101"}, {"id": "users_wuzilong_work_00code_shanxia2_0_backend_app_schemas_pl_transport_transportdriverproductfeedbackread", "label": "TransportDriverProductFeedbackRead", "file_type": "code", "source_file": "app/schemas/pl/transport.py", "source_location": "L125"}, {"id": "users_wuzilong_work_00code_shanxia2_0_backend_app_schemas_pl_transport_transportread", "label": "TransportRead", "file_type": "code", "source_file": "app/schemas/pl/transport.py", "source_location": "L141"}, {"id": "planresourcesnapshotmixin", "label": "PlanResourceSnapshotMixin", "file_type": "code", "source_file": "", "source_location": ""}, {"id": "users_wuzilong_work_00code_shanxia2_0_backend_app_schemas_pl_transport_transportioorderbrief", "label": "TransportIoOrderBrief", "file_type": "code", "source_file": "app/schemas/pl/transport.py", "source_location": "L163"}, {"id": "users_wuzilong_work_00code_shanxia2_0_backend_app_schemas_pl_transport_transportarrangeresult", "label": "TransportArrangeResult", "file_type": "code", "source_file": "app/schemas/pl/transport.py", "source_location": "L173"}, {"id": "users_wuzilong_work_00code_shanxia2_0_backend_app_schemas_pl_transport_planarrangeinforead", "label": "PlanArrangeInfoRead", "file_type": "code", "source_file": "app/schemas/pl/transport.py", "source_location": "L184"}, {"id": "users_wuzilong_work_00code_shanxia2_0_backend_app_schemas_pl_transport_transportwithplans", "label": "TransportWithPlans", "file_type": "code", "source_file": "app/schemas/pl/transport.py", "source_location": "L195"}, {"id": "users_wuzilong_work_00code_shanxia2_0_backend_app_schemas_pl_transport_transportfeedback", "label": "TransportFeedback", "file_type": "code", "source_file": "app/schemas/pl/transport.py", "source_location": "L204"}, {"id": "users_wuzilong_work_00code_shanxia2_0_backend_app_schemas_pl_transport_publictransportproductfeedbackitem", "label": "PublicTransportProductFeedbackItem", "file_type": "code", "source_file": "app/schemas/pl/transport.py", "source_location": "L213"}, {"id": "users_wuzilong_work_00code_shanxia2_0_backend_app_schemas_pl_transport_publictransportfeedback", "label": "PublicTransportFeedback", "file_type": "code", "source_file": "app/schemas/pl/transport.py", "source_location": "L220"}, {"id": "users_wuzilong_work_00code_shanxia2_0_backend_app_schemas_pl_transport_publictransportplanproductread", "label": "PublicTransportPlanProductRead", "file_type": "code", "source_file": "app/schemas/pl/transport.py", "source_location": "L228"}, {"id": "users_wuzilong_work_00code_shanxia2_0_backend_app_schemas_pl_transport_publictransportpersonnelread", "label": "PublicTransportPersonnelRead", "file_type": "code", "source_file": "app/schemas/pl/transport.py", "source_location": "L246"}, {"id": "users_wuzilong_work_00code_shanxia2_0_backend_app_schemas_pl_transport_publictransportpageread", "label": "PublicTransportPageRead", "file_type": "code", "source_file": "app/schemas/pl/transport.py", "source_location": "L253"}, {"id": "users_wuzilong_work_00code_shanxia2_0_backend_app_schemas_pl_transport_publictransporthistoryproductread", "label": "PublicTransportHistoryProductRead", "file_type": "code", "source_file": "app/schemas/pl/transport.py", "source_location": "L286"}, {"id": "users_wuzilong_work_00code_shanxia2_0_backend_app_schemas_pl_transport_publictransporthLine truncated
@@ -0,0 +1 @@
{"nodes": [{"id": "users_wuzilong_work_00code_shanxia2_0_backend_app_api_pl_base_data_py", "label": "base_data.py", "file_type": "code", "source_file": "app/api/pl/base_data.py", "source_location": "L1"}, {"id": "users_wuzilong_work_00code_shanxia2_0_backend_app_api_pl_base_data_list_carriers", "label": "list_carriers()", "file_type": "code", "source_file": "app/api/pl/base_data.py", "source_location": "L83"}, {"id": "session", "label": "Session", "file_type": "code", "source_file": "", "source_location": "", "origin_file": "/Users/wuzilong/work/00code/shanxia2.0/backend/app/api/pl/base_data.py"}, {"id": "dbusercontext", "label": "DbUserContext", "file_type": "code", "source_file": "", "source_location": "", "origin_file": "/Users/wuzilong/work/00code/shanxia2.0/backend/app/api/pl/base_data.py"}, {"id": "carrierlistresponse", "label": "CarrierListResponse", "file_type": "code", "source_file": "", "source_location": "", "origin_file": "/Users/wuzilong/work/00code/shanxia2.0/backend/app/api/pl/base_data.py"}, {"id": "users_wuzilong_work_00code_shanxia2_0_backend_app_api_pl_base_data_carrierexportbody", "label": "CarrierExportBody", "file_type": "code", "source_file": "app/api/pl/base_data.py", "source_location": "L139"}, {"id": "basemodel", "label": "BaseModel", "file_type": "code", "source_file": "", "source_location": ""}, {"id": "users_wuzilong_work_00code_shanxia2_0_backend_app_api_pl_base_data_export_carriers", "label": "export_carriers()", "file_type": "code", "source_file": "app/api/pl/base_data.py", "source_location": "L150"}, {"id": "users_wuzilong_work_00code_shanxia2_0_backend_app_api_pl_base_data_create_carrier", "label": "create_carrier()", "file_type": "code", "source_file": "app/api/pl/base_data.py", "source_location": "L222"}, {"id": "carriercreate", "label": "CarrierCreate", "file_type": "code", "source_file": "", "source_location": "", "origin_file": "/Users/wuzilong/work/00code/shanxia2.0/backend/app/api/pl/base_data.py"}, {"id": "carrierread", "label": "CarrierRead", "file_type": "code", "source_file": "", "source_location": "", "origin_file": "/Users/wuzilong/work/00code/shanxia2.0/backend/app/api/pl/base_data.py"}, {"id": "users_wuzilong_work_00code_shanxia2_0_backend_app_api_pl_base_data_get_carrier", "label": "get_carrier()", "file_type": "code", "source_file": "app/api/pl/base_data.py", "source_location": "L252"}, {"id": "users_wuzilong_work_00code_shanxia2_0_backend_app_api_pl_base_data_update_carrier", "label": "update_carrier()", "file_type": "code", "source_file": "app/api/pl/base_data.py", "source_location": "L263"}, {"id": "carrierupdate", "label": "CarrierUpdate", "file_type": "code", "source_file": "", "source_location": "", "origin_file": "/Users/wuzilong/work/00code/shanxia2.0/backend/app/api/pl/base_data.py"}, {"id": "users_wuzilong_work_00code_shanxia2_0_backend_app_api_pl_base_data_delete_carrier", "label": "delete_carrier()", "file_type": "code", "source_file": "app/api/pl/base_data.py", "source_location": "L292"}, {"id": "users_wuzilong_work_00code_shanxia2_0_backend_app_api_pl_base_data_approve_carrier", "label": "approve_carrier()", "file_type": "code", "source_file": "app/api/pl/base_data.py", "source_location": "L306"}, {"id": "users_wuzilong_work_00code_shanxia2_0_backend_app_api_pl_base_data_reject_carrier", "label": "reject_carrier()", "file_type": "code", "source_file": "app/api/pl/base_data.py", "source_location": "L315"}, {"id": "carrierauditreject", "label": "CarrierAuditReject", "file_type": "code", "source_file": "", "source_location": "", "origin_file": "/Users/wuzilong/work/00code/shanxia2.0/backend/app/api/pl/base_data.py"}, {"id": "plcarrier", "label": "PlCarrier", "file_type": "code", "source_file": "", "source_location": "", "origin_file": "/Users/wuzilong/work/00code/shanxia2.0/backend/app/api/pl/base_data.py"}, {"id": "users_wuzilong_work_00code_shanxia2_0_backend_app_api_pl_base_data_vehicle_to_read", "label": "_vehicle_to_read()", "file_type": "code", "source_file": "app/api/pl/base_data.py", "source_location": "L344"}, {"id": "plvehicle", "label": "PlVehicle", "file_type": "code", "source_file": "", "source_location": "", "origin_file": "/Users/wuzilong/work/00code/shanxia2.0/backend/app/api/pl/base_data.py"}, {"id": "certread", "label": "CertRead", "file_type": "code", "source_file": "", "source_location": "", "origin_file": "/Users/wuzilong/work/00code/shanxia2.0/backend/app/api/pl/base_data.py"}, {"id": "vehicleread", "label": "VehicleRead", "file_type": "code", "source_file": "", "source_location": "", "origin_file": "/Users/wuzilong/work/00code/shanxia2.0/backend/app/api/pl/base_data.py"}, {"id": "users_wuzilong_work_00code_shanxia2_0_backend_app_api_pl_base_data_vehicle_to_detail", "label": "_vehicle_to_detail()", "file_type": "code", "source_file": "app/api/pl/base_data.py", "source_location": "L361"}, {"id": "vehicledetailread", "label": "VehicleDetailRead", "file_type": "code", "source_file": "", "source_location": "", "origin_file": "/Line truncated
@@ -0,0 +1 @@
{"nodes": [{"id": "users_wuzilong_work_00code_shanxia2_0_backend_app_api_pl_public_transport_py", "label": "public_transport.py", "file_type": "code", "source_file": "app/api/pl/public_transport.py", "source_location": "L1"}, {"id": "users_wuzilong_work_00code_shanxia2_0_backend_app_api_pl_public_transport_resolve_unit_label", "label": "_resolve_unit_label()", "file_type": "code", "source_file": "app/api/pl/public_transport.py", "source_location": "L51"}, {"id": "users_wuzilong_work_00code_shanxia2_0_backend_app_api_pl_public_transport_get_transport_by_token", "label": "_get_transport_by_token()", "file_type": "code", "source_file": "app/api/pl/public_transport.py", "source_location": "L58"}, {"id": "session", "label": "Session", "file_type": "code", "source_file": "", "source_location": "", "origin_file": "/Users/wuzilong/work/00code/shanxia2.0/backend/app/api/pl/public_transport.py"}, {"id": "pltransport", "label": "PlTransport", "file_type": "code", "source_file": "", "source_location": "", "origin_file": "/Users/wuzilong/work/00code/shanxia2.0/backend/app/api/pl/public_transport.py"}, {"id": "users_wuzilong_work_00code_shanxia2_0_backend_app_api_pl_public_transport_parse_feedback_images", "label": "_parse_feedback_images()", "file_type": "code", "source_file": "app/api/pl/public_transport.py", "source_location": "L72"}, {"id": "users_wuzilong_work_00code_shanxia2_0_backend_app_api_pl_public_transport_format_plan_date", "label": "_format_plan_date()", "file_type": "code", "source_file": "app/api/pl/public_transport.py", "source_location": "L84"}, {"id": "users_wuzilong_work_00code_shanxia2_0_backend_app_api_pl_public_transport_normalize_main_plate", "label": "_normalize_main_plate()", "file_type": "code", "source_file": "app/api/pl/public_transport.py", "source_location": "L94"}, {"id": "users_wuzilong_work_00code_shanxia2_0_backend_app_api_pl_public_transport_parse_history_date", "label": "_parse_history_date()", "file_type": "code", "source_file": "app/api/pl/public_transport.py", "source_location": "L98"}, {"id": "date", "label": "date", "file_type": "code", "source_file": "", "source_location": "", "origin_file": "/Users/wuzilong/work/00code/shanxia2.0/backend/app/api/pl/public_transport.py"}, {"id": "users_wuzilong_work_00code_shanxia2_0_backend_app_api_pl_public_transport_as_date", "label": "_as_date()", "file_type": "code", "source_file": "app/api/pl/public_transport.py", "source_location": "L108"}, {"id": "users_wuzilong_work_00code_shanxia2_0_backend_app_api_pl_public_transport_history_matches_date", "label": "_history_matches_date()", "file_type": "code", "source_file": "app/api/pl/public_transport.py", "source_location": "L118"}, {"id": "users_wuzilong_work_00code_shanxia2_0_backend_app_api_pl_public_transport_history_status_label", "label": "_history_status_label()", "file_type": "code", "source_file": "app/api/pl/public_transport.py", "source_location": "L122"}, {"id": "users_wuzilong_work_00code_shanxia2_0_backend_app_api_pl_public_transport_build_driver_url", "label": "_build_driver_url()", "file_type": "code", "source_file": "app/api/pl/public_transport.py", "source_location": "L130"}, {"id": "users_wuzilong_work_00code_shanxia2_0_backend_app_api_pl_public_transport_resolve_driver_link_flags", "label": "_resolve_driver_link_flags()", "file_type": "code", "source_file": "app/api/pl/public_transport.py", "source_location": "L135"}, {"id": "plplan", "label": "PlPlan", "file_type": "code", "source_file": "", "source_location": "", "origin_file": "/Users/wuzilong/work/00code/shanxia2.0/backend/app/api/pl/public_transport.py"}, {"id": "users_wuzilong_work_00code_shanxia2_0_backend_app_api_pl_public_transport_resolve_other_personnel", "label": "_resolve_other_personnel()", "file_type": "code", "source_file": "app/api/pl/public_transport.py", "source_location": "L147"}, {"id": "publictransportpersonnelread", "label": "PublicTransportPersonnelRead", "file_type": "code", "source_file": "", "source_location": "", "origin_file": "/Users/wuzilong/work/00code/shanxia2.0/backend/app/api/pl/public_transport.py"}, {"id": "users_wuzilong_work_00code_shanxia2_0_backend_app_api_pl_public_transport_build_public_page", "label": "_build_public_page()", "file_type": "code", "source_file": "app/api/pl/public_transport.py", "source_location": "L176"}, {"id": "publictransportpageread", "label": "PublicTransportPageRead", "file_type": "code", "source_file": "", "source_location": "", "origin_file": "/Users/wuzilong/work/00code/shanxia2.0/backend/app/api/pl/public_transport.py"}, {"id": "users_wuzilong_work_00code_shanxia2_0_backend_app_api_pl_public_transport_get_public_transport", "label": "get_public_transport()", "file_type": "code", "source_file": "app/api/pl/public_transport.py", "source_location": "L333"}, {"id": "users_wuzilong_work_00code_shanxia2_0_backend_app_api_pl_public_transport_get_public_transport_history", "label": "get_public_transport_history()", "file_type": "code", "source_file": "app/api/pl/puLine truncated
@@ -0,0 +1 @@
{"nodes": [{"id": "users_wuzilong_work_00code_shanxia2_0_backend_app_api_admin_py", "label": "admin.py", "file_type": "code", "source_file": "app/api/admin.py", "source_location": "L1"}, {"id": "users_wuzilong_work_00code_shanxia2_0_backend_app_api_admin_list_roles_for_select", "label": "list_roles_for_select()", "file_type": "code", "source_file": "app/api/admin.py", "source_location": "L55"}, {"id": "session", "label": "Session", "file_type": "code", "source_file": "", "source_location": "", "origin_file": "/Users/wuzilong/work/00code/shanxia2.0/backend/app/api/admin.py"}, {"id": "users_wuzilong_work_00code_shanxia2_0_backend_app_api_admin_list_users_for_select", "label": "list_users_for_select()", "file_type": "code", "source_file": "app/api/admin.py", "source_location": "L87"}, {"id": "users_wuzilong_work_00code_shanxia2_0_backend_app_api_admin_list_roles_for_designer", "label": "list_roles_for_designer()", "file_type": "code", "source_file": "app/api/admin.py", "source_location": "L113"}, {"id": "users_wuzilong_work_00code_shanxia2_0_backend_app_api_admin_tenantcreatebody", "label": "TenantCreateBody", "file_type": "code", "source_file": "app/api/admin.py", "source_location": "L134"}, {"id": "basemodel", "label": "BaseModel", "file_type": "code", "source_file": "", "source_location": ""}, {"id": "users_wuzilong_work_00code_shanxia2_0_backend_app_api_admin_tenantupdatebody", "label": "TenantUpdateBody", "file_type": "code", "source_file": "app/api/admin.py", "source_location": "L145"}, {"id": "users_wuzilong_work_00code_shanxia2_0_backend_app_api_admin_list_tenants", "label": "list_tenants()", "file_type": "code", "source_file": "app/api/admin.py", "source_location": "L157"}, {"id": "users_wuzilong_work_00code_shanxia2_0_backend_app_api_admin_create_tenant", "label": "create_tenant()", "file_type": "code", "source_file": "app/api/admin.py", "source_location": "L178"}, {"id": "users_wuzilong_work_00code_shanxia2_0_backend_app_api_admin_update_tenant", "label": "update_tenant()", "file_type": "code", "source_file": "app/api/admin.py", "source_location": "L200"}, {"id": "users_wuzilong_work_00code_shanxia2_0_backend_app_api_admin_delete_tenant", "label": "delete_tenant()", "file_type": "code", "source_file": "app/api/admin.py", "source_location": "L225"}, {"id": "users_wuzilong_work_00code_shanxia2_0_backend_app_api_admin_get_tenant_no", "label": "_get_tenant_no()", "file_type": "code", "source_file": "app/api/admin.py", "source_location": "L242"}, {"id": "users_wuzilong_work_00code_shanxia2_0_backend_app_api_admin_usercreatebody", "label": "UserCreateBody", "file_type": "code", "source_file": "app/api/admin.py", "source_location": "L255"}, {"id": "users_wuzilong_work_00code_shanxia2_0_backend_app_api_admin_userupdatebody", "label": "UserUpdateBody", "file_type": "code", "source_file": "app/api/admin.py", "source_location": "L272"}, {"id": "users_wuzilong_work_00code_shanxia2_0_backend_app_api_admin_userexportbody", "label": "UserExportBody", "file_type": "code", "source_file": "app/api/admin.py", "source_location": "L298"}, {"id": "users_wuzilong_work_00code_shanxia2_0_backend_app_api_admin_list_users", "label": "list_users()", "file_type": "code", "source_file": "app/api/admin.py", "source_location": "L308"}, {"id": "users_wuzilong_work_00code_shanxia2_0_backend_app_api_admin_export_users", "label": "export_users()", "file_type": "code", "source_file": "app/api/admin.py", "source_location": "L366"}, {"id": "users_wuzilong_work_00code_shanxia2_0_backend_app_api_admin_get_user_by_id", "label": "get_user_by_id()", "file_type": "code", "source_file": "app/api/admin.py", "source_location": "L441"}, {"id": "users_wuzilong_work_00code_shanxia2_0_backend_app_api_admin_create_user", "label": "create_user()", "file_type": "code", "source_file": "app/api/admin.py", "source_location": "L461"}, {"id": "users_wuzilong_work_00code_shanxia2_0_backend_app_api_admin_update_user", "label": "update_user()", "file_type": "code", "source_file": "app/api/admin.py", "source_location": "L494"}, {"id": "users_wuzilong_work_00code_shanxia2_0_backend_app_api_admin_delete_user", "label": "delete_user()", "file_type": "code", "source_file": "app/api/admin.py", "source_location": "L524"}, {"id": "users_wuzilong_work_00code_shanxia2_0_backend_app_api_admin_reset_user_password", "label": "reset_user_password()", "file_type": "code", "source_file": "app/api/admin.py", "source_location": "L537"}, {"id": "users_wuzilong_work_00code_shanxia2_0_backend_app_api_admin_dicttypecreatebody", "label": "DictTypeCreateBody", "file_type": "code", "source_file": "app/api/admin.py", "source_location": "L554"}, {"id": "users_wuzilong_work_00code_shanxia2_0_backend_app_api_admin_dicttypeupdatebody", "label": "DictTypeUpdateBody", "file_type": "code", "source_file": "app/api/admin.py", "source_location": "L563"}, {"id": "users_wuzilong_work_00code_shanxia2_0_backend_app_api_admin_list_dict_types", "label": "list_dict_types()", "file_type": "code", "sourcLine truncated
@@ -0,0 +1 @@
{"nodes": [{"id": "users_wuzilong_work_00code_shanxia2_0_backend_app_services_pl_vehicle_urea_service_py", "label": "pl_vehicle_urea_service.py", "file_type": "code", "source_file": "app/services/pl_vehicle_urea_service.py", "source_location": "L1"}, {"id": "users_wuzilong_work_00code_shanxia2_0_backend_app_services_pl_vehicle_urea_service_generate_seq_no", "label": "_generate_seq_no()", "file_type": "code", "source_file": "app/services/pl_vehicle_urea_service.py", "source_location": "L27"}, {"id": "session", "label": "Session", "file_type": "code", "source_file": "", "source_location": "", "origin_file": "/Users/wuzilong/work/00code/shanxia2.0/backend/app/services/pl_vehicle_urea_service.py"}, {"id": "users_wuzilong_work_00code_shanxia2_0_backend_app_services_pl_vehicle_urea_service_generate_apply_no", "label": "generate_apply_no()", "file_type": "code", "source_file": "app/services/pl_vehicle_urea_service.py", "source_location": "L39"}, {"id": "users_wuzilong_work_00code_shanxia2_0_backend_app_services_pl_vehicle_urea_service_generate_disburse_no", "label": "generate_disburse_no()", "file_type": "code", "source_file": "app/services/pl_vehicle_urea_service.py", "source_location": "L45"}, {"id": "users_wuzilong_work_00code_shanxia2_0_backend_app_services_pl_vehicle_urea_service_resolve_user_name", "label": "_resolve_user_name()", "file_type": "code", "source_file": "app/services/pl_vehicle_urea_service.py", "source_location": "L51"}, {"id": "users_wuzilong_work_00code_shanxia2_0_backend_app_services_pl_vehicle_urea_service_assert_vehicle_exists", "label": "_assert_vehicle_exists()", "file_type": "code", "source_file": "app/services/pl_vehicle_urea_service.py", "source_location": "L62"}, {"id": "users_wuzilong_work_00code_shanxia2_0_backend_app_services_pl_vehicle_urea_service_resolve_user_id", "label": "_resolve_user_id()", "file_type": "code", "source_file": "app/services/pl_vehicle_urea_service.py", "source_location": "L76"}, {"id": "dbusercontext", "label": "DbUserContext", "file_type": "code", "source_file": "", "source_location": "", "origin_file": "/Users/wuzilong/work/00code/shanxia2.0/backend/app/services/pl_vehicle_urea_service.py"}, {"id": "users_wuzilong_work_00code_shanxia2_0_backend_app_services_pl_vehicle_urea_service_validate_apply_dates", "label": "_validate_apply_dates()", "file_type": "code", "source_file": "app/services/pl_vehicle_urea_service.py", "source_location": "L100"}, {"id": "date", "label": "date", "file_type": "code", "source_file": "", "source_location": "", "origin_file": "/Users/wuzilong/work/00code/shanxia2.0/backend/app/services/pl_vehicle_urea_service.py"}, {"id": "users_wuzilong_work_00code_shanxia2_0_backend_app_services_pl_vehicle_urea_service_get_apply_row", "label": "_get_apply_row()", "file_type": "code", "source_file": "app/services/pl_vehicle_urea_service.py", "source_location": "L105"}, {"id": "plvehicleureaapply", "label": "PlVehicleUreaApply", "file_type": "code", "source_file": "", "source_location": "", "origin_file": "/Users/wuzilong/work/00code/shanxia2.0/backend/app/services/pl_vehicle_urea_service.py"}, {"id": "users_wuzilong_work_00code_shanxia2_0_backend_app_services_pl_vehicle_urea_service_get_disburse_row", "label": "_get_disburse_row()", "file_type": "code", "source_file": "app/services/pl_vehicle_urea_service.py", "source_location": "L123"}, {"id": "plvehicleureadisburse", "label": "PlVehicleUreaDisburse", "file_type": "code", "source_file": "", "source_location": "", "origin_file": "/Users/wuzilong/work/00code/shanxia2.0/backend/app/services/pl_vehicle_urea_service.py"}, {"id": "users_wuzilong_work_00code_shanxia2_0_backend_app_services_pl_vehicle_urea_service_has_active_disburse", "label": "_has_active_disburse()", "file_type": "code", "source_file": "app/services/pl_vehicle_urea_service.py", "source_location": "L141"}, {"id": "users_wuzilong_work_00code_shanxia2_0_backend_app_services_pl_vehicle_urea_service_apply_to_read", "label": "apply_to_read()", "file_type": "code", "source_file": "app/services/pl_vehicle_urea_service.py", "source_location": "L154"}, {"id": "vehicleureaapplyread", "label": "VehicleUreaApplyRead", "file_type": "code", "source_file": "", "source_location": "", "origin_file": "/Users/wuzilong/work/00code/shanxia2.0/backend/app/services/pl_vehicle_urea_service.py"}, {"id": "users_wuzilong_work_00code_shanxia2_0_backend_app_services_pl_vehicle_urea_service_disburse_to_read", "label": "disburse_to_read()", "file_type": "code", "source_file": "app/services/pl_vehicle_urea_service.py", "source_location": "L174"}, {"id": "vehicleureadisburseread", "label": "VehicleUreaDisburseRead", "file_type": "code", "source_file": "", "source_location": "", "origin_file": "/Users/wuzilong/work/00code/shanxia2.0/backend/app/services/pl_vehicle_urea_service.py"}, {"id": "users_wuzilong_work_00code_shanxia2_0_backend_app_services_pl_vehicle_urea_service_resolve_apply_for_disburse", "label": "_resolve_apply_for_disburse()", "file_type": "code", "souLine truncated
@@ -0,0 +1 @@
{"nodes": [{"id": "users_wuzilong_work_00code_shanxia2_0_backend_app_api_db_weighing_py", "label": "weighing.py", "file_type": "code", "source_file": "app/api/db/weighing.py", "source_location": "L1"}, {"id": "users_wuzilong_work_00code_shanxia2_0_backend_app_api_db_weighing_base_query", "label": "_base_query()", "file_type": "code", "source_file": "app/api/db/weighing.py", "source_location": "L48"}, {"id": "session", "label": "Session", "file_type": "code", "source_file": "", "source_location": "", "origin_file": "/Users/wuzilong/work/00code/shanxia2.0/backend/app/api/db/weighing.py"}, {"id": "users_wuzilong_work_00code_shanxia2_0_backend_app_api_db_weighing_get_weighing", "label": "_get_weighing()", "file_type": "code", "source_file": "app/api/db/weighing.py", "source_location": "L56"}, {"id": "dbusercontext", "label": "DbUserContext", "file_type": "code", "source_file": "", "source_location": "", "origin_file": "/Users/wuzilong/work/00code/shanxia2.0/backend/app/api/db/weighing.py"}, {"id": "dbweighingslip", "label": "DbWeighingSlip", "file_type": "code", "source_file": "", "source_location": "", "origin_file": "/Users/wuzilong/work/00code/shanxia2.0/backend/app/api/db/weighing.py"}, {"id": "users_wuzilong_work_00code_shanxia2_0_backend_app_api_db_weighing_apply_weighing_product_update", "label": "_apply_weighing_product_update()", "file_type": "code", "source_file": "app/api/db/weighing.py", "source_location": "L77"}, {"id": "users_wuzilong_work_00code_shanxia2_0_backend_app_api_db_weighing_apply_weighing_update", "label": "_apply_weighing_update()", "file_type": "code", "source_file": "app/api/db/weighing.py", "source_location": "L93"}, {"id": "users_wuzilong_work_00code_shanxia2_0_backend_app_api_db_weighing_list_weighing", "label": "list_weighing()", "file_type": "code", "source_file": "app/api/db/weighing.py", "source_location": "L115"}, {"id": "weighingslipread", "label": "WeighingSlipRead", "file_type": "code", "source_file": "", "source_location": "", "origin_file": "/Users/wuzilong/work/00code/shanxia2.0/backend/app/api/db/weighing.py"}, {"id": "users_wuzilong_work_00code_shanxia2_0_backend_app_api_db_weighing_weighingexportbody", "label": "WeighingExportBody", "file_type": "code", "source_file": "app/api/db/weighing.py", "source_location": "L227"}, {"id": "basemodel", "label": "BaseModel", "file_type": "code", "source_file": "", "source_location": ""}, {"id": "users_wuzilong_work_00code_shanxia2_0_backend_app_api_db_weighing_kg_to_ton", "label": "_kg_to_ton()", "file_type": "code", "source_file": "app/api/db/weighing.py", "source_location": "L244"}, {"id": "users_wuzilong_work_00code_shanxia2_0_backend_app_api_db_weighing_export_weighing", "label": "export_weighing()", "file_type": "code", "source_file": "app/api/db/weighing.py", "source_location": "L252"}, {"id": "users_wuzilong_work_00code_shanxia2_0_backend_app_api_db_weighing_create_weighing", "label": "create_weighing()", "file_type": "code", "source_file": "app/api/db/weighing.py", "source_location": "L306"}, {"id": "weighingslipcreate", "label": "WeighingSlipCreate", "file_type": "code", "source_file": "", "source_location": "", "origin_file": "/Users/wuzilong/work/00code/shanxia2.0/backend/app/api/db/weighing.py"}, {"id": "users_wuzilong_work_00code_shanxia2_0_backend_app_api_db_weighing_update_weighing", "label": "update_weighing()", "file_type": "code", "source_file": "app/api/db/weighing.py", "source_location": "L418"}, {"id": "weighingslipupdate", "label": "WeighingSlipUpdate", "file_type": "code", "source_file": "", "source_location": "", "origin_file": "/Users/wuzilong/work/00code/shanxia2.0/backend/app/api/db/weighing.py"}, {"id": "users_wuzilong_work_00code_shanxia2_0_backend_app_api_db_weighing_void_weighing", "label": "void_weighing()", "file_type": "code", "source_file": "app/api/db/weighing.py", "source_location": "L446"}, {"id": "users_wuzilong_work_00code_shanxia2_0_backend_app_api_db_weighing_delete_weighing", "label": "delete_weighing()", "file_type": "code", "source_file": "app/api/db/weighing.py", "source_location": "L467"}, {"id": "users_wuzilong_work_00code_shanxia2_0_backend_app_api_db_weighing_weighingrelateddata", "label": "WeighingRelatedData", "file_type": "code", "source_file": "app/api/db/weighing.py", "source_location": "L481"}, {"id": "users_wuzilong_work_00code_shanxia2_0_backend_app_api_db_weighing_get_weighing_related", "label": "get_weighing_related()", "file_type": "code", "source_file": "app/api/db/weighing.py", "source_location": "L487"}, {"id": "users_wuzilong_work_00code_shanxia2_0_backend_app_api_db_weighing_rationale_257", "label": "\u5bfc\u51fa\u5730\u78c5\u5355\u5217\u8868\uff08\u5f53\u524d\u7b5b\u9009\u5168\u91cf\uff0c\u6216 ids \u5df2\u9009\uff09\u3002", "file_type": "rationale", "source_file": "app/api/db/weighing.py", "source_location": "L257"}], "edges": [{"source": "users_wuzilong_work_00code_shanxia2_0_backend_app_api_db_weighing_py", "target": "typing", "relation": "imports_from", "contLine truncated
@@ -0,0 +1 @@
{"nodes": [{"id": "users_wuzilong_work_00code_shanxia2_0_backend_app_api_crm_contract_sub_routes_py", "label": "crm_contract_sub_routes.py", "file_type": "code", "source_file": "app/api/crm_contract_sub_routes.py", "source_location": "L1"}, {"id": "users_wuzilong_work_00code_shanxia2_0_backend_app_api_crm_contract_sub_routes_register_contract_sub_routes", "label": "register_contract_sub_routes()", "file_type": "code", "source_file": "app/api/crm_contract_sub_routes.py", "source_location": "L68"}, {"id": "users_wuzilong_work_00code_shanxia2_0_backend_app_api_crm_contract_sub_routes_rationale_1", "label": "CRM \u5408\u540c\u5b50\u6a21\u5757\u8def\u7531 \u2014 \u53d8\u66f4/\u6a21\u677f/\u5ba1\u6279\u72ec\u7acb\u9875", "file_type": "rationale", "source_file": "app/api/crm_contract_sub_routes.py", "source_location": "L1"}], "edges": [{"source": "users_wuzilong_work_00code_shanxia2_0_backend_app_api_crm_contract_sub_routes_py", "target": "datetime", "relation": "imports_from", "context": "import", "confidence": "EXTRACTED", "source_file": "app/api/crm_contract_sub_routes.py", "source_location": "L4", "weight": 1.0}, {"source": "users_wuzilong_work_00code_shanxia2_0_backend_app_api_crm_contract_sub_routes_py", "target": "typing", "relation": "imports_from", "context": "import", "confidence": "EXTRACTED", "source_file": "app/api/crm_contract_sub_routes.py", "source_location": "L5", "weight": 1.0}, {"source": "users_wuzilong_work_00code_shanxia2_0_backend_app_api_crm_contract_sub_routes_py", "target": "fastapi", "relation": "imports_from", "context": "import", "confidence": "EXTRACTED", "source_file": "app/api/crm_contract_sub_routes.py", "source_location": "L7", "weight": 1.0}, {"source": "users_wuzilong_work_00code_shanxia2_0_backend_app_api_crm_contract_sub_routes_py", "target": "sqlalchemy_orm", "relation": "imports_from", "context": "import", "confidence": "EXTRACTED", "source_file": "app/api/crm_contract_sub_routes.py", "source_location": "L8", "weight": 1.0}, {"source": "users_wuzilong_work_00code_shanxia2_0_backend_app_api_crm_contract_sub_routes_py", "target": "app_core_database", "relation": "imports_from", "context": "import", "confidence": "EXTRACTED", "source_file": "app/api/crm_contract_sub_routes.py", "source_location": "L10", "weight": 1.0}, {"source": "users_wuzilong_work_00code_shanxia2_0_backend_app_api_crm_contract_sub_routes_py", "target": "app_core_menu_guard", "relation": "imports_from", "context": "import", "confidence": "EXTRACTED", "source_file": "app/api/crm_contract_sub_routes.py", "source_location": "L11", "weight": 1.0}, {"source": "users_wuzilong_work_00code_shanxia2_0_backend_app_api_crm_contract_sub_routes_py", "target": "app_core_response", "relation": "imports_from", "context": "import", "confidence": "EXTRACTED", "source_file": "app/api/crm_contract_sub_routes.py", "source_location": "L12", "weight": 1.0}, {"source": "users_wuzilong_work_00code_shanxia2_0_backend_app_api_crm_contract_sub_routes_py", "target": "app_core_tenant_context", "relation": "imports_from", "context": "import", "confidence": "EXTRACTED", "source_file": "app/api/crm_contract_sub_routes.py", "source_location": "L13", "weight": 1.0}, {"source": "users_wuzilong_work_00code_shanxia2_0_backend_app_api_crm_contract_sub_routes_py", "target": "app_crud_crm_data_scope_helpers", "relation": "imports_from", "context": "import", "confidence": "EXTRACTED", "source_file": "app/api/crm_contract_sub_routes.py", "source_location": "L14", "weight": 1.0}, {"source": "users_wuzilong_work_00code_shanxia2_0_backend_app_api_crm_contract_sub_routes_py", "target": "app_crud_crm_contract", "relation": "imports_from", "context": "import", "confidence": "EXTRACTED", "source_file": "app/api/crm_contract_sub_routes.py", "source_location": "L15", "weight": 1.0}, {"source": "users_wuzilong_work_00code_shanxia2_0_backend_app_api_crm_contract_sub_routes_py", "target": "app_crud_crm_contract_approval", "relation": "imports_from", "context": "import", "confidence": "EXTRACTED", "source_file": "app/api/crm_contract_sub_routes.py", "source_location": "L34", "weight": 1.0}, {"source": "users_wuzilong_work_00code_shanxia2_0_backend_app_api_crm_contract_sub_routes_py", "target": "app_schemas_crm_contract", "relation": "imports_from", "context": "import", "confidence": "EXTRACTED", "source_file": "app/api/crm_contract_sub_routes.py", "source_location": "L43", "weight": 1.0}, {"source": "users_wuzilong_work_00code_shanxia2_0_backend_app_api_crm_contract_sub_routes_py", "target": "app_utils_crm_export_columns", "relation": "imports_from", "context": "import", "confidence": "EXTRACTED", "source_file": "app/api/crm_contract_sub_routes.py", "source_location": "L60", "weight": 1.0}, {"source": "users_wuzilong_work_00code_shanxia2_0_backend_app_api_crm_contract_sub_routes_py", "target": "app_utils_excel_export", "relation": "imports_from", "context": "import", "confidence": "EXTRACTED", "source_file": "app/api/crm_contract_sub_routes.py", "source_location"Line truncated
@@ -0,0 +1 @@
{"nodes": [{"id": "users_wuzilong_work_00code_shanxia2_0_backend_app_api_pl_vehicle_maintenance_py", "label": "vehicle_maintenance.py", "file_type": "code", "source_file": "app/api/pl/vehicle_maintenance.py", "source_location": "L1"}, {"id": "users_wuzilong_work_00code_shanxia2_0_backend_app_api_pl_vehicle_maintenance_list_applies", "label": "list_applies()", "file_type": "code", "source_file": "app/api/pl/vehicle_maintenance.py", "source_location": "L29"}, {"id": "date", "label": "date", "file_type": "code", "source_file": "", "source_location": "", "origin_file": "/Users/wuzilong/work/00code/shanxia2.0/backend/app/api/pl/vehicle_maintenance.py"}, {"id": "session", "label": "Session", "file_type": "code", "source_file": "", "source_location": "", "origin_file": "/Users/wuzilong/work/00code/shanxia2.0/backend/app/api/pl/vehicle_maintenance.py"}, {"id": "dbusercontext", "label": "DbUserContext", "file_type": "code", "source_file": "", "source_location": "", "origin_file": "/Users/wuzilong/work/00code/shanxia2.0/backend/app/api/pl/vehicle_maintenance.py"}, {"id": "vehiclemaintenanceapplylistresponse", "label": "VehicleMaintenanceApplyListResponse", "file_type": "code", "source_file": "", "source_location": "", "origin_file": "/Users/wuzilong/work/00code/shanxia2.0/backend/app/api/pl/vehicle_maintenance.py"}, {"id": "users_wuzilong_work_00code_shanxia2_0_backend_app_api_pl_vehicle_maintenance_list_reminders", "label": "list_reminders()", "file_type": "code", "source_file": "app/api/pl/vehicle_maintenance.py", "source_location": "L61"}, {"id": "vehiclemaintenanceapplyreminder", "label": "VehicleMaintenanceApplyReminder", "file_type": "code", "source_file": "", "source_location": "", "origin_file": "/Users/wuzilong/work/00code/shanxia2.0/backend/app/api/pl/vehicle_maintenance.py"}, {"id": "users_wuzilong_work_00code_shanxia2_0_backend_app_api_pl_vehicle_maintenance_get_apply", "label": "get_apply()", "file_type": "code", "source_file": "app/api/pl/vehicle_maintenance.py", "source_location": "L78"}, {"id": "vehiclemaintenanceapplyread", "label": "VehicleMaintenanceApplyRead", "file_type": "code", "source_file": "", "source_location": "", "origin_file": "/Users/wuzilong/work/00code/shanxia2.0/backend/app/api/pl/vehicle_maintenance.py"}, {"id": "users_wuzilong_work_00code_shanxia2_0_backend_app_api_pl_vehicle_maintenance_create_apply", "label": "create_apply()", "file_type": "code", "source_file": "app/api/pl/vehicle_maintenance.py", "source_location": "L88"}, {"id": "vehiclemaintenanceapplycreate", "label": "VehicleMaintenanceApplyCreate", "file_type": "code", "source_file": "", "source_location": "", "origin_file": "/Users/wuzilong/work/00code/shanxia2.0/backend/app/api/pl/vehicle_maintenance.py"}, {"id": "users_wuzilong_work_00code_shanxia2_0_backend_app_api_pl_vehicle_maintenance_update_apply", "label": "update_apply()", "file_type": "code", "source_file": "app/api/pl/vehicle_maintenance.py", "source_location": "L98"}, {"id": "vehiclemaintenanceapplyupdate", "label": "VehicleMaintenanceApplyUpdate", "file_type": "code", "source_file": "", "source_location": "", "origin_file": "/Users/wuzilong/work/00code/shanxia2.0/backend/app/api/pl/vehicle_maintenance.py"}, {"id": "users_wuzilong_work_00code_shanxia2_0_backend_app_api_pl_vehicle_maintenance_cancel_apply", "label": "cancel_apply()", "file_type": "code", "source_file": "app/api/pl/vehicle_maintenance.py", "source_location": "L109"}, {"id": "users_wuzilong_work_00code_shanxia2_0_backend_app_api_pl_vehicle_maintenance_delete_applies", "label": "delete_applies()", "file_type": "code", "source_file": "app/api/pl/vehicle_maintenance.py", "source_location": "L119"}, {"id": "users_wuzilong_work_00code_shanxia2_0_backend_app_api_pl_vehicle_maintenance_list_process_board", "label": "list_process_board()", "file_type": "code", "source_file": "app/api/pl/vehicle_maintenance.py", "source_location": "L130"}, {"id": "vehiclemaintenanceprocessboardlistresponse", "label": "VehicleMaintenanceProcessBoardListResponse", "file_type": "code", "source_file": "", "source_location": "", "origin_file": "/Users/wuzilong/work/00code/shanxia2.0/backend/app/api/pl/vehicle_maintenance.py"}, {"id": "users_wuzilong_work_00code_shanxia2_0_backend_app_api_pl_vehicle_maintenance_get_process", "label": "get_process()", "file_type": "code", "source_file": "app/api/pl/vehicle_maintenance.py", "source_location": "L164"}, {"id": "vehiclemaintenanceprocessread", "label": "VehicleMaintenanceProcessRead", "file_type": "code", "source_file": "", "source_location": "", "origin_file": "/Users/wuzilong/work/00code/shanxia2.0/backend/app/api/pl/vehicle_maintenance.py"}, {"id": "users_wuzilong_work_00code_shanxia2_0_backend_app_api_pl_vehicle_maintenance_create_process", "label": "create_process()", "file_type": "code", "source_file": "app/api/pl/vehicle_maintenance.py", "source_location": "L174"}, {"id": "vehiclemaintenanceprocesscreate", "label": "VehicleMaintenanceProcessCreate", "file_type": "code", "souLine truncated
@@ -0,0 +1 @@
{"nodes": [{"id": "users_wuzilong_work_00code_shanxia2_0_backend_app_crud_crm_product_py", "label": "product.py", "file_type": "code", "source_file": "app/crud/crm/product.py", "source_location": "L1"}, {"id": "users_wuzilong_work_00code_shanxia2_0_backend_app_crud_crm_product_total_pages", "label": "total_pages()", "file_type": "code", "source_file": "app/crud/crm/product.py", "source_location": "L33"}, {"id": "users_wuzilong_work_00code_shanxia2_0_backend_app_crud_crm_product_category_row_to_dict", "label": "_category_row_to_dict()", "file_type": "code", "source_file": "app/crud/crm/product.py", "source_location": "L43"}, {"id": "crmproductcategory", "label": "CrmProductCategory", "file_type": "code", "source_file": "", "source_location": "", "origin_file": "/Users/wuzilong/work/00code/shanxia2.0/backend/app/crud/crm/product.py"}, {"id": "any", "label": "Any", "file_type": "code", "source_file": "", "source_location": "", "origin_file": "/Users/wuzilong/work/00code/shanxia2.0/backend/app/crud/crm/product.py"}, {"id": "users_wuzilong_work_00code_shanxia2_0_backend_app_crud_crm_product_list_categories", "label": "list_categories()", "file_type": "code", "source_file": "app/crud/crm/product.py", "source_location": "L59"}, {"id": "session", "label": "Session", "file_type": "code", "source_file": "", "source_location": "", "origin_file": "/Users/wuzilong/work/00code/shanxia2.0/backend/app/crud/crm/product.py"}, {"id": "users_wuzilong_work_00code_shanxia2_0_backend_app_crud_crm_product_build_category_tree", "label": "_build_category_tree()", "file_type": "code", "source_file": "app/crud/crm/product.py", "source_location": "L86"}, {"id": "users_wuzilong_work_00code_shanxia2_0_backend_app_crud_crm_product_collect_category_with_ancestors", "label": "_collect_category_with_ancestors()", "file_type": "code", "source_file": "app/crud/crm/product.py", "source_location": "L97"}, {"id": "users_wuzilong_work_00code_shanxia2_0_backend_app_crud_crm_product_list_category_tree", "label": "list_category_tree()", "file_type": "code", "source_file": "app/crud/crm/product.py", "source_location": "L113"}, {"id": "users_wuzilong_work_00code_shanxia2_0_backend_app_crud_crm_product_get_category", "label": "get_category()", "file_type": "code", "source_file": "app/crud/crm/product.py", "source_location": "L146"}, {"id": "users_wuzilong_work_00code_shanxia2_0_backend_app_crud_crm_product_create_category", "label": "create_category()", "file_type": "code", "source_file": "app/crud/crm/product.py", "source_location": "L158"}, {"id": "users_wuzilong_work_00code_shanxia2_0_backend_app_crud_crm_product_update_category", "label": "update_category()", "file_type": "code", "source_file": "app/crud/crm/product.py", "source_location": "L195"}, {"id": "users_wuzilong_work_00code_shanxia2_0_backend_app_crud_crm_product_soft_delete_category", "label": "soft_delete_category()", "file_type": "code", "source_file": "app/crud/crm/product.py", "source_location": "L234"}, {"id": "users_wuzilong_work_00code_shanxia2_0_backend_app_crud_crm_product_category_code_exists", "label": "category_code_exists()", "file_type": "code", "source_file": "app/crud/crm/product.py", "source_location": "L274"}, {"id": "users_wuzilong_work_00code_shanxia2_0_backend_app_crud_crm_product_brand_row_to_dict", "label": "_brand_row_to_dict()", "file_type": "code", "source_file": "app/crud/crm/product.py", "source_location": "L294"}, {"id": "crmproductbrand", "label": "CrmProductBrand", "file_type": "code", "source_file": "", "source_location": "", "origin_file": "/Users/wuzilong/work/00code/shanxia2.0/backend/app/crud/crm/product.py"}, {"id": "users_wuzilong_work_00code_shanxia2_0_backend_app_crud_crm_product_alias_row_to_dict", "label": "_alias_row_to_dict()", "file_type": "code", "source_file": "app/crud/crm/product.py", "source_location": "L303"}, {"id": "crmproductalias", "label": "CrmProductAlias", "file_type": "code", "source_file": "", "source_location": "", "origin_file": "/Users/wuzilong/work/00code/shanxia2.0/backend/app/crud/crm/product.py"}, {"id": "users_wuzilong_work_00code_shanxia2_0_backend_app_crud_crm_product_load_brands_aliases_maps", "label": "_load_brands_aliases_maps()", "file_type": "code", "source_file": "app/crud/crm/product.py", "source_location": "L311"}, {"id": "users_wuzilong_work_00code_shanxia2_0_backend_app_crud_crm_product_assert_brand_deletable", "label": "_assert_brand_deletable()", "file_type": "code", "source_file": "app/crud/crm/product.py", "source_location": "L345"}, {"id": "users_wuzilong_work_00code_shanxia2_0_backend_app_crud_crm_product_replace_product_brands", "label": "_replace_product_brands()", "file_type": "code", "source_file": "app/crud/crm/product.py", "source_location": "L382"}, {"id": "users_wuzilong_work_00code_shanxia2_0_backend_app_crud_crm_product_replace_product_aliases", "label": "_replace_product_aliases()", "file_type": "code", "source_file": "app/crud/crm/product.py", "source_location": "L451"}, {"id": "users_wuzilonLine truncated
@@ -0,0 +1 @@
{"nodes": [{"id": "users_wuzilong_work_00code_shanxia2_0_backend_app_api_pl_vehicle_recharge_py", "label": "vehicle_recharge.py", "file_type": "code", "source_file": "app/api/pl/vehicle_recharge.py", "source_location": "L1"}, {"id": "users_wuzilong_work_00code_shanxia2_0_backend_app_api_pl_vehicle_recharge_list_applies", "label": "list_applies()", "file_type": "code", "source_file": "app/api/pl/vehicle_recharge.py", "source_location": "L30"}, {"id": "date", "label": "date", "file_type": "code", "source_file": "", "source_location": "", "origin_file": "/Users/wuzilong/work/00code/shanxia2.0/backend/app/api/pl/vehicle_recharge.py"}, {"id": "session", "label": "Session", "file_type": "code", "source_file": "", "source_location": "", "origin_file": "/Users/wuzilong/work/00code/shanxia2.0/backend/app/api/pl/vehicle_recharge.py"}, {"id": "dbusercontext", "label": "DbUserContext", "file_type": "code", "source_file": "", "source_location": "", "origin_file": "/Users/wuzilong/work/00code/shanxia2.0/backend/app/api/pl/vehicle_recharge.py"}, {"id": "vehiclerechargeapplylistresponse", "label": "VehicleRechargeApplyListResponse", "file_type": "code", "source_file": "", "source_location": "", "origin_file": "/Users/wuzilong/work/00code/shanxia2.0/backend/app/api/pl/vehicle_recharge.py"}, {"id": "users_wuzilong_work_00code_shanxia2_0_backend_app_api_pl_vehicle_recharge_pending_apply_options", "label": "pending_apply_options()", "file_type": "code", "source_file": "app/api/pl/vehicle_recharge.py", "source_location": "L62"}, {"id": "vehiclerechargeapplyoption", "label": "VehicleRechargeApplyOption", "file_type": "code", "source_file": "", "source_location": "", "origin_file": "/Users/wuzilong/work/00code/shanxia2.0/backend/app/api/pl/vehicle_recharge.py"}, {"id": "users_wuzilong_work_00code_shanxia2_0_backend_app_api_pl_vehicle_recharge_get_apply", "label": "get_apply()", "file_type": "code", "source_file": "app/api/pl/vehicle_recharge.py", "source_location": "L72"}, {"id": "vehiclerechargeapplyread", "label": "VehicleRechargeApplyRead", "file_type": "code", "source_file": "", "source_location": "", "origin_file": "/Users/wuzilong/work/00code/shanxia2.0/backend/app/api/pl/vehicle_recharge.py"}, {"id": "users_wuzilong_work_00code_shanxia2_0_backend_app_api_pl_vehicle_recharge_create_apply", "label": "create_apply()", "file_type": "code", "source_file": "app/api/pl/vehicle_recharge.py", "source_location": "L82"}, {"id": "vehiclerechargeapplycreate", "label": "VehicleRechargeApplyCreate", "file_type": "code", "source_file": "", "source_location": "", "origin_file": "/Users/wuzilong/work/00code/shanxia2.0/backend/app/api/pl/vehicle_recharge.py"}, {"id": "users_wuzilong_work_00code_shanxia2_0_backend_app_api_pl_vehicle_recharge_update_apply", "label": "update_apply()", "file_type": "code", "source_file": "app/api/pl/vehicle_recharge.py", "source_location": "L92"}, {"id": "vehiclerechargeapplyupdate", "label": "VehicleRechargeApplyUpdate", "file_type": "code", "source_file": "", "source_location": "", "origin_file": "/Users/wuzilong/work/00code/shanxia2.0/backend/app/api/pl/vehicle_recharge.py"}, {"id": "users_wuzilong_work_00code_shanxia2_0_backend_app_api_pl_vehicle_recharge_cancel_apply", "label": "cancel_apply()", "file_type": "code", "source_file": "app/api/pl/vehicle_recharge.py", "source_location": "L103"}, {"id": "users_wuzilong_work_00code_shanxia2_0_backend_app_api_pl_vehicle_recharge_delete_applies", "label": "delete_applies()", "file_type": "code", "source_file": "app/api/pl/vehicle_recharge.py", "source_location": "L113"}, {"id": "users_wuzilong_work_00code_shanxia2_0_backend_app_api_pl_vehicle_recharge_list_records", "label": "list_records()", "file_type": "code", "source_file": "app/api/pl/vehicle_recharge.py", "source_location": "L124"}, {"id": "vehiclerechargerecordlistresponse", "label": "VehicleRechargeRecordListResponse", "file_type": "code", "source_file": "", "source_location": "", "origin_file": "/Users/wuzilong/work/00code/shanxia2.0/backend/app/api/pl/vehicle_recharge.py"}, {"id": "users_wuzilong_work_00code_shanxia2_0_backend_app_api_pl_vehicle_recharge_list_disburse_board", "label": "list_disburse_board()", "file_type": "code", "source_file": "app/api/pl/vehicle_recharge.py", "source_location": "L156"}, {"id": "vehiclerechargedisburseboardlistresponse", "label": "VehicleRechargeDisburseBoardListResponse", "file_type": "code", "source_file": "", "source_location": "", "origin_file": "/Users/wuzilong/work/00code/shanxia2.0/backend/app/api/pl/vehicle_recharge.py"}, {"id": "users_wuzilong_work_00code_shanxia2_0_backend_app_api_pl_vehicle_recharge_get_record", "label": "get_record()", "file_type": "code", "source_file": "app/api/pl/vehicle_recharge.py", "source_location": "L190"}, {"id": "vehiclerechargerecordread", "label": "VehicleRechargeRecordRead", "file_type": "code", "source_file": "", "source_location": "", "origin_file": "/Users/wuzilong/work/00code/shanxia2.0/backend/app/api/pl/vehicle_recharge.pyLine truncated
@@ -0,0 +1 @@
{"nodes": [{"id": "users_wuzilong_work_00code_shanxia2_0_backend_app_crud_crm_contract_py", "label": "contract.py", "file_type": "code", "source_file": "app/crud/crm/contract.py", "source_location": "L1"}, {"id": "users_wuzilong_work_00code_shanxia2_0_backend_app_crud_crm_contract_ensure_contract_in_scope", "label": "_ensure_contract_in_scope()", "file_type": "code", "source_file": "app/crud/crm/contract.py", "source_location": "L53"}, {"id": "session", "label": "Session", "file_type": "code", "source_file": "", "source_location": "", "origin_file": "/Users/wuzilong/work/00code/shanxia2.0/backend/app/crud/crm/contract.py"}, {"id": "crmcontract", "label": "CrmContract", "file_type": "code", "source_file": "", "source_location": "", "origin_file": "/Users/wuzilong/work/00code/shanxia2.0/backend/app/crud/crm/contract.py"}, {"id": "users_wuzilong_work_00code_shanxia2_0_backend_app_crud_crm_contract_get_contract_row_in_scope", "label": "_get_contract_row_in_scope()", "file_type": "code", "source_file": "app/crud/crm/contract.py", "source_location": "L57"}, {"id": "users_wuzilong_work_00code_shanxia2_0_backend_app_crud_crm_contract_total_pages", "label": "total_pages()", "file_type": "code", "source_file": "app/crud/crm/contract.py", "source_location": "L74"}, {"id": "users_wuzilong_work_00code_shanxia2_0_backend_app_crud_crm_contract_decimal_value", "label": "_decimal_value()", "file_type": "code", "source_file": "app/crud/crm/contract.py", "source_location": "L80"}, {"id": "any", "label": "Any", "file_type": "code", "source_file": "", "source_location": "", "origin_file": "/Users/wuzilong/work/00code/shanxia2.0/backend/app/crud/crm/contract.py"}, {"id": "decimal", "label": "Decimal", "file_type": "code", "source_file": "", "source_location": "", "origin_file": "/Users/wuzilong/work/00code/shanxia2.0/backend/app/crud/crm/contract.py"}, {"id": "users_wuzilong_work_00code_shanxia2_0_backend_app_crud_crm_contract_parse_optional_date", "label": "_parse_optional_date()", "file_type": "code", "source_file": "app/crud/crm/contract.py", "source_location": "L88"}, {"id": "date", "label": "date", "file_type": "code", "source_file": "", "source_location": "", "origin_file": "/Users/wuzilong/work/00code/shanxia2.0/backend/app/crud/crm/contract.py"}, {"id": "users_wuzilong_work_00code_shanxia2_0_backend_app_crud_crm_contract_parse_optional_datetime", "label": "_parse_optional_datetime()", "file_type": "code", "source_file": "app/crud/crm/contract.py", "source_location": "L106"}, {"id": "datetime", "label": "datetime", "file_type": "code", "source_file": "", "source_location": "", "origin_file": "/Users/wuzilong/work/00code/shanxia2.0/backend/app/crud/crm/contract.py"}, {"id": "users_wuzilong_work_00code_shanxia2_0_backend_app_crud_crm_contract_get_field", "label": "_get_field()", "file_type": "code", "source_file": "app/crud/crm/contract.py", "source_location": "L122"}, {"id": "users_wuzilong_work_00code_shanxia2_0_backend_app_crud_crm_contract_resolve_user_display_name", "label": "_resolve_user_display_name()", "file_type": "code", "source_file": "app/crud/crm/contract.py", "source_location": "L129"}, {"id": "users_wuzilong_work_00code_shanxia2_0_backend_app_crud_crm_contract_is_blank", "label": "_is_blank()", "file_type": "code", "source_file": "app/crud/crm/contract.py", "source_location": "L139"}, {"id": "users_wuzilong_work_00code_shanxia2_0_backend_app_crud_crm_contract_first_non_blank", "label": "_first_non_blank()", "file_type": "code", "source_file": "app/crud/crm/contract.py", "source_location": "L143"}, {"id": "users_wuzilong_work_00code_shanxia2_0_backend_app_crud_crm_contract_get_default_invoice_info", "label": "_get_default_invoice_info()", "file_type": "code", "source_file": "app/crud/crm/contract.py", "source_location": "L151"}, {"id": "users_wuzilong_work_00code_shanxia2_0_backend_app_crud_crm_contract_build_customer_address", "label": "_build_customer_address()", "file_type": "code", "source_file": "app/crud/crm/contract.py", "source_location": "L161"}, {"id": "users_wuzilong_work_00code_shanxia2_0_backend_app_crud_crm_contract_row_to_dict", "label": "_row_to_dict()", "file_type": "code", "source_file": "app/crud/crm/contract.py", "source_location": "L173"}, {"id": "users_wuzilong_work_00code_shanxia2_0_backend_app_crud_crm_contract_contract_row_to_dict", "label": "contract_row_to_dict()", "file_type": "code", "source_file": "app/crud/crm/contract.py", "source_location": "L252"}, {"id": "users_wuzilong_work_00code_shanxia2_0_backend_app_crud_crm_contract_build_contract_filters", "label": "_build_contract_filters()", "file_type": "code", "source_file": "app/crud/crm/contract.py", "source_location": "L256"}, {"id": "query", "label": "Query", "file_type": "code", "source_file": "", "source_location": "", "origin_file": "/Users/wuzilong/work/00code/shanxia2.0/backend/app/crud/crm/contract.py"}, {"id": "users_wuzilong_work_00code_shanxia2_0_backend_app_crud_crm_contract_list_contracts", "label": "list_contractsLine truncated
@@ -0,0 +1 @@
{"nodes": [{"id": "users_wuzilong_work_00code_shanxia2_0_backend_app_api_crm_py", "label": "crm.py", "file_type": "code", "source_file": "app/api/crm.py", "source_location": "L1"}, {"id": "users_wuzilong_work_00code_shanxia2_0_backend_app_api_crm_filter_export_rows_by_ids", "label": "_filter_export_rows_by_ids()", "file_type": "code", "source_file": "app/api/crm.py", "source_location": "L335"}, {"id": "users_wuzilong_work_00code_shanxia2_0_backend_app_api_crm_category_tree", "label": "category_tree()", "file_type": "code", "source_file": "app/api/crm.py", "source_location": "L352"}, {"id": "productcategorytreebody", "label": "ProductCategoryTreeBody", "file_type": "code", "source_file": "", "source_location": "", "origin_file": "/Users/wuzilong/work/00code/shanxia2.0/backend/app/api/crm.py"}, {"id": "session", "label": "Session", "file_type": "code", "source_file": "", "source_location": "", "origin_file": "/Users/wuzilong/work/00code/shanxia2.0/backend/app/api/crm.py"}, {"id": "users_wuzilong_work_00code_shanxia2_0_backend_app_api_crm_customer_list", "label": "customer_list()", "file_type": "code", "source_file": "app/api/crm.py", "source_location": "L380"}, {"id": "customerlistbody", "label": "CustomerListBody", "file_type": "code", "source_file": "", "source_location": "", "origin_file": "/Users/wuzilong/work/00code/shanxia2.0/backend/app/api/crm.py"}, {"id": "users_wuzilong_work_00code_shanxia2_0_backend_app_api_crm_customer_detail", "label": "customer_detail()", "file_type": "code", "source_file": "app/api/crm.py", "source_location": "L414"}, {"id": "users_wuzilong_work_00code_shanxia2_0_backend_app_api_crm_customer_options", "label": "customer_options()", "file_type": "code", "source_file": "app/api/crm.py", "source_location": "L440"}, {"id": "customeroptionsbody", "label": "CustomerOptionsBody", "file_type": "code", "source_file": "", "source_location": "", "origin_file": "/Users/wuzilong/work/00code/shanxia2.0/backend/app/api/crm.py"}, {"id": "users_wuzilong_work_00code_shanxia2_0_backend_app_api_crm_customer_create", "label": "customer_create()", "file_type": "code", "source_file": "app/api/crm.py", "source_location": "L464"}, {"id": "customercreatebody", "label": "CustomerCreateBody", "file_type": "code", "source_file": "", "source_location": "", "origin_file": "/Users/wuzilong/work/00code/shanxia2.0/backend/app/api/crm.py"}, {"id": "users_wuzilong_work_00code_shanxia2_0_backend_app_api_crm_customer_update", "label": "customer_update()", "file_type": "code", "source_file": "app/api/crm.py", "source_location": "L494"}, {"id": "customerupdatebody", "label": "CustomerUpdateBody", "file_type": "code", "source_file": "", "source_location": "", "origin_file": "/Users/wuzilong/work/00code/shanxia2.0/backend/app/api/crm.py"}, {"id": "users_wuzilong_work_00code_shanxia2_0_backend_app_api_crm_customer_delete", "label": "customer_delete()", "file_type": "code", "source_file": "app/api/crm.py", "source_location": "L521"}, {"id": "customerdeletebody", "label": "CustomerDeleteBody", "file_type": "code", "source_file": "", "source_location": "", "origin_file": "/Users/wuzilong/work/00code/shanxia2.0/backend/app/api/crm.py"}, {"id": "users_wuzilong_work_00code_shanxia2_0_backend_app_api_crm_customer_generate_no", "label": "customer_generate_no()", "file_type": "code", "source_file": "app/api/crm.py", "source_location": "L549"}, {"id": "users_wuzilong_work_00code_shanxia2_0_backend_app_api_crm_category_add", "label": "category_add()", "file_type": "code", "source_file": "app/api/crm.py", "source_location": "L565"}, {"id": "productcategorycreatebody", "label": "ProductCategoryCreateBody", "file_type": "code", "source_file": "", "source_location": "", "origin_file": "/Users/wuzilong/work/00code/shanxia2.0/backend/app/api/crm.py"}, {"id": "users_wuzilong_work_00code_shanxia2_0_backend_app_api_crm_category_update", "label": "category_update()", "file_type": "code", "source_file": "app/api/crm.py", "source_location": "L584"}, {"id": "productcategoryupdatebody", "label": "ProductCategoryUpdateBody", "file_type": "code", "source_file": "", "source_location": "", "origin_file": "/Users/wuzilong/work/00code/shanxia2.0/backend/app/api/crm.py"}, {"id": "users_wuzilong_work_00code_shanxia2_0_backend_app_api_crm_category_delete", "label": "category_delete()", "file_type": "code", "source_file": "app/api/crm.py", "source_location": "L604"}, {"id": "categorydeletebody", "label": "CategoryDeleteBody", "file_type": "code", "source_file": "", "source_location": "", "origin_file": "/Users/wuzilong/work/00code/shanxia2.0/backend/app/api/crm.py"}, {"id": "users_wuzilong_work_00code_shanxia2_0_backend_app_api_crm_product_list", "label": "product_list()", "file_type": "code", "source_file": "app/api/crm.py", "source_location": "L624"}, {"id": "productlistbody", "label": "ProductListBody", "file_type": "code", "source_file": "", "source_location": "", "origin_file": "/Users/wuzilong/work/00code/shanxia2.0/backend/app/api/crm.py"}, {"id"Line truncated
@@ -0,0 +1 @@
{"nodes": [{"id": "users_wuzilong_work_00code_shanxia2_0_backend_app_crud_crm_product_py", "label": "product.py", "file_type": "code", "source_file": "app/crud/crm/product.py", "source_location": "L1"}, {"id": "users_wuzilong_work_00code_shanxia2_0_backend_app_crud_crm_product_total_pages", "label": "total_pages()", "file_type": "code", "source_file": "app/crud/crm/product.py", "source_location": "L33"}, {"id": "users_wuzilong_work_00code_shanxia2_0_backend_app_crud_crm_product_category_row_to_dict", "label": "_category_row_to_dict()", "file_type": "code", "source_file": "app/crud/crm/product.py", "source_location": "L43"}, {"id": "crmproductcategory", "label": "CrmProductCategory", "file_type": "code", "source_file": "", "source_location": "", "origin_file": "/Users/wuzilong/work/00code/shanxia2.0/backend/app/crud/crm/product.py"}, {"id": "any", "label": "Any", "file_type": "code", "source_file": "", "source_location": "", "origin_file": "/Users/wuzilong/work/00code/shanxia2.0/backend/app/crud/crm/product.py"}, {"id": "users_wuzilong_work_00code_shanxia2_0_backend_app_crud_crm_product_list_categories", "label": "list_categories()", "file_type": "code", "source_file": "app/crud/crm/product.py", "source_location": "L59"}, {"id": "session", "label": "Session", "file_type": "code", "source_file": "", "source_location": "", "origin_file": "/Users/wuzilong/work/00code/shanxia2.0/backend/app/crud/crm/product.py"}, {"id": "users_wuzilong_work_00code_shanxia2_0_backend_app_crud_crm_product_build_category_tree", "label": "_build_category_tree()", "file_type": "code", "source_file": "app/crud/crm/product.py", "source_location": "L86"}, {"id": "users_wuzilong_work_00code_shanxia2_0_backend_app_crud_crm_product_collect_category_with_ancestors", "label": "_collect_category_with_ancestors()", "file_type": "code", "source_file": "app/crud/crm/product.py", "source_location": "L97"}, {"id": "users_wuzilong_work_00code_shanxia2_0_backend_app_crud_crm_product_list_category_tree", "label": "list_category_tree()", "file_type": "code", "source_file": "app/crud/crm/product.py", "source_location": "L113"}, {"id": "users_wuzilong_work_00code_shanxia2_0_backend_app_crud_crm_product_get_category", "label": "get_category()", "file_type": "code", "source_file": "app/crud/crm/product.py", "source_location": "L146"}, {"id": "users_wuzilong_work_00code_shanxia2_0_backend_app_crud_crm_product_create_category", "label": "create_category()", "file_type": "code", "source_file": "app/crud/crm/product.py", "source_location": "L158"}, {"id": "users_wuzilong_work_00code_shanxia2_0_backend_app_crud_crm_product_update_category", "label": "update_category()", "file_type": "code", "source_file": "app/crud/crm/product.py", "source_location": "L195"}, {"id": "users_wuzilong_work_00code_shanxia2_0_backend_app_crud_crm_product_soft_delete_category", "label": "soft_delete_category()", "file_type": "code", "source_file": "app/crud/crm/product.py", "source_location": "L234"}, {"id": "users_wuzilong_work_00code_shanxia2_0_backend_app_crud_crm_product_category_code_exists", "label": "category_code_exists()", "file_type": "code", "source_file": "app/crud/crm/product.py", "source_location": "L274"}, {"id": "users_wuzilong_work_00code_shanxia2_0_backend_app_crud_crm_product_brand_row_to_dict", "label": "_brand_row_to_dict()", "file_type": "code", "source_file": "app/crud/crm/product.py", "source_location": "L294"}, {"id": "crmproductbrand", "label": "CrmProductBrand", "file_type": "code", "source_file": "", "source_location": "", "origin_file": "/Users/wuzilong/work/00code/shanxia2.0/backend/app/crud/crm/product.py"}, {"id": "users_wuzilong_work_00code_shanxia2_0_backend_app_crud_crm_product_alias_row_to_dict", "label": "_alias_row_to_dict()", "file_type": "code", "source_file": "app/crud/crm/product.py", "source_location": "L303"}, {"id": "crmproductalias", "label": "CrmProductAlias", "file_type": "code", "source_file": "", "source_location": "", "origin_file": "/Users/wuzilong/work/00code/shanxia2.0/backend/app/crud/crm/product.py"}, {"id": "users_wuzilong_work_00code_shanxia2_0_backend_app_crud_crm_product_load_brands_aliases_maps", "label": "_load_brands_aliases_maps()", "file_type": "code", "source_file": "app/crud/crm/product.py", "source_location": "L311"}, {"id": "users_wuzilong_work_00code_shanxia2_0_backend_app_crud_crm_product_assert_brand_deletable", "label": "_assert_brand_deletable()", "file_type": "code", "source_file": "app/crud/crm/product.py", "source_location": "L345"}, {"id": "users_wuzilong_work_00code_shanxia2_0_backend_app_crud_crm_product_replace_product_brands", "label": "_replace_product_brands()", "file_type": "code", "source_file": "app/crud/crm/product.py", "source_location": "L382"}, {"id": "users_wuzilong_work_00code_shanxia2_0_backend_app_crud_crm_product_replace_product_aliases", "label": "_replace_product_aliases()", "file_type": "code", "source_file": "app/crud/crm/product.py", "source_location": "L451"}, {"id": "users_wuzilonLine truncated
@@ -0,0 +1 @@
{"nodes": [{"id": "users_wuzilong_work_00code_shanxia2_0_backend_app_api_pl_vehicle_recharge_py", "label": "vehicle_recharge.py", "file_type": "code", "source_file": "app/api/pl/vehicle_recharge.py", "source_location": "L1"}, {"id": "users_wuzilong_work_00code_shanxia2_0_backend_app_api_pl_vehicle_recharge_list_applies", "label": "list_applies()", "file_type": "code", "source_file": "app/api/pl/vehicle_recharge.py", "source_location": "L38"}, {"id": "date", "label": "date", "file_type": "code", "source_file": "", "source_location": "", "origin_file": "/Users/wuzilong/work/00code/shanxia2.0/backend/app/api/pl/vehicle_recharge.py"}, {"id": "session", "label": "Session", "file_type": "code", "source_file": "", "source_location": "", "origin_file": "/Users/wuzilong/work/00code/shanxia2.0/backend/app/api/pl/vehicle_recharge.py"}, {"id": "dbusercontext", "label": "DbUserContext", "file_type": "code", "source_file": "", "source_location": "", "origin_file": "/Users/wuzilong/work/00code/shanxia2.0/backend/app/api/pl/vehicle_recharge.py"}, {"id": "vehiclerechargeapplylistresponse", "label": "VehicleRechargeApplyListResponse", "file_type": "code", "source_file": "", "source_location": "", "origin_file": "/Users/wuzilong/work/00code/shanxia2.0/backend/app/api/pl/vehicle_recharge.py"}, {"id": "users_wuzilong_work_00code_shanxia2_0_backend_app_api_pl_vehicle_recharge_pending_apply_options", "label": "pending_apply_options()", "file_type": "code", "source_file": "app/api/pl/vehicle_recharge.py", "source_location": "L70"}, {"id": "vehiclerechargeapplyoption", "label": "VehicleRechargeApplyOption", "file_type": "code", "source_file": "", "source_location": "", "origin_file": "/Users/wuzilong/work/00code/shanxia2.0/backend/app/api/pl/vehicle_recharge.py"}, {"id": "users_wuzilong_work_00code_shanxia2_0_backend_app_api_pl_vehicle_recharge_rechargeapplyexportbody", "label": "RechargeApplyExportBody", "file_type": "code", "source_file": "app/api/pl/vehicle_recharge.py", "source_location": "L92"}, {"id": "basemodel", "label": "BaseModel", "file_type": "code", "source_file": "", "source_location": ""}, {"id": "users_wuzilong_work_00code_shanxia2_0_backend_app_api_pl_vehicle_recharge_export_recharge_applies", "label": "export_recharge_applies()", "file_type": "code", "source_file": "app/api/pl/vehicle_recharge.py", "source_location": "L104"}, {"id": "users_wuzilong_work_00code_shanxia2_0_backend_app_api_pl_vehicle_recharge_get_apply", "label": "get_apply()", "file_type": "code", "source_file": "app/api/pl/vehicle_recharge.py", "source_location": "L137"}, {"id": "vehiclerechargeapplyread", "label": "VehicleRechargeApplyRead", "file_type": "code", "source_file": "", "source_location": "", "origin_file": "/Users/wuzilong/work/00code/shanxia2.0/backend/app/api/pl/vehicle_recharge.py"}, {"id": "users_wuzilong_work_00code_shanxia2_0_backend_app_api_pl_vehicle_recharge_create_apply", "label": "create_apply()", "file_type": "code", "source_file": "app/api/pl/vehicle_recharge.py", "source_location": "L147"}, {"id": "vehiclerechargeapplycreate", "label": "VehicleRechargeApplyCreate", "file_type": "code", "source_file": "", "source_location": "", "origin_file": "/Users/wuzilong/work/00code/shanxia2.0/backend/app/api/pl/vehicle_recharge.py"}, {"id": "users_wuzilong_work_00code_shanxia2_0_backend_app_api_pl_vehicle_recharge_update_apply", "label": "update_apply()", "file_type": "code", "source_file": "app/api/pl/vehicle_recharge.py", "source_location": "L157"}, {"id": "vehiclerechargeapplyupdate", "label": "VehicleRechargeApplyUpdate", "file_type": "code", "source_file": "", "source_location": "", "origin_file": "/Users/wuzilong/work/00code/shanxia2.0/backend/app/api/pl/vehicle_recharge.py"}, {"id": "users_wuzilong_work_00code_shanxia2_0_backend_app_api_pl_vehicle_recharge_cancel_apply", "label": "cancel_apply()", "file_type": "code", "source_file": "app/api/pl/vehicle_recharge.py", "source_location": "L168"}, {"id": "users_wuzilong_work_00code_shanxia2_0_backend_app_api_pl_vehicle_recharge_delete_applies", "label": "delete_applies()", "file_type": "code", "source_file": "app/api/pl/vehicle_recharge.py", "source_location": "L178"}, {"id": "users_wuzilong_work_00code_shanxia2_0_backend_app_api_pl_vehicle_recharge_list_records", "label": "list_records()", "file_type": "code", "source_file": "app/api/pl/vehicle_recharge.py", "source_location": "L189"}, {"id": "vehiclerechargerecordlistresponse", "label": "VehicleRechargeRecordListResponse", "file_type": "code", "source_file": "", "source_location": "", "origin_file": "/Users/wuzilong/work/00code/shanxia2.0/backend/app/api/pl/vehicle_recharge.py"}, {"id": "users_wuzilong_work_00code_shanxia2_0_backend_app_api_pl_vehicle_recharge_list_disburse_board", "label": "list_disburse_board()", "file_type": "code", "source_file": "app/api/pl/vehicle_recharge.py", "source_location": "L221"}, {"id": "vehiclerechargedisburseboardlistresponse", "label": "VehicleRechargeDisburseBoardListResponse", "file_type": "Line truncated
@@ -0,0 +1 @@
{"nodes": [{"id": "users_wuzilong_work_00code_shanxia2_0_backend_app_crud_crm_opportunity_product_py", "label": "opportunity_product.py", "file_type": "code", "source_file": "app/crud/crm/opportunity_product.py", "source_location": "L1"}, {"id": "users_wuzilong_work_00code_shanxia2_0_backend_app_crud_crm_opportunity_product_total_pages", "label": "total_pages()", "file_type": "code", "source_file": "app/crud/crm/opportunity_product.py", "source_location": "L17"}, {"id": "users_wuzilong_work_00code_shanxia2_0_backend_app_crud_crm_opportunity_product_decimal_value", "label": "_decimal_value()", "file_type": "code", "source_file": "app/crud/crm/opportunity_product.py", "source_location": "L26"}, {"id": "any", "label": "Any", "file_type": "code", "source_file": "", "source_location": "", "origin_file": "/Users/wuzilong/work/00code/shanxia2.0/backend/app/crud/crm/opportunity_product.py"}, {"id": "decimal", "label": "Decimal", "file_type": "code", "source_file": "", "source_location": "", "origin_file": "/Users/wuzilong/work/00code/shanxia2.0/backend/app/crud/crm/opportunity_product.py"}, {"id": "users_wuzilong_work_00code_shanxia2_0_backend_app_crud_crm_opportunity_product_calc_subtotal", "label": "_calc_subtotal()", "file_type": "code", "source_file": "app/crud/crm/opportunity_product.py", "source_location": "L32"}, {"id": "users_wuzilong_work_00code_shanxia2_0_backend_app_crud_crm_opportunity_product_row_to_dict", "label": "_row_to_dict()", "file_type": "code", "source_file": "app/crud/crm/opportunity_product.py", "source_location": "L43"}, {"id": "crmopportunityproduct", "label": "CrmOpportunityProduct", "file_type": "code", "source_file": "", "source_location": "", "origin_file": "/Users/wuzilong/work/00code/shanxia2.0/backend/app/crud/crm/opportunity_product.py"}, {"id": "users_wuzilong_work_00code_shanxia2_0_backend_app_crud_crm_opportunity_product_recalc_product_count", "label": "_recalc_product_count()", "file_type": "code", "source_file": "app/crud/crm/opportunity_product.py", "source_location": "L66"}, {"id": "session", "label": "Session", "file_type": "code", "source_file": "", "source_location": "", "origin_file": "/Users/wuzilong/work/00code/shanxia2.0/backend/app/crud/crm/opportunity_product.py"}, {"id": "users_wuzilong_work_00code_shanxia2_0_backend_app_crud_crm_opportunity_product_fill_product_redundant", "label": "_fill_product_redundant()", "file_type": "code", "source_file": "app/crud/crm/opportunity_product.py", "source_location": "L86"}, {"id": "users_wuzilong_work_00code_shanxia2_0_backend_app_crud_crm_opportunity_product_get_opportunity_for_product", "label": "_get_opportunity_for_product()", "file_type": "code", "source_file": "app/crud/crm/opportunity_product.py", "source_location": "L101"}, {"id": "crmopportunity", "label": "CrmOpportunity", "file_type": "code", "source_file": "", "source_location": "", "origin_file": "/Users/wuzilong/work/00code/shanxia2.0/backend/app/crud/crm/opportunity_product.py"}, {"id": "users_wuzilong_work_00code_shanxia2_0_backend_app_crud_crm_opportunity_product_list_opportunity_products", "label": "list_opportunity_products()", "file_type": "code", "source_file": "app/crud/crm/opportunity_product.py", "source_location": "L119"}, {"id": "users_wuzilong_work_00code_shanxia2_0_backend_app_crud_crm_opportunity_product_list_products_by_opportunity", "label": "list_products_by_opportunity()", "file_type": "code", "source_file": "app/crud/crm/opportunity_product.py", "source_location": "L148"}, {"id": "users_wuzilong_work_00code_shanxia2_0_backend_app_crud_crm_opportunity_product_get_opportunity_product", "label": "get_opportunity_product()", "file_type": "code", "source_file": "app/crud/crm/opportunity_product.py", "source_location": "L165"}, {"id": "users_wuzilong_work_00code_shanxia2_0_backend_app_crud_crm_opportunity_product_create_opportunity_product", "label": "create_opportunity_product()", "file_type": "code", "source_file": "app/crud/crm/opportunity_product.py", "source_location": "L185"}, {"id": "users_wuzilong_work_00code_shanxia2_0_backend_app_crud_crm_opportunity_product_batch_add_opportunity_products", "label": "batch_add_opportunity_products()", "file_type": "code", "source_file": "app/crud/crm/opportunity_product.py", "source_location": "L238"}, {"id": "users_wuzilong_work_00code_shanxia2_0_backend_app_crud_crm_opportunity_product_update_opportunity_product", "label": "update_opportunity_product()", "file_type": "code", "source_file": "app/crud/crm/opportunity_product.py", "source_location": "L258"}, {"id": "users_wuzilong_work_00code_shanxia2_0_backend_app_crud_crm_opportunity_product_soft_delete_opportunity_products", "label": "soft_delete_opportunity_products()", "file_type": "code", "source_file": "app/crud/crm/opportunity_product.py", "source_location": "L299"}], "edges": [{"source": "users_wuzilong_work_00code_shanxia2_0_backend_app_crud_crm_opportunity_product_py", "target": "math", "relation": "imports", "context": "import", "confidence": "ELine truncated
@@ -0,0 +1 @@
{"nodes": [{"id": "users_wuzilong_work_00code_shanxia2_0_backend_app_api_leave_py", "label": "leave.py", "file_type": "code", "source_file": "app/api/leave.py", "source_location": "L1"}, {"id": "users_wuzilong_work_00code_shanxia2_0_backend_app_api_leave_leave_local_callback", "label": "_leave_local_callback()", "file_type": "code", "source_file": "app/api/leave.py", "source_location": "L24"}, {"id": "session", "label": "Session", "file_type": "code", "source_file": "", "source_location": "", "origin_file": "/Users/wuzilong/work/00code/shanxia2.0/backend/app/api/leave.py"}, {"id": "users_wuzilong_work_00code_shanxia2_0_backend_app_api_leave_list_leaves", "label": "list_leaves()", "file_type": "code", "source_file": "app/api/leave.py", "source_location": "L39"}, {"id": "users_wuzilong_work_00code_shanxia2_0_backend_app_api_leave_create_leave", "label": "create_leave()", "file_type": "code", "source_file": "app/api/leave.py", "source_location": "L62"}, {"id": "leavecreate", "label": "LeaveCreate", "file_type": "code", "source_file": "", "source_location": "", "origin_file": "/Users/wuzilong/work/00code/shanxia2.0/backend/app/api/leave.py"}, {"id": "users_wuzilong_work_00code_shanxia2_0_backend_app_api_leave_submit_leave", "label": "submit_leave()", "file_type": "code", "source_file": "app/api/leave.py", "source_location": "L87"}, {"id": "users_wuzilong_work_00code_shanxia2_0_backend_app_api_leave_leave_workflow_callback", "label": "leave_workflow_callback()", "file_type": "code", "source_file": "app/api/leave.py", "source_location": "L142"}, {"id": "users_wuzilong_work_00code_shanxia2_0_backend_app_api_leave_get_leave", "label": "get_leave()", "file_type": "code", "source_file": "app/api/leave.py", "source_location": "L161"}, {"id": "users_wuzilong_work_00code_shanxia2_0_backend_app_api_leave_delete_leave", "label": "delete_leave()", "file_type": "code", "source_file": "app/api/leave.py", "source_location": "L174"}, {"id": "users_wuzilong_work_00code_shanxia2_0_backend_app_api_leave_update_leave", "label": "update_leave()", "file_type": "code", "source_file": "app/api/leave.py", "source_location": "L191"}, {"id": "leaveupdate", "label": "LeaveUpdate", "file_type": "code", "source_file": "", "source_location": "", "origin_file": "/Users/wuzilong/work/00code/shanxia2.0/backend/app/api/leave.py"}], "edges": [{"source": "users_wuzilong_work_00code_shanxia2_0_backend_app_api_leave_py", "target": "logging", "relation": "imports", "context": "import", "confidence": "EXTRACTED", "source_file": "app/api/leave.py", "source_location": "L4", "weight": 1.0}, {"source": "users_wuzilong_work_00code_shanxia2_0_backend_app_api_leave_py", "target": "typing", "relation": "imports_from", "context": "import", "confidence": "EXTRACTED", "source_file": "app/api/leave.py", "source_location": "L5", "weight": 1.0}, {"source": "users_wuzilong_work_00code_shanxia2_0_backend_app_api_leave_py", "target": "fastapi", "relation": "imports_from", "context": "import", "confidence": "EXTRACTED", "source_file": "app/api/leave.py", "source_location": "L7", "weight": 1.0}, {"source": "users_wuzilong_work_00code_shanxia2_0_backend_app_api_leave_py", "target": "sqlalchemy_orm", "relation": "imports_from", "context": "import", "confidence": "EXTRACTED", "source_file": "app/api/leave.py", "source_location": "L8", "weight": 1.0}, {"source": "users_wuzilong_work_00code_shanxia2_0_backend_app_api_leave_py", "target": "app_core_menu_guard", "relation": "imports_from", "context": "import", "confidence": "EXTRACTED", "source_file": "app/api/leave.py", "source_location": "L10", "weight": 1.0}, {"source": "users_wuzilong_work_00code_shanxia2_0_backend_app_api_leave_py", "target": "app_core_database", "relation": "imports_from", "context": "import", "confidence": "EXTRACTED", "source_file": "app/api/leave.py", "source_location": "L11", "weight": 1.0}, {"source": "users_wuzilong_work_00code_shanxia2_0_backend_app_api_leave_py", "target": "app_core_response", "relation": "imports_from", "context": "import", "confidence": "EXTRACTED", "source_file": "app/api/leave.py", "source_location": "L12", "weight": 1.0}, {"source": "users_wuzilong_work_00code_shanxia2_0_backend_app_api_leave_py", "target": "app_crud", "relation": "imports_from", "context": "import", "confidence": "EXTRACTED", "source_file": "app/api/leave.py", "source_location": "L13", "weight": 1.0}, {"source": "users_wuzilong_work_00code_shanxia2_0_backend_app_api_leave_py", "target": "app_crud_leave", "relation": "imports_from", "context": "import", "confidence": "EXTRACTED", "source_file": "app/api/leave.py", "source_location": "L14", "weight": 1.0}, {"source": "users_wuzilong_work_00code_shanxia2_0_backend_app_api_leave_py", "target": "app_schemas_leave", "relation": "imports_from", "context": "import", "confidence": "EXTRACTED", "source_file": "app/api/leave.py", "source_location": "L15", "weight": 1.0}, {"source": "users_wuzilong_work_00code_shanxia2_0_backend_app_api_leave_py", "target": "users_wuzLine truncated
@@ -0,0 +1 @@
{"nodes": [{"id": "users_wuzilong_work_00code_shanxia2_0_backend_app_schemas_crm_supplier_info_py", "label": "supplier_info.py", "file_type": "code", "source_file": "app/schemas/crm/supplier_info.py", "source_location": "L1"}, {"id": "users_wuzilong_work_00code_shanxia2_0_backend_app_schemas_crm_supplier_info_supplierinfolistbody", "label": "SupplierInfoListBody", "file_type": "code", "source_file": "app/schemas/crm/supplier_info.py", "source_location": "L8"}, {"id": "basemodel", "label": "BaseModel", "file_type": "code", "source_file": "", "source_location": ""}, {"id": "users_wuzilong_work_00code_shanxia2_0_backend_app_schemas_crm_supplier_info_supplierinfolistallbody", "label": "SupplierInfoListAllBody", "file_type": "code", "source_file": "app/schemas/crm/supplier_info.py", "source_location": "L19"}, {"id": "users_wuzilong_work_00code_shanxia2_0_backend_app_schemas_crm_supplier_info_supplierinfodetailbody", "label": "SupplierInfoDetailBody", "file_type": "code", "source_file": "app/schemas/crm/supplier_info.py", "source_location": "L28"}, {"id": "users_wuzilong_work_00code_shanxia2_0_backend_app_schemas_crm_supplier_info_supplierinfocreatebody", "label": "SupplierInfoCreateBody", "file_type": "code", "source_file": "app/schemas/crm/supplier_info.py", "source_location": "L32"}, {"id": "users_wuzilong_work_00code_shanxia2_0_backend_app_schemas_crm_supplier_info_supplierinfoupdatebody", "label": "SupplierInfoUpdateBody", "file_type": "code", "source_file": "app/schemas/crm/supplier_info.py", "source_location": "L51"}, {"id": "users_wuzilong_work_00code_shanxia2_0_backend_app_schemas_crm_supplier_info_supplierinfodeletebody", "label": "SupplierInfoDeleteBody", "file_type": "code", "source_file": "app/schemas/crm/supplier_info.py", "source_location": "L71"}, {"id": "users_wuzilong_work_00code_shanxia2_0_backend_app_schemas_crm_supplier_info_rationale_1", "label": "CRM \u4f9b\u65b9\u4fe1\u606f Pydantic Schemas", "file_type": "rationale", "source_file": "app/schemas/crm/supplier_info.py", "source_location": "L1"}], "edges": [{"source": "users_wuzilong_work_00code_shanxia2_0_backend_app_schemas_crm_supplier_info_py", "target": "typing", "relation": "imports_from", "context": "import", "confidence": "EXTRACTED", "source_file": "app/schemas/crm/supplier_info.py", "source_location": "L3", "weight": 1.0}, {"source": "users_wuzilong_work_00code_shanxia2_0_backend_app_schemas_crm_supplier_info_py", "target": "pydantic", "relation": "imports_from", "context": "import", "confidence": "EXTRACTED", "source_file": "app/schemas/crm/supplier_info.py", "source_location": "L5", "weight": 1.0}, {"source": "users_wuzilong_work_00code_shanxia2_0_backend_app_schemas_crm_supplier_info_py", "target": "users_wuzilong_work_00code_shanxia2_0_backend_app_schemas_crm_supplier_info_supplierinfolistbody", "relation": "contains", "confidence": "EXTRACTED", "source_file": "app/schemas/crm/supplier_info.py", "source_location": "L8", "weight": 1.0}, {"source": "users_wuzilong_work_00code_shanxia2_0_backend_app_schemas_crm_supplier_info_supplierinfolistbody", "target": "basemodel", "relation": "inherits", "confidence": "EXTRACTED", "source_file": "app/schemas/crm/supplier_info.py", "source_location": "L8", "weight": 1.0}, {"source": "users_wuzilong_work_00code_shanxia2_0_backend_app_schemas_crm_supplier_info_py", "target": "users_wuzilong_work_00code_shanxia2_0_backend_app_schemas_crm_supplier_info_supplierinfolistallbody", "relation": "contains", "confidence": "EXTRACTED", "source_file": "app/schemas/crm/supplier_info.py", "source_location": "L19", "weight": 1.0}, {"source": "users_wuzilong_work_00code_shanxia2_0_backend_app_schemas_crm_supplier_info_supplierinfolistallbody", "target": "basemodel", "relation": "inherits", "confidence": "EXTRACTED", "source_file": "app/schemas/crm/supplier_info.py", "source_location": "L19", "weight": 1.0}, {"source": "users_wuzilong_work_00code_shanxia2_0_backend_app_schemas_crm_supplier_info_py", "target": "users_wuzilong_work_00code_shanxia2_0_backend_app_schemas_crm_supplier_info_supplierinfodetailbody", "relation": "contains", "confidence": "EXTRACTED", "source_file": "app/schemas/crm/supplier_info.py", "source_location": "L28", "weight": 1.0}, {"source": "users_wuzilong_work_00code_shanxia2_0_backend_app_schemas_crm_supplier_info_supplierinfodetailbody", "target": "basemodel", "relation": "inherits", "confidence": "EXTRACTED", "source_file": "app/schemas/crm/supplier_info.py", "source_location": "L28", "weight": 1.0}, {"source": "users_wuzilong_work_00code_shanxia2_0_backend_app_schemas_crm_supplier_info_py", "target": "users_wuzilong_work_00code_shanxia2_0_backend_app_schemas_crm_supplier_info_supplierinfocreatebody", "relation": "contains", "confidence": "EXTRACTED", "source_file": "app/schemas/crm/supplier_info.py", "source_location": "L32", "weight": 1.0}, {"source": "users_wuzilong_work_00code_shanxia2_0_backend_app_schemas_crm_supplier_info_supplierinfocreatebody", "target": "basemodel", "relationLine truncated
@@ -0,0 +1 @@
{"nodes": [{"id": "users_wuzilong_work_00code_shanxia2_0_backend_app_schemas_crm_price_letter_py", "label": "price_letter.py", "file_type": "code", "source_file": "app/schemas/crm/price_letter.py", "source_location": "L1"}, {"id": "users_wuzilong_work_00code_shanxia2_0_backend_app_schemas_crm_price_letter_priceletterlistbody", "label": "PriceLetterListBody", "file_type": "code", "source_file": "app/schemas/crm/price_letter.py", "source_location": "L9"}, {"id": "basemodel", "label": "BaseModel", "file_type": "code", "source_file": "", "source_location": ""}, {"id": "users_wuzilong_work_00code_shanxia2_0_backend_app_schemas_crm_price_letter_priceletterdetailbody", "label": "PriceLetterDetailBody", "file_type": "code", "source_file": "app/schemas/crm/price_letter.py", "source_location": "L26"}, {"id": "users_wuzilong_work_00code_shanxia2_0_backend_app_schemas_crm_price_letter_pricelettercreatebody", "label": "PriceLetterCreateBody", "file_type": "code", "source_file": "app/schemas/crm/price_letter.py", "source_location": "L32"}, {"id": "users_wuzilong_work_00code_shanxia2_0_backend_app_schemas_crm_price_letter_priceletterupdatebody", "label": "PriceLetterUpdateBody", "file_type": "code", "source_file": "app/schemas/crm/price_letter.py", "source_location": "L48"}, {"id": "users_wuzilong_work_00code_shanxia2_0_backend_app_schemas_crm_price_letter_pricelettervoidbody", "label": "PriceLetterVoidBody", "file_type": "code", "source_file": "app/schemas/crm/price_letter.py", "source_location": "L65"}, {"id": "users_wuzilong_work_00code_shanxia2_0_backend_app_schemas_crm_price_letter_rationale_1", "label": "CRM \u8c03\u4ef7\u51fd Pydantic Schemas", "file_type": "rationale", "source_file": "app/schemas/crm/price_letter.py", "source_location": "L1"}], "edges": [{"source": "users_wuzilong_work_00code_shanxia2_0_backend_app_schemas_crm_price_letter_py", "target": "decimal", "relation": "imports_from", "context": "import", "confidence": "EXTRACTED", "source_file": "app/schemas/crm/price_letter.py", "source_location": "L3", "weight": 1.0}, {"source": "users_wuzilong_work_00code_shanxia2_0_backend_app_schemas_crm_price_letter_py", "target": "typing", "relation": "imports_from", "context": "import", "confidence": "EXTRACTED", "source_file": "app/schemas/crm/price_letter.py", "source_location": "L4", "weight": 1.0}, {"source": "users_wuzilong_work_00code_shanxia2_0_backend_app_schemas_crm_price_letter_py", "target": "pydantic", "relation": "imports_from", "context": "import", "confidence": "EXTRACTED", "source_file": "app/schemas/crm/price_letter.py", "source_location": "L6", "weight": 1.0}, {"source": "users_wuzilong_work_00code_shanxia2_0_backend_app_schemas_crm_price_letter_py", "target": "users_wuzilong_work_00code_shanxia2_0_backend_app_schemas_crm_price_letter_priceletterlistbody", "relation": "contains", "confidence": "EXTRACTED", "source_file": "app/schemas/crm/price_letter.py", "source_location": "L9", "weight": 1.0}, {"source": "users_wuzilong_work_00code_shanxia2_0_backend_app_schemas_crm_price_letter_priceletterlistbody", "target": "basemodel", "relation": "inherits", "confidence": "EXTRACTED", "source_file": "app/schemas/crm/price_letter.py", "source_location": "L9", "weight": 1.0}, {"source": "users_wuzilong_work_00code_shanxia2_0_backend_app_schemas_crm_price_letter_py", "target": "users_wuzilong_work_00code_shanxia2_0_backend_app_schemas_crm_price_letter_priceletterdetailbody", "relation": "contains", "confidence": "EXTRACTED", "source_file": "app/schemas/crm/price_letter.py", "source_location": "L26", "weight": 1.0}, {"source": "users_wuzilong_work_00code_shanxia2_0_backend_app_schemas_crm_price_letter_priceletterdetailbody", "target": "basemodel", "relation": "inherits", "confidence": "EXTRACTED", "source_file": "app/schemas/crm/price_letter.py", "source_location": "L26", "weight": 1.0}, {"source": "users_wuzilong_work_00code_shanxia2_0_backend_app_schemas_crm_price_letter_py", "target": "users_wuzilong_work_00code_shanxia2_0_backend_app_schemas_crm_price_letter_pricelettercreatebody", "relation": "contains", "confidence": "EXTRACTED", "source_file": "app/schemas/crm/price_letter.py", "source_location": "L32", "weight": 1.0}, {"source": "users_wuzilong_work_00code_shanxia2_0_backend_app_schemas_crm_price_letter_pricelettercreatebody", "target": "basemodel", "relation": "inherits", "confidence": "EXTRACTED", "source_file": "app/schemas/crm/price_letter.py", "source_location": "L32", "weight": 1.0}, {"source": "users_wuzilong_work_00code_shanxia2_0_backend_app_schemas_crm_price_letter_py", "target": "users_wuzilong_work_00code_shanxia2_0_backend_app_schemas_crm_price_letter_priceletterupdatebody", "relation": "contains", "confidence": "EXTRACTED", "source_file": "app/schemas/crm/price_letter.py", "source_location": "L48", "weight": 1.0}, {"source": "users_wuzilong_work_00code_shanxia2_0_backend_app_schemas_crm_price_letter_priceletterupdatebody", "target": "basemodel", "relation": "inherits", "confidence": "EXTLine truncated
@@ -0,0 +1 @@
{"nodes": [{"id": "users_wuzilong_work_00code_shanxia2_0_backend_app_api_pl_vehicle_urea_py", "label": "vehicle_urea.py", "file_type": "code", "source_file": "app/api/pl/vehicle_urea.py", "source_location": "L1"}, {"id": "users_wuzilong_work_00code_shanxia2_0_backend_app_api_pl_vehicle_urea_list_applies", "label": "list_applies()", "file_type": "code", "source_file": "app/api/pl/vehicle_urea.py", "source_location": "L36"}, {"id": "date", "label": "date", "file_type": "code", "source_file": "", "source_location": "", "origin_file": "/Users/wuzilong/work/00code/shanxia2.0/backend/app/api/pl/vehicle_urea.py"}, {"id": "session", "label": "Session", "file_type": "code", "source_file": "", "source_location": "", "origin_file": "/Users/wuzilong/work/00code/shanxia2.0/backend/app/api/pl/vehicle_urea.py"}, {"id": "dbusercontext", "label": "DbUserContext", "file_type": "code", "source_file": "", "source_location": "", "origin_file": "/Users/wuzilong/work/00code/shanxia2.0/backend/app/api/pl/vehicle_urea.py"}, {"id": "vehicleureaapplylistresponse", "label": "VehicleUreaApplyListResponse", "file_type": "code", "source_file": "", "source_location": "", "origin_file": "/Users/wuzilong/work/00code/shanxia2.0/backend/app/api/pl/vehicle_urea.py"}, {"id": "users_wuzilong_work_00code_shanxia2_0_backend_app_api_pl_vehicle_urea_ureaapplyexportbody", "label": "UreaApplyExportBody", "file_type": "code", "source_file": "app/api/pl/vehicle_urea.py", "source_location": "L78"}, {"id": "basemodel", "label": "BaseModel", "file_type": "code", "source_file": "", "source_location": ""}, {"id": "users_wuzilong_work_00code_shanxia2_0_backend_app_api_pl_vehicle_urea_export_urea_applies", "label": "export_urea_applies()", "file_type": "code", "source_file": "app/api/pl/vehicle_urea.py", "source_location": "L89"}, {"id": "users_wuzilong_work_00code_shanxia2_0_backend_app_api_pl_vehicle_urea_get_apply", "label": "get_apply()", "file_type": "code", "source_file": "app/api/pl/vehicle_urea.py", "source_location": "L122"}, {"id": "vehicleureaapplyread", "label": "VehicleUreaApplyRead", "file_type": "code", "source_file": "", "source_location": "", "origin_file": "/Users/wuzilong/work/00code/shanxia2.0/backend/app/api/pl/vehicle_urea.py"}, {"id": "users_wuzilong_work_00code_shanxia2_0_backend_app_api_pl_vehicle_urea_create_apply", "label": "create_apply()", "file_type": "code", "source_file": "app/api/pl/vehicle_urea.py", "source_location": "L132"}, {"id": "vehicleureaapplycreate", "label": "VehicleUreaApplyCreate", "file_type": "code", "source_file": "", "source_location": "", "origin_file": "/Users/wuzilong/work/00code/shanxia2.0/backend/app/api/pl/vehicle_urea.py"}, {"id": "users_wuzilong_work_00code_shanxia2_0_backend_app_api_pl_vehicle_urea_update_apply", "label": "update_apply()", "file_type": "code", "source_file": "app/api/pl/vehicle_urea.py", "source_location": "L142"}, {"id": "vehicleureaapplyupdate", "label": "VehicleUreaApplyUpdate", "file_type": "code", "source_file": "", "source_location": "", "origin_file": "/Users/wuzilong/work/00code/shanxia2.0/backend/app/api/pl/vehicle_urea.py"}, {"id": "users_wuzilong_work_00code_shanxia2_0_backend_app_api_pl_vehicle_urea_cancel_apply", "label": "cancel_apply()", "file_type": "code", "source_file": "app/api/pl/vehicle_urea.py", "source_location": "L153"}, {"id": "users_wuzilong_work_00code_shanxia2_0_backend_app_api_pl_vehicle_urea_delete_applies", "label": "delete_applies()", "file_type": "code", "source_file": "app/api/pl/vehicle_urea.py", "source_location": "L163"}, {"id": "users_wuzilong_work_00code_shanxia2_0_backend_app_api_pl_vehicle_urea_list_disburse_board", "label": "list_disburse_board()", "file_type": "code", "source_file": "app/api/pl/vehicle_urea.py", "source_location": "L174"}, {"id": "vehicleureadisburseboardlistresponse", "label": "VehicleUreaDisburseBoardListResponse", "file_type": "code", "source_file": "", "source_location": "", "origin_file": "/Users/wuzilong/work/00code/shanxia2.0/backend/app/api/pl/vehicle_urea.py"}, {"id": "users_wuzilong_work_00code_shanxia2_0_backend_app_api_pl_vehicle_urea_ureadisburseexportbody", "label": "UreaDisburseExportBody", "file_type": "code", "source_file": "app/api/pl/vehicle_urea.py", "source_location": "L220"}, {"id": "users_wuzilong_work_00code_shanxia2_0_backend_app_api_pl_vehicle_urea_export_urea_disburse_board", "label": "export_urea_disburse_board()", "file_type": "code", "source_file": "app/api/pl/vehicle_urea.py", "source_location": "L233"}, {"id": "users_wuzilong_work_00code_shanxia2_0_backend_app_api_pl_vehicle_urea_get_disburse", "label": "get_disburse()", "file_type": "code", "source_file": "app/api/pl/vehicle_urea.py", "source_location": "L267"}, {"id": "vehicleureadisburseread", "label": "VehicleUreaDisburseRead", "file_type": "code", "source_file": "", "source_location": "", "origin_file": "/Users/wuzilong/work/00code/shanxia2.0/backend/app/api/pl/vehicle_urea.py"}, {"id": "users_wuzilong_work_00code_shanxia2_0_backend_app_apLine truncated
@@ -0,0 +1 @@
{"nodes": [{"id": "users_wuzilong_work_00code_shanxia2_0_backend_app_utils_excel_export_py", "label": "excel_export.py", "file_type": "code", "source_file": "app/utils/excel_export.py", "source_location": "L1"}, {"id": "users_wuzilong_work_00code_shanxia2_0_backend_app_utils_excel_export_exportvalidationerror", "label": "ExportValidationError", "file_type": "code", "source_file": "app/utils/excel_export.py", "source_location": "L19"}, {"id": "valueerror", "label": "ValueError", "file_type": "code", "source_file": "", "source_location": ""}, {"id": "users_wuzilong_work_00code_shanxia2_0_backend_app_utils_excel_export_exportcolumn", "label": "ExportColumn", "file_type": "code", "source_file": "app/utils/excel_export.py", "source_location": "L24"}, {"id": "users_wuzilong_work_00code_shanxia2_0_backend_app_utils_excel_export_load_dict_label_maps", "label": "load_dict_label_maps()", "file_type": "code", "source_file": "app/utils/excel_export.py", "source_location": "L33"}, {"id": "session", "label": "Session", "file_type": "code", "source_file": "", "source_location": "", "origin_file": "/Users/wuzilong/work/00code/shanxia2.0/backend/app/utils/excel_export.py"}, {"id": "users_wuzilong_work_00code_shanxia2_0_backend_app_utils_excel_export_dictlabelresolver", "label": "DictLabelResolver", "file_type": "code", "source_file": "app/utils/excel_export.py", "source_location": "L62"}, {"id": "users_wuzilong_work_00code_shanxia2_0_backend_app_utils_excel_export_dictlabelresolver_init", "label": ".__init__()", "file_type": "code", "source_file": "app/utils/excel_export.py", "source_location": "L65"}, {"id": "users_wuzilong_work_00code_shanxia2_0_backend_app_utils_excel_export_dictlabelresolver_resolve", "label": ".resolve()", "file_type": "code", "source_file": "app/utils/excel_export.py", "source_location": "L77"}, {"id": "any", "label": "Any", "file_type": "code", "source_file": "", "source_location": "", "origin_file": "/Users/wuzilong/work/00code/shanxia2.0/backend/app/utils/excel_export.py"}, {"id": "users_wuzilong_work_00code_shanxia2_0_backend_app_utils_excel_export_dictlabelresolver_row_to_cells", "label": ".row_to_cells()", "file_type": "code", "source_file": "app/utils/excel_export.py", "source_location": "L89"}, {"id": "users_wuzilong_work_00code_shanxia2_0_backend_app_utils_excel_export_build_workbook", "label": "_build_workbook()", "file_type": "code", "source_file": "app/utils/excel_export.py", "source_location": "L93"}, {"id": "users_wuzilong_work_00code_shanxia2_0_backend_app_utils_excel_export_workbook_to_streaming_response", "label": "workbook_to_streaming_response()", "file_type": "code", "source_file": "app/utils/excel_export.py", "source_location": "L110"}, {"id": "streamingresponse", "label": "StreamingResponse", "file_type": "code", "source_file": "", "source_location": "", "origin_file": "/Users/wuzilong/work/00code/shanxia2.0/backend/app/utils/excel_export.py"}, {"id": "users_wuzilong_work_00code_shanxia2_0_backend_app_utils_excel_export_filter_export_columns", "label": "filter_export_columns()", "file_type": "code", "source_file": "app/utils/excel_export.py", "source_location": "L130"}, {"id": "users_wuzilong_work_00code_shanxia2_0_backend_app_utils_excel_export_assert_export_row_count", "label": "assert_export_row_count()", "file_type": "code", "source_file": "app/utils/excel_export.py", "source_location": "L146"}, {"id": "users_wuzilong_work_00code_shanxia2_0_backend_app_utils_excel_export_export_rows_to_xlsx_response", "label": "export_rows_to_xlsx_response()", "file_type": "code", "source_file": "app/utils/excel_export.py", "source_location": "L153"}, {"id": "users_wuzilong_work_00code_shanxia2_0_backend_app_utils_excel_export_rationale_1", "label": "Excel \u5bfc\u51fa\u5de5\u5177\uff1a\u96c6\u4e2d\u5904\u7406\u5b57\u5178 code \u2192 label\uff08\u5bf9\u9f50 Java ExcelDictConvert / ExcelDictPreloadConver", "file_type": "rationale", "source_file": "app/utils/excel_export.py", "source_location": "L1"}, {"id": "users_wuzilong_work_00code_shanxia2_0_backend_app_utils_excel_export_rationale_20", "label": "\u5bfc\u51fa\u4e1a\u52a1\u6821\u9a8c\u5931\u8d25\uff08\u7a7a\u6570\u636e / \u8d85\u9650\u7b49\uff09\uff0c\u8def\u7531\u5c42\u8f6c\u4e3a 400\u3002", "file_type": "rationale", "source_file": "app/utils/excel_export.py", "source_location": "L20"}, {"id": "users_wuzilong_work_00code_shanxia2_0_backend_app_utils_excel_export_rationale_25", "label": "\u5bfc\u51fa\u5217\u5b9a\u4e49\uff0cdict_type \u975e\u7a7a\u65f6\u81ea\u52a8\u5c06\u5b57\u5178 value \u8f6c\u4e3a label\u3002", "file_type": "rationale", "source_file": "app/utils/excel_export.py", "source_location": "L25"}, {"id": "users_wuzilong_work_00code_shanxia2_0_backend_app_utils_excel_export_rationale_38", "label": "\u9884\u52a0\u8f7d\u591a\u4e2a\u5b57\u5178\u7c7b\u578b\u7684 value\u2192label \u6620\u5c04\uff08\u5355\u6b21\u67e5\u8be2\uff0c\u907f\u514d N+1\uff09\u3002", "file_type": "rationale", "source_file": "app/utils/excel_export.py", "source_Line truncated
@@ -0,0 +1 @@
{"nodes": [{"id": "users_wuzilong_work_00code_shanxia2_0_backend_app_api_monitor_py", "label": "monitor.py", "file_type": "code", "source_file": "app/api/monitor.py", "source_location": "L1"}, {"id": "users_wuzilong_work_00code_shanxia2_0_backend_app_api_monitor_user_info", "label": "_user_info()", "file_type": "code", "source_file": "app/api/monitor.py", "source_location": "L27"}, {"id": "users_wuzilong_work_00code_shanxia2_0_backend_app_api_monitor_operlog_list", "label": "operlog_list()", "file_type": "code", "source_file": "app/api/monitor.py", "source_location": "L39"}, {"id": "operloglistbody", "label": "OperLogListBody", "file_type": "code", "source_file": "", "source_location": "", "origin_file": "/Users/wuzilong/work/00code/shanxia2.0/backend/app/api/monitor.py"}, {"id": "session", "label": "Session", "file_type": "code", "source_file": "", "source_location": "", "origin_file": "/Users/wuzilong/work/00code/shanxia2.0/backend/app/api/monitor.py"}, {"id": "users_wuzilong_work_00code_shanxia2_0_backend_app_api_monitor_operlogexportbody", "label": "OperLogExportBody", "file_type": "code", "source_file": "app/api/monitor.py", "source_location": "L102"}, {"id": "basemodel", "label": "BaseModel", "file_type": "code", "source_file": "", "source_location": ""}, {"id": "users_wuzilong_work_00code_shanxia2_0_backend_app_api_monitor_operlog_export", "label": "operlog_export()", "file_type": "code", "source_file": "app/api/monitor.py", "source_location": "L113"}, {"id": "users_wuzilong_work_00code_shanxia2_0_backend_app_api_monitor_operlog_detail", "label": "operlog_detail()", "file_type": "code", "source_file": "app/api/monitor.py", "source_location": "L167"}, {"id": "operlogdetailbody", "label": "OperLogDetailBody", "file_type": "code", "source_file": "", "source_location": "", "origin_file": "/Users/wuzilong/work/00code/shanxia2.0/backend/app/api/monitor.py"}, {"id": "users_wuzilong_work_00code_shanxia2_0_backend_app_api_monitor_rationale_44", "label": "\u64cd\u4f5c\u65e5\u5fd7\u5206\u9875\u5217\u8868\uff08\u57fa\u4e8e API \u8bf7\u6c42\u65e5\u5fd7\u9002\u914d RuoYi OperLog \u7ed3\u6784\uff09", "file_type": "rationale", "source_file": "app/api/monitor.py", "source_location": "L44"}, {"id": "users_wuzilong_work_00code_shanxia2_0_backend_app_api_monitor_rationale_118", "label": "\u5bfc\u51fa\u64cd\u4f5c\u65e5\u5fd7\uff08\u5f53\u524d\u7b5b\u9009\u5168\u91cf\uff0c\u6216 ids \u5df2\u9009\uff09\u3002", "file_type": "rationale", "source_file": "app/api/monitor.py", "source_location": "L118"}], "edges": [{"source": "users_wuzilong_work_00code_shanxia2_0_backend_app_api_monitor_py", "target": "datetime", "relation": "imports_from", "context": "import", "confidence": "EXTRACTED", "source_file": "app/api/monitor.py", "source_location": "L4", "weight": 1.0}, {"source": "users_wuzilong_work_00code_shanxia2_0_backend_app_api_monitor_py", "target": "typing", "relation": "imports_from", "context": "import", "confidence": "EXTRACTED", "source_file": "app/api/monitor.py", "source_location": "L5", "weight": 1.0}, {"source": "users_wuzilong_work_00code_shanxia2_0_backend_app_api_monitor_py", "target": "fastapi", "relation": "imports_from", "context": "import", "confidence": "EXTRACTED", "source_file": "app/api/monitor.py", "source_location": "L7", "weight": 1.0}, {"source": "users_wuzilong_work_00code_shanxia2_0_backend_app_api_monitor_py", "target": "pydantic", "relation": "imports_from", "context": "import", "confidence": "EXTRACTED", "source_file": "app/api/monitor.py", "source_location": "L8", "weight": 1.0}, {"source": "users_wuzilong_work_00code_shanxia2_0_backend_app_api_monitor_py", "target": "sqlalchemy_orm", "relation": "imports_from", "context": "import", "confidence": "EXTRACTED", "source_file": "app/api/monitor.py", "source_location": "L9", "weight": 1.0}, {"source": "users_wuzilong_work_00code_shanxia2_0_backend_app_api_monitor_py", "target": "app_core_database", "relation": "imports_from", "context": "import", "confidence": "EXTRACTED", "source_file": "app/api/monitor.py", "source_location": "L11", "weight": 1.0}, {"source": "users_wuzilong_work_00code_shanxia2_0_backend_app_api_monitor_py", "target": "app_core_menu_guard", "relation": "imports_from", "context": "import", "confidence": "EXTRACTED", "source_file": "app/api/monitor.py", "source_location": "L12", "weight": 1.0}, {"source": "users_wuzilong_work_00code_shanxia2_0_backend_app_api_monitor_py", "target": "app_core_response", "relation": "imports_from", "context": "import", "confidence": "EXTRACTED", "source_file": "app/api/monitor.py", "source_location": "L13", "weight": 1.0}, {"source": "users_wuzilong_work_00code_shanxia2_0_backend_app_api_monitor_py", "target": "app_crud_monitor_oper_log", "relation": "imports_from", "context": "import", "confidence": "EXTRACTED", "source_file": "app/api/monitor.py", "source_location": "L14", "weight": 1.0}, {"source": "users_wuzilong_work_00code_shanxia2_0_backend_app_api_monitor_py", "target": "app_schemas_monitor_oLine truncated
@@ -0,0 +1 @@
{"nodes": [{"id": "users_wuzilong_work_00code_shanxia2_0_backend_app_api_pl_vehicle_maintenance_py", "label": "vehicle_maintenance.py", "file_type": "code", "source_file": "app/api/pl/vehicle_maintenance.py", "source_location": "L1"}, {"id": "users_wuzilong_work_00code_shanxia2_0_backend_app_api_pl_vehicle_maintenance_list_applies", "label": "list_applies()", "file_type": "code", "source_file": "app/api/pl/vehicle_maintenance.py", "source_location": "L38"}, {"id": "date", "label": "date", "file_type": "code", "source_file": "", "source_location": "", "origin_file": "/Users/wuzilong/work/00code/shanxia2.0/backend/app/api/pl/vehicle_maintenance.py"}, {"id": "session", "label": "Session", "file_type": "code", "source_file": "", "source_location": "", "origin_file": "/Users/wuzilong/work/00code/shanxia2.0/backend/app/api/pl/vehicle_maintenance.py"}, {"id": "dbusercontext", "label": "DbUserContext", "file_type": "code", "source_file": "", "source_location": "", "origin_file": "/Users/wuzilong/work/00code/shanxia2.0/backend/app/api/pl/vehicle_maintenance.py"}, {"id": "vehiclemaintenanceapplylistresponse", "label": "VehicleMaintenanceApplyListResponse", "file_type": "code", "source_file": "", "source_location": "", "origin_file": "/Users/wuzilong/work/00code/shanxia2.0/backend/app/api/pl/vehicle_maintenance.py"}, {"id": "users_wuzilong_work_00code_shanxia2_0_backend_app_api_pl_vehicle_maintenance_list_reminders", "label": "list_reminders()", "file_type": "code", "source_file": "app/api/pl/vehicle_maintenance.py", "source_location": "L70"}, {"id": "vehiclemaintenanceapplyreminder", "label": "VehicleMaintenanceApplyReminder", "file_type": "code", "source_file": "", "source_location": "", "origin_file": "/Users/wuzilong/work/00code/shanxia2.0/backend/app/api/pl/vehicle_maintenance.py"}, {"id": "users_wuzilong_work_00code_shanxia2_0_backend_app_api_pl_vehicle_maintenance_maintenanceapplyexportbody", "label": "MaintenanceApplyExportBody", "file_type": "code", "source_file": "app/api/pl/vehicle_maintenance.py", "source_location": "L100"}, {"id": "basemodel", "label": "BaseModel", "file_type": "code", "source_file": "", "source_location": ""}, {"id": "users_wuzilong_work_00code_shanxia2_0_backend_app_api_pl_vehicle_maintenance_export_applies", "label": "export_applies()", "file_type": "code", "source_file": "app/api/pl/vehicle_maintenance.py", "source_location": "L113"}, {"id": "users_wuzilong_work_00code_shanxia2_0_backend_app_api_pl_vehicle_maintenance_get_apply", "label": "get_apply()", "file_type": "code", "source_file": "app/api/pl/vehicle_maintenance.py", "source_location": "L157"}, {"id": "vehiclemaintenanceapplyread", "label": "VehicleMaintenanceApplyRead", "file_type": "code", "source_file": "", "source_location": "", "origin_file": "/Users/wuzilong/work/00code/shanxia2.0/backend/app/api/pl/vehicle_maintenance.py"}, {"id": "users_wuzilong_work_00code_shanxia2_0_backend_app_api_pl_vehicle_maintenance_create_apply", "label": "create_apply()", "file_type": "code", "source_file": "app/api/pl/vehicle_maintenance.py", "source_location": "L167"}, {"id": "vehiclemaintenanceapplycreate", "label": "VehicleMaintenanceApplyCreate", "file_type": "code", "source_file": "", "source_location": "", "origin_file": "/Users/wuzilong/work/00code/shanxia2.0/backend/app/api/pl/vehicle_maintenance.py"}, {"id": "users_wuzilong_work_00code_shanxia2_0_backend_app_api_pl_vehicle_maintenance_update_apply", "label": "update_apply()", "file_type": "code", "source_file": "app/api/pl/vehicle_maintenance.py", "source_location": "L177"}, {"id": "vehiclemaintenanceapplyupdate", "label": "VehicleMaintenanceApplyUpdate", "file_type": "code", "source_file": "", "source_location": "", "origin_file": "/Users/wuzilong/work/00code/shanxia2.0/backend/app/api/pl/vehicle_maintenance.py"}, {"id": "users_wuzilong_work_00code_shanxia2_0_backend_app_api_pl_vehicle_maintenance_cancel_apply", "label": "cancel_apply()", "file_type": "code", "source_file": "app/api/pl/vehicle_maintenance.py", "source_location": "L188"}, {"id": "users_wuzilong_work_00code_shanxia2_0_backend_app_api_pl_vehicle_maintenance_delete_applies", "label": "delete_applies()", "file_type": "code", "source_file": "app/api/pl/vehicle_maintenance.py", "source_location": "L198"}, {"id": "users_wuzilong_work_00code_shanxia2_0_backend_app_api_pl_vehicle_maintenance_list_process_board", "label": "list_process_board()", "file_type": "code", "source_file": "app/api/pl/vehicle_maintenance.py", "source_location": "L209"}, {"id": "vehiclemaintenanceprocessboardlistresponse", "label": "VehicleMaintenanceProcessBoardListResponse", "file_type": "code", "source_file": "", "source_location": "", "origin_file": "/Users/wuzilong/work/00code/shanxia2.0/backend/app/api/pl/vehicle_maintenance.py"}, {"id": "users_wuzilong_work_00code_shanxia2_0_backend_app_api_pl_vehicle_maintenance_maintprocessexportbody", "label": "MaintProcessExportBody", "file_type": "code", "source_file": "app/api/pl/vehicle_maintenance.py", "Line truncated
@@ -0,0 +1 @@
{"nodes": [{"id": "users_wuzilong_work_00code_shanxia2_0_backend_app_crud_post_py", "label": "post.py", "file_type": "code", "source_file": "app/crud/post.py", "source_location": "L1"}, {"id": "users_wuzilong_work_00code_shanxia2_0_backend_app_crud_post_row_to_dict", "label": "_row_to_dict()", "file_type": "code", "source_file": "app/crud/post.py", "source_location": "L16"}, {"id": "syspost", "label": "SysPost", "file_type": "code", "source_file": "", "source_location": "", "origin_file": "/Users/wuzilong/work/00code/shanxia2.0/backend/app/crud/post.py"}, {"id": "any", "label": "Any", "file_type": "code", "source_file": "", "source_location": "", "origin_file": "/Users/wuzilong/work/00code/shanxia2.0/backend/app/crud/post.py"}, {"id": "users_wuzilong_work_00code_shanxia2_0_backend_app_crud_post_list_posts", "label": "list_posts()", "file_type": "code", "source_file": "app/crud/post.py", "source_location": "L31"}, {"id": "session", "label": "Session", "file_type": "code", "source_file": "", "source_location": "", "origin_file": "/Users/wuzilong/work/00code/shanxia2.0/backend/app/crud/post.py"}, {"id": "users_wuzilong_work_00code_shanxia2_0_backend_app_crud_post_get_post", "label": "get_post()", "file_type": "code", "source_file": "app/crud/post.py", "source_location": "L64"}, {"id": "users_wuzilong_work_00code_shanxia2_0_backend_app_crud_post_post_code_exists", "label": "post_code_exists()", "file_type": "code", "source_file": "app/crud/post.py", "source_location": "L72"}, {"id": "users_wuzilong_work_00code_shanxia2_0_backend_app_crud_post_create_post", "label": "create_post()", "file_type": "code", "source_file": "app/crud/post.py", "source_location": "L79"}, {"id": "users_wuzilong_work_00code_shanxia2_0_backend_app_crud_post_update_post", "label": "update_post()", "file_type": "code", "source_file": "app/crud/post.py", "source_location": "L116"}, {"id": "users_wuzilong_work_00code_shanxia2_0_backend_app_crud_post_soft_delete_post", "label": "soft_delete_post()", "file_type": "code", "source_file": "app/crud/post.py", "source_location": "L153"}, {"id": "users_wuzilong_work_00code_shanxia2_0_backend_app_crud_post_total_pages", "label": "total_pages()", "file_type": "code", "source_file": "app/crud/post.py", "source_location": "L164"}], "edges": [{"source": "users_wuzilong_work_00code_shanxia2_0_backend_app_crud_post_py", "target": "math", "relation": "imports", "context": "import", "confidence": "EXTRACTED", "source_file": "app/crud/post.py", "source_location": "L4", "weight": 1.0}, {"source": "users_wuzilong_work_00code_shanxia2_0_backend_app_crud_post_py", "target": "datetime", "relation": "imports_from", "context": "import", "confidence": "EXTRACTED", "source_file": "app/crud/post.py", "source_location": "L5", "weight": 1.0}, {"source": "users_wuzilong_work_00code_shanxia2_0_backend_app_crud_post_py", "target": "typing", "relation": "imports_from", "context": "import", "confidence": "EXTRACTED", "source_file": "app/crud/post.py", "source_location": "L6", "weight": 1.0}, {"source": "users_wuzilong_work_00code_shanxia2_0_backend_app_crud_post_py", "target": "sqlalchemy", "relation": "imports_from", "context": "import", "confidence": "EXTRACTED", "source_file": "app/crud/post.py", "source_location": "L8", "weight": 1.0}, {"source": "users_wuzilong_work_00code_shanxia2_0_backend_app_crud_post_py", "target": "sqlalchemy_orm", "relation": "imports_from", "context": "import", "confidence": "EXTRACTED", "source_file": "app/crud/post.py", "source_location": "L9", "weight": 1.0}, {"source": "users_wuzilong_work_00code_shanxia2_0_backend_app_crud_post_py", "target": "app_core_delete_guard", "relation": "imports_from", "context": "import", "confidence": "EXTRACTED", "source_file": "app/crud/post.py", "source_location": "L11", "weight": 1.0}, {"source": "users_wuzilong_work_00code_shanxia2_0_backend_app_crud_post_py", "target": "app_core_utils", "relation": "imports_from", "context": "import", "confidence": "EXTRACTED", "source_file": "app/crud/post.py", "source_location": "L12", "weight": 1.0}, {"source": "users_wuzilong_work_00code_shanxia2_0_backend_app_crud_post_py", "target": "app_models_models", "relation": "imports_from", "context": "import", "confidence": "EXTRACTED", "source_file": "app/crud/post.py", "source_location": "L13", "weight": 1.0}, {"source": "users_wuzilong_work_00code_shanxia2_0_backend_app_crud_post_py", "target": "users_wuzilong_work_00code_shanxia2_0_backend_app_crud_post_row_to_dict", "relation": "contains", "confidence": "EXTRACTED", "source_file": "app/crud/post.py", "source_location": "L16", "weight": 1.0}, {"source": "users_wuzilong_work_00code_shanxia2_0_backend_app_crud_post_row_to_dict", "target": "syspost", "relation": "references", "context": "parameter_type", "confidence": "EXTRACTED", "source_file": "app/crud/post.py", "source_location": "L16", "weight": 1.0}, {"source": "users_wuzilong_work_00code_shanxia2_0_backend_app_crud_post_row_to_dict", "target": "any", "relation": "refereLine truncated
@@ -0,0 +1 @@
{"nodes": [{"id": "users_wuzilong_work_00code_shanxia2_0_backend_app_crud_crm_opportunity_py", "label": "opportunity.py", "file_type": "code", "source_file": "app/crud/crm/opportunity.py", "source_location": "L1"}, {"id": "users_wuzilong_work_00code_shanxia2_0_backend_app_crud_crm_opportunity_ensure_opportunity_in_scope", "label": "_ensure_opportunity_in_scope()", "file_type": "code", "source_file": "app/crud/crm/opportunity.py", "source_location": "L59"}, {"id": "session", "label": "Session", "file_type": "code", "source_file": "", "source_location": "", "origin_file": "/Users/wuzilong/work/00code/shanxia2.0/backend/app/crud/crm/opportunity.py"}, {"id": "crmopportunity", "label": "CrmOpportunity", "file_type": "code", "source_file": "", "source_location": "", "origin_file": "/Users/wuzilong/work/00code/shanxia2.0/backend/app/crud/crm/opportunity.py"}, {"id": "users_wuzilong_work_00code_shanxia2_0_backend_app_crud_crm_opportunity_scoped_opportunity_query", "label": "_scoped_opportunity_query()", "file_type": "code", "source_file": "app/crud/crm/opportunity.py", "source_location": "L63"}, {"id": "users_wuzilong_work_00code_shanxia2_0_backend_app_crud_crm_opportunity_total_pages", "label": "total_pages()", "file_type": "code", "source_file": "app/crud/crm/opportunity.py", "source_location": "L80"}, {"id": "users_wuzilong_work_00code_shanxia2_0_backend_app_crud_crm_opportunity_parse_optional_date", "label": "_parse_optional_date()", "file_type": "code", "source_file": "app/crud/crm/opportunity.py", "source_location": "L86"}, {"id": "any", "label": "Any", "file_type": "code", "source_file": "", "source_location": "", "origin_file": "/Users/wuzilong/work/00code/shanxia2.0/backend/app/crud/crm/opportunity.py"}, {"id": "date", "label": "date", "file_type": "code", "source_file": "", "source_location": "", "origin_file": "/Users/wuzilong/work/00code/shanxia2.0/backend/app/crud/crm/opportunity.py"}, {"id": "users_wuzilong_work_00code_shanxia2_0_backend_app_crud_crm_opportunity_parse_optional_datetime", "label": "_parse_optional_datetime()", "file_type": "code", "source_file": "app/crud/crm/opportunity.py", "source_location": "L104"}, {"id": "datetime", "label": "datetime", "file_type": "code", "source_file": "", "source_location": "", "origin_file": "/Users/wuzilong/work/00code/shanxia2.0/backend/app/crud/crm/opportunity.py"}, {"id": "users_wuzilong_work_00code_shanxia2_0_backend_app_crud_crm_opportunity_decimal_value", "label": "_decimal_value()", "file_type": "code", "source_file": "app/crud/crm/opportunity.py", "source_location": "L120"}, {"id": "decimal", "label": "Decimal", "file_type": "code", "source_file": "", "source_location": "", "origin_file": "/Users/wuzilong/work/00code/shanxia2.0/backend/app/crud/crm/opportunity.py"}, {"id": "users_wuzilong_work_00code_shanxia2_0_backend_app_crud_crm_opportunity_stage_default_percent", "label": "_stage_default_percent()", "file_type": "code", "source_file": "app/crud/crm/opportunity.py", "source_location": "L126"}, {"id": "users_wuzilong_work_00code_shanxia2_0_backend_app_crud_crm_opportunity_resolve_user_display_name", "label": "_resolve_user_display_name()", "file_type": "code", "source_file": "app/crud/crm/opportunity.py", "source_location": "L130"}, {"id": "users_wuzilong_work_00code_shanxia2_0_backend_app_crud_crm_opportunity_enrich_user_names", "label": "_enrich_user_names()", "file_type": "code", "source_file": "app/crud/crm/opportunity.py", "source_location": "L140"}, {"id": "users_wuzilong_work_00code_shanxia2_0_backend_app_crud_crm_opportunity_guard_terminal_status", "label": "_guard_terminal_status()", "file_type": "code", "source_file": "app/crud/crm/opportunity.py", "source_location": "L166"}, {"id": "users_wuzilong_work_00code_shanxia2_0_backend_app_crud_crm_opportunity_row_to_dict", "label": "_row_to_dict()", "file_type": "code", "source_file": "app/crud/crm/opportunity.py", "source_location": "L171"}, {"id": "users_wuzilong_work_00code_shanxia2_0_backend_app_crud_crm_opportunity_stage_log_to_dict", "label": "_stage_log_to_dict()", "file_type": "code", "source_file": "app/crud/crm/opportunity.py", "source_location": "L209"}, {"id": "crmopportunitystagelog", "label": "CrmOpportunityStageLog", "file_type": "code", "source_file": "", "source_location": "", "origin_file": "/Users/wuzilong/work/00code/shanxia2.0/backend/app/crud/crm/opportunity.py"}, {"id": "users_wuzilong_work_00code_shanxia2_0_backend_app_crud_crm_opportunity_apply_list_filters", "label": "_apply_list_filters()", "file_type": "code", "source_file": "app/crud/crm/opportunity.py", "source_location": "L239"}, {"id": "users_wuzilong_work_00code_shanxia2_0_backend_app_crud_crm_opportunity_list_opportunities", "label": "list_opportunities()", "file_type": "code", "source_file": "app/crud/crm/opportunity.py", "source_location": "L305"}, {"id": "users_wuzilong_work_00code_shanxia2_0_backend_app_crud_crm_opportunity_get_opportunity", "label": "get_opportunity()", "file_type": "code", "source_file"Line truncated
@@ -0,0 +1 @@
{"nodes": [{"id": "users_wuzilong_work_00code_shanxia2_0_backend_app_crud_tenant_py", "label": "tenant.py", "file_type": "code", "source_file": "app/crud/tenant.py", "source_location": "L1"}, {"id": "users_wuzilong_work_00code_shanxia2_0_backend_app_crud_tenant_row_to_dict", "label": "_row_to_dict()", "file_type": "code", "source_file": "app/crud/tenant.py", "source_location": "L17"}, {"id": "systenant", "label": "SysTenant", "file_type": "code", "source_file": "", "source_location": "", "origin_file": "/Users/wuzilong/work/00code/shanxia2.0/backend/app/crud/tenant.py"}, {"id": "any", "label": "Any", "file_type": "code", "source_file": "", "source_location": "", "origin_file": "/Users/wuzilong/work/00code/shanxia2.0/backend/app/crud/tenant.py"}, {"id": "users_wuzilong_work_00code_shanxia2_0_backend_app_crud_tenant_list_tenants", "label": "list_tenants()", "file_type": "code", "source_file": "app/crud/tenant.py", "source_location": "L32"}, {"id": "session", "label": "Session", "file_type": "code", "source_file": "", "source_location": "", "origin_file": "/Users/wuzilong/work/00code/shanxia2.0/backend/app/crud/tenant.py"}, {"id": "users_wuzilong_work_00code_shanxia2_0_backend_app_crud_tenant_get_tenant", "label": "get_tenant()", "file_type": "code", "source_file": "app/crud/tenant.py", "source_location": "L69"}, {"id": "users_wuzilong_work_00code_shanxia2_0_backend_app_crud_tenant_tenant_no_exists", "label": "tenant_no_exists()", "file_type": "code", "source_file": "app/crud/tenant.py", "source_location": "L77"}, {"id": "users_wuzilong_work_00code_shanxia2_0_backend_app_crud_tenant_create_tenant", "label": "create_tenant()", "file_type": "code", "source_file": "app/crud/tenant.py", "source_location": "L84"}, {"id": "users_wuzilong_work_00code_shanxia2_0_backend_app_crud_tenant_update_tenant", "label": "update_tenant()", "file_type": "code", "source_file": "app/crud/tenant.py", "source_location": "L121"}, {"id": "users_wuzilong_work_00code_shanxia2_0_backend_app_crud_tenant_soft_delete_tenant", "label": "soft_delete_tenant()", "file_type": "code", "source_file": "app/crud/tenant.py", "source_location": "L163"}, {"id": "users_wuzilong_work_00code_shanxia2_0_backend_app_crud_tenant_total_pages", "label": "total_pages()", "file_type": "code", "source_file": "app/crud/tenant.py", "source_location": "L176"}], "edges": [{"source": "users_wuzilong_work_00code_shanxia2_0_backend_app_crud_tenant_py", "target": "math", "relation": "imports", "context": "import", "confidence": "EXTRACTED", "source_file": "app/crud/tenant.py", "source_location": "L4", "weight": 1.0}, {"source": "users_wuzilong_work_00code_shanxia2_0_backend_app_crud_tenant_py", "target": "datetime", "relation": "imports_from", "context": "import", "confidence": "EXTRACTED", "source_file": "app/crud/tenant.py", "source_location": "L5", "weight": 1.0}, {"source": "users_wuzilong_work_00code_shanxia2_0_backend_app_crud_tenant_py", "target": "typing", "relation": "imports_from", "context": "import", "confidence": "EXTRACTED", "source_file": "app/crud/tenant.py", "source_location": "L6", "weight": 1.0}, {"source": "users_wuzilong_work_00code_shanxia2_0_backend_app_crud_tenant_py", "target": "sqlalchemy", "relation": "imports_from", "context": "import", "confidence": "EXTRACTED", "source_file": "app/crud/tenant.py", "source_location": "L8", "weight": 1.0}, {"source": "users_wuzilong_work_00code_shanxia2_0_backend_app_crud_tenant_py", "target": "sqlalchemy_orm", "relation": "imports_from", "context": "import", "confidence": "EXTRACTED", "source_file": "app/crud/tenant.py", "source_location": "L9", "weight": 1.0}, {"source": "users_wuzilong_work_00code_shanxia2_0_backend_app_crud_tenant_py", "target": "app_core_config", "relation": "imports_from", "context": "import", "confidence": "EXTRACTED", "source_file": "app/crud/tenant.py", "source_location": "L11", "weight": 1.0}, {"source": "users_wuzilong_work_00code_shanxia2_0_backend_app_crud_tenant_py", "target": "app_core_delete_guard", "relation": "imports_from", "context": "import", "confidence": "EXTRACTED", "source_file": "app/crud/tenant.py", "source_location": "L12", "weight": 1.0}, {"source": "users_wuzilong_work_00code_shanxia2_0_backend_app_crud_tenant_py", "target": "app_core_utils", "relation": "imports_from", "context": "import", "confidence": "EXTRACTED", "source_file": "app/crud/tenant.py", "source_location": "L13", "weight": 1.0}, {"source": "users_wuzilong_work_00code_shanxia2_0_backend_app_crud_tenant_py", "target": "app_models_models", "relation": "imports_from", "context": "import", "confidence": "EXTRACTED", "source_file": "app/crud/tenant.py", "source_location": "L14", "weight": 1.0}, {"source": "users_wuzilong_work_00code_shanxia2_0_backend_app_crud_tenant_py", "target": "users_wuzilong_work_00code_shanxia2_0_backend_app_crud_tenant_row_to_dict", "relation": "contains", "confidence": "EXTRACTED", "source_file": "app/crud/tenant.py", "source_location": "L17", "weight": 1.0}, {"source": "users_wLine truncated
Loaded 100 of 204 files, more files were not shown because too many files have changed in this diff. Show more