Files
shanxia2.0/backend/graphify-out/GRAPH_REPORT.md
T
2026-07-05 10:07:24 +08:00

51 KiB
Raw Blame History

Graph Report - backend (2026-07-05)

Corpus Check

  • 230 files · ~160,983 words
  • Verdict: corpus is large enough that graph structure adds value.

Summary

  • 5150 nodes · 35327 edges · 164 communities (162 shown, 2 thin omitted)
  • Extraction: 51% EXTRACTED · 49% INFERRED · 0% AMBIGUOUS · INFERRED: 17344 edges (avg confidence: 0.5)
  • Token cost: 0 input · 0 output

Graph Freshness

  • Built from commit: 33c038b8
  • Run git rev-parse HEAD and compare to check if the graph is stale.
  • Run graphify update . after code changes (no API cost).

Community Hubs (Navigation)

God Nodes (most connected - your core abstractions)

  1. Session - 1123 edges
  2. BaseModel - 426 edges
  3. int - 336 edges
  4. get_tenant_no() - 335 edges
  5. Any - 331 edges
  6. DbUserContext - 283 edges
  7. SysUser - 282 edges
  8. success_response() - 259 edges
  9. Session - 257 edges
  10. bool - 255 edges

Surprising Connections (you probably didn't know these)

  • bool --uses--> DbUserContext [INFERRED] scripts/migrate_dibang_data.py → app/core/db_auth.py
  • date --uses--> DbUserContext [INFERRED] scripts/migrate_dibang_data.py → app/core/db_auth.py
  • int --uses--> DbUserContext [INFERRED] scripts/run_db_auto_generate_plans.py → app/core/db_auth.py
  • int --uses--> ApiRequestLogMiddleware [INFERRED] scripts/run_db_auto_generate_plans.py → app/core/api_request_log_middleware.py
  • int --uses--> LocalStorage [INFERRED] scripts/run_db_auto_generate_plans.py → app/core/storage.py

Communities (164 total, 2 thin omitted)

Community 0 - "Community 0"

Cohesion: 0.14 Nodes (102): date, DbUserContext, int, Session, str, DocumentReminderRead, DocumentReminderUpdate, FreightSettlementUpdate (+94 more)

Community 1 - "Community 1"

Cohesion: 0.33 Nodes (38): InboundOutboundRead, bool, DbPurchasePlan, DbUserContext, PurchasePlanRead, PurchasePlanWithFillLink, WeighingSlipRead, bool (+30 more)

Community 2 - "Community 2"

Cohesion: 0.36 Nodes (219): Any, bool, str, UploadFile, CRM 线索管理 Pydantic Schemas, CRM 商机管理 Pydantic Schemas, CRM 客户公海池规则 Pydantic Schemas, CRM 产品模块 Pydantic Schemas (+211 more)

Community 3 - "Community 3"

Cohesion: 0.05 Nodes (225): attachment_preview_url(), create_dept(), create_dict_data(), create_dict_type(), create_menu(), create_post(), create_role_management(), create_site() (+217 more)

Community 4 - "Community 4"

Cohesion: 0.04 Nodes (70): 分页查询供方列表 — Java: CrmSupplierInfoController.list, 分页查询供方列表 — Java: CrmSupplierInfoController.list, 分页查询供方列表 — Java: CrmSupplierInfoController.list, 分页查询供方列表 — Java: CrmSupplierInfoController.list, 分页查询供方列表 — Java: CrmSupplierInfoController.list, 分页查询供方列表 — Java: CrmSupplierInfoController.list, 分页查询供方列表 — Java: CrmSupplierInfoController.list, 分页查询供方列表 — Java: CrmSupplierInfoController.list (+62 more)

Community 5 - "Community 5"

Cohesion: 0.08 Nodes (40): _db_pool_keepalive_loop(), _error_json(), lifespan(), _mask_secret(), Exception, int, Request, str (+32 more)

Community 6 - "Community 6"

Cohesion: 0.14 Nodes (39): Any, bool, int, Session, str, SysUser, create_user(), get_user() (+31 more)

Community 7 - "Community 7"

Cohesion: 0.33 Nodes (5): _coerce_optional_id(), WorkflowDefCreate, WorkflowDefUpdate, WorkflowNodeCreate, WorkflowNodeOut

Community 8 - "Community 8"

Cohesion: 0.12 Nodes (45): Any, CRM 合同子模块路由 — 变更/模板/审批独立页, register_contract_sub_routes(), Any, Decimal, _build_customer_address(), _calc_amount_with_tax(), _change_row_to_dict() (+37 more)

Community 9 - "Community 9"

Cohesion: 0.28 Nodes (18): Any, int, Session, str, _build_tree(), _cascade_soft_delete(), _collect_with_ancestors(), create_dept() (+10 more)

Community 10 - "Community 10"

Cohesion: 0.09 Nodes (39): CRM 报价单 CRUD — 对照 CrmQuoteServiceImpl.java(P2 全量), date, Decimal, Query, _build_quote_filters(), calculate_quote_amount(), create_quote(), _decimal_value() (+31 more)

Community 11 - "Community 11"

Cohesion: 0.16 Nodes (36): Any, bool, BxUserContext, BxWorkflowNode, float, int, ReimburseApplyOut, Session (+28 more)

Community 12 - "Community 12"

Cohesion: 0.11 Nodes (90): date, DbUserContext, int, Session, str, VehicleUreaApplyCreate, VehicleUreaApplyRead, VehicleUreaApplyUpdate (+82 more)

Community 13 - "Community 13"

Cohesion: 0.06 Nodes (61): Any, bool, bytes, int, str, Exception, bool, bytes (+53 more)

Community 14 - "Community 14"

Cohesion: 0.09 Nodes (55): Any, bool, datetime, int, Session, str, _advance_contract_after_approval(), approve_contract() (+47 more)

Community 15 - "Community 15"

Cohesion: 0.19 Nodes (23): bool, date, datetime, int, Session, str, allocate_reimburse_title_seq(), format_reimburse_title() (+15 more)

Community 16 - "Community 16"

Cohesion: 0.09 Nodes (75): register_contract_routes(), bool, CRM 合同 CRUD — 对照 CrmContractServiceImpl.java(列表/详情 P1), CrmContract, Session, str, _apply_contract_entity_fields(), _apply_contract_scalar_fields() (+67 more)

Community 17 - "Community 17"

Cohesion: 0.18 Nodes (50): Any, CRM 商机 CRUD(主表 + 阶段/赢输单/统计/看板/漏斗), CrmOpportunity, date, datetime, Decimal, int, Session (+42 more)

Community 18 - "Community 18"

Cohesion: 0.13 Nodes (28): Any, bool, BxUserContext, BxWorkflowNode, float, int, Session, str (+20 more)

Community 19 - "Community 19"

Cohesion: 0.27 Nodes (22): approve_task(), _assert_wf_instance_in_scope(), _business_type_label(), delete_process_def(), _enrich_task_list(), get_business_all_tasks(), _get_business_form_fields(), get_designer_data() (+14 more)

Community 20 - "Community 20"

Cohesion: 0.21 Nodes (47): AdvanceApplyCreate, AdvanceApplyOut, AdvanceApplyUpdate, AdvanceApprovalCreate, BxUserContext, int, Session, str (+39 more)

Community 21 - "Community 21"

Cohesion: 0.07 Nodes (61): CertRead, date, int, Session, str, CertRead, Session, str (+53 more)

Community 22 - "Community 22"

Cohesion: 0.22 Nodes (36): Any, Session, str, PlFreightSettlement, PlFreightSettlementApproval, _advance_after_approval(), _approval_to_dict(), can_user_approve_settlement() (+28 more)

Community 23 - "Community 23"

Cohesion: 0.23 Nodes (38): AdvanceIssueRequest, BxUserContext, int, ReimburseApplyOut, Session, str, str, BatchOffsetRequest (+30 more)

Community 24 - "Community 24"

Cohesion: 0.11 Nodes (95): date, DbUserContext, int, Session, str, VehicleMaintenanceApplyCreate, VehicleMaintenanceApplyRead, VehicleMaintenanceApplyReminder (+87 more)

Community 25 - "Community 25"

Cohesion: 0.34 Nodes (35): DbUserContext, FreightSettlementDisburseBody, FreightSettlementSubmitApprovalBody, FreightSettlementUpdate, int, Session, str, FreightSettlementApprovalActionBody (+27 more)

Community 26 - "Community 26"

Cohesion: 0.20 Nodes (18): bool, int, Redis, Request, str, _claims_from_auth(), _coerce_post_method_override_to_get(), _get_redis_client() (+10 more)

Community 27 - "Community 27"

Cohesion: 0.11 Nodes (57): Any, bool, int, Session, str, Any, bool, CRM 线索 CRUD(线索主表 + 转化/分配/无效/等级操作) (+49 more)

Community 28 - "Community 28"

Cohesion: 0.11 Nodes (33): Any, str, bool, BxUserContext, int, Session, str, Any (+25 more)

Community 29 - "Community 29"

Cohesion: 0.28 Nodes (25): DbUserContext, int, Session, str, PlTransportAddress, 运输通用地址库 pl_transport_address, _address_to_read(), _build_address_query() (+17 more)

Community 30 - "Community 30"

Cohesion: 0.06 Nodes (56): BaseModel, AdvanceApplyOut, AttachmentOut, ContactByCustomerBody, ContactDetailBody, ContactSetPrimaryBody, CRM 联系人 Pydantic Schemas, ContractApprovalPassBody (+48 more)

Community 31 - "Community 31"

Cohesion: 0.15 Nodes (30): Any, bool, int, Session, str, approve_quote(), can_user_approve(), create_approval_records() (+22 more)

Community 32 - "Community 32"

Cohesion: 0.09 Nodes (110): date, DbUserContext, int, Session, str, VehicleRechargeApplyCreate, VehicleRechargeApplyRead, VehicleRechargeApplyUpdate (+102 more)

Community 33 - "Community 33"

Cohesion: 0.12 Nodes (58): customer_create(), Any, int, Session, str, Any, bool, CRM 客户 CRUD(客户主表 + 转移/成交/公海池操作) (+50 more)

Community 34 - "Community 34"

Cohesion: 0.22 Nodes (29): Engine, Path, build_id_maps(), clip_text(), count_rows(), export_mapping(), fetch_rows(), legacy_id_to_str() (+21 more)

Community 35 - "Community 35"

Cohesion: 0.05 Nodes (47): FreightSettlementDisburseBody, FreightSettlementSubmitApprovalBody, FreightSettlementUpdate, int, PlPlan, PlFreightSettlementApproval, PlFreightSettlementTransport, PlRemittanceVoucher (+39 more)

Community 36 - "Community 36"

Cohesion: 0.19 Nodes (20): int, str, Any, bool, int, Session, str, business_type_from_path() (+12 more)

Community 37 - "Community 37"

Cohesion: 0.19 Nodes (27): CrmContract, Query, CrmContractProductPriceTier, date, datetime, int, Query, _parse_letter_oss_ids_from_tier() (+19 more)

Community 38 - "Community 38"

Cohesion: 0.13 Nodes (15): Any, bool, int, str, get_wechat_pay_client(), get_wechat_pay_v2(), 微信支付工具模块 支持微信支付 V3 API 文档参考: https://pay.weixin.qq.com/docs/v3/apis/index.html, 统一下单接口 (V3) Args: out_trade_no: 商户订单号 total_amo (+7 more)

Community 39 - "Community 39"

Cohesion: 0.23 Nodes (27): register_quote_routes(), bool, int, Session, str, accept_quote(), _ensure_quote_in_scope(), generate_pdf() (+19 more)

Community 40 - "Community 40"

Cohesion: 0.13 Nodes (37): Any, bool, Decimal, int, Session, str, batch_insert_quote_products(), calculate_subtotal() (+29 more)

Community 41 - "Community 41"

Cohesion: 0.12 Nodes (41): Any, bool, date, int, Session, str, Session, str (+33 more)

Community 42 - "Community 42"

Cohesion: 0.08 Nodes (25): 技术栈, 1. 创建虚拟环境, 项目结构, 1. 创建虚拟环境, 2. 安装依赖, 2. 安装依赖, 3. 配置环境变量, 快速开始 (+17 more)

Community 43 - "Community 43"

Cohesion: 0.21 Nodes (16): Any, int, str, BusinessException, InvalidStatusTransitionException, log_api_request(), log_delivery_operation(), log_operation() (+8 more)

Community 44 - "Community 44"

Cohesion: 0.19 Nodes (41): DbInboundOutbound, DbUserContext, Session, str, CreateLinkForPlanPayload, _apply_inventory_product_update(), _apply_inventory_update(), _base_query() (+33 more)

Community 45 - "Community 45"

Cohesion: 0.36 Nodes (15): create_leave(), delete_leave(), get_leave(), _leave_local_callback(), leave_workflow_callback(), list_leaves(), submit_leave(), update_leave() (+7 more)

Community 46 - "Community 46"

Cohesion: 0.19 Nodes (18): str, Any, bool, Session, str, CRM 模块 Excel 导出列定义(字段与字典类型对齐 Java *Vo @ExcelDictFormat)。, _yes_no(), _build_workbook() (+10 more)

Community 47 - "Community 47"

Cohesion: 0.07 Nodes (27): _build_contract_filters(), export_contracts(), ORM → camelCase(单点真相), ORM → camelCase(单点真相), ORM → camelCase(单点真相), ORM → camelCase(单点真相), ORM → camelCase(单点真相), Java: queryList for export (+19 more)

Community 48 - "Community 48"

Cohesion: 0.10 Nodes (34): Session, str, TransportInventoryLinkRead, PlTransportSiteLink, Session, str, TransportSiteLinkRead, CreateFromContractRequest (+26 more)

Community 49 - "Community 49"

Cohesion: 0.31 Nodes (20): Any, bool, CrmOpportunity, datetime, int, Session, str, create_opportunity_follow() (+12 more)

Community 50 - "Community 50"

Cohesion: 0.08 Nodes (25): bool, _clear_settlement_approval_records(), 软删除结算单历史审批记录(重新提交审批前清理), 软删除结算单历史审批记录(重新提交审批前清理), 软删除结算单历史审批记录(重新提交审批前清理), 草稿结算单按当前运输单运费刷新明细快照与合计。, 草稿结算单按当前运输单运费刷新明细快照与合计。, 草稿/已驳回结算单按当前运输单运费刷新明细快照与合计。 (+17 more)

Community 51 - "Community 51"

Cohesion: 0.07 Nodes (102): date, DbUserContext, int, PlanCreateFull, PlPlan, Session, str, CreateFromContractRequest (+94 more)

Community 52 - "Community 52"

Cohesion: 0.12 Nodes (41): Decimal, str, Any, bool, CrmContractProductPriceTier, date, Decimal, int (+33 more)

Community 53 - "Community 53"

Cohesion: 0.24 Nodes (20): Any, bool, str, _actor_ids(), _actor_names(), assert_row_deletable_by_creator(), assert_rows_deletable_by_creator(), can_delete_by_creator() (+12 more)

Community 54 - "Community 54"

Cohesion: 0.22 Nodes (17): Any, bool, Session, str, list_share_logs(), _parse_user_agent(), CRM 报价单分享访问日志 CRUD — 对照 CrmQuoteShareLogServiceImpl.java, Java: statisticsVisits (+9 more)

Community 55 - "Community 55"

Cohesion: 0.04 Nodes (114): Any, bool, CRM 产品模块 CRUD(产品分类 + 产品 + 附件), int, Session, str, SysOss, int (+106 more)

Community 56 - "Community 56"

Cohesion: 0.26 Nodes (22): Any, bool, datetime, int, Session, str, BizSampleCode, batch_generate_sample_codes() (+14 more)

Community 57 - "Community 57"

Cohesion: 0.10 Nodes (21): product_delete(), 删除产品(支持单条 body.id 和批量 body.ids), 删除产品(支持单条 body.id 和批量 body.ids), 删除产品(支持单条 body.id 和批量 body.ids), 删除产品(支持单条 body.id 和批量 body.ids), 删除产品(支持单条 body.id 和批量 body.ids), 删除产品(支持单条 body.id 和批量 body.ids), 删除产品(支持单条 body.id 和批量 body.ids) (+13 more)

Community 58 - "Community 58"

Cohesion: 0.37 Nodes (17): check_env(), check_python(), create_venv(), init_env(), install_dependencies(), log_error(), log_info(), log_success() (+9 more)

Community 59 - "Community 59"

Cohesion: 0.25 Nodes (23): Any, bool, int, Session, str, create_role(), get_role(), get_role_data_scope() (+15 more)

Community 60 - "Community 60"

Cohesion: 0.07 Nodes (45): CRM 合同 API 路由 — GET/PUT/DELETE/POST 对齐原 Java CRM, CRM 合同 Pydantic Schemas — 对照 CrmContractBo / CrmContractVo, ContractApprovalActionBody, ContractApprovalApproveBody, ContractApprovalByContractBody, ContractApprovalExportBody, ContractApprovalListBody, ContractApprovalListQuery (+37 more)

Community 61 - "Community 61"

Cohesion: 0.16 Nodes (38): bool, date, DbInboundOutbound, DbPurchasePlan, float, PlPlan, PlPlanProduct, PlTransport (+30 more)

Community 62 - "Community 62"

Cohesion: 0.08 Nodes (76): bool, DbInboundOutbound, int, PublicInventoryFeedback, PublicInventoryPageRead, Session, str, UploadFile (+68 more)

Community 63 - "Community 63"

Cohesion: 0.24 Nodes (12): Session, str, iter_user_menu_perm_codes(), _map_role_name_to_web(), Web 管理端登录:基于 V0.3 sys_user / sys_user_role / sys_role 的角色与菜单权限解析, 将 sys_role.role_name 映射为 web-admin 使用的 role 字符串。, 根据用户关联角色解析 Web 端 role(admin / super_admin)。, 根据用户关联角色解析 Web 端 role(admin / super_admin)。 (+4 more)

Community 64 - "Community 64"

Cohesion: 0.11 Nodes (22): Any, _fill_contract_linked_count(), list_quotes(), quote_row_to_dict(), ORM → camelCase(单点真相), ORM → camelCase(单点真相), ORM → camelCase(单点真相), ORM → camelCase(单点真相) (+14 more)

Community 65 - "Community 65"

Cohesion: 0.39 Nodes (8): bool, BxUserContext, Session, str, 按业务类型获取工作流;已知类型不存在时自动创建空定义(无节点)。, 按业务类型获取工作流;已知类型不存在时自动创建空定义(无节点)。, WorkflowService, BxWorkflowDef

Community 66 - "Community 66"

Cohesion: 0.05 Nodes (116): DbUserContext, int, 运输计划管理 - 基础数据 API(承运商、车辆、人员), PlCarrier, PlVehicle, Session, str, VehicleRead (+108 more)

Community 67 - "Community 67"

Cohesion: 0.41 Nodes (13): BxUserContext, Session, str, UploadFile, bind_biz(), delete_attachment(), download_file(), list_by_biz() (+5 more)

Community 68 - "Community 68"

Cohesion: 0.09 Nodes (22): batch_assign_owner(), download_contract_pdf(), Java: batchAssignOwner, Java: downloadContractPdf — 返回合同文件 URL/路径, Java: batchAssignOwner, Java: batchAssignOwner, Java: batchAssignOwner, Java: batchAssignOwner (+14 more)

Community 69 - "Community 69"

Cohesion: 0.28 Nodes (25): DbUserContext, float, Session, str, Session, str, DashboardCargoStat, DashboardPartnerCargoStat (+17 more)

Community 70 - "Community 70"

Cohesion: 0.29 Nodes (14): is_valid_dict_type(), load_portal_baseline(), load_sx(), load_zkxw(), main(), map_tag_type(), normalize_row(), parse_insert() (+6 more)

Community 71 - "Community 71"

Cohesion: 0.25 Nodes (18): BxUserContext, Session, str, bool, BxUserContext, Session, str, create_expense_item() (+10 more)

Community 72 - "Community 72"

Cohesion: 0.34 Nodes (19): check_python(), create_venv(), ensure_dirs(), ensure_valid_venv(), ensure_venv_and_runtime(), install_dependencies(), is_running(), log_error() (+11 more)

Community 73 - "Community 73"

Cohesion: 0.25 Nodes (28): AttachmentDownloadUrlBody, DeptCreateBody, DeptUpdateBody, DictDataCreateBody, DictDataUpdateBody, DictTypeCreateBody, DictTypeUpdateBody, MenuCreateBody (+20 more)

Community 74 - "Community 74"

Cohesion: 0.03 Nodes (72): invoice_info_list(), 按客户ID查询开票信息(与 by-customer 等价), 按客户ID查询开票信息(与 by-customer 等价), 按客户ID查询开票信息(与 by-customer 等价), 按客户ID查询开票信息(与 by-customer 等价), 按客户ID查询开票信息(与 by-customer 等价), 供方全量列表(下拉)— Java: CrmSupplierInfoController.listAll, 供方全量列表(下拉)— Java: CrmSupplierInfoController.listAll (+64 more)

Community 75 - "Community 75"

Cohesion: 0.05 Nodes (129): bool, Decimal, int, PlanCreateFull, PlPlan, PlPlanProduct, PlTransport, PlVehicle (+121 more)

Community 76 - "Community 76"

Cohesion: 0.18 Nodes (10): Any, Request, str, str, parse_admin_request_json(), 运营 Web(/web/admin)JSON 请求体解析。 与 ApiCryptoMiddleware 配合:中间件未改写 body 时,在路由内解密 `{, 读取 JSON body;dict 时走 resolve_request_payload(明文 / 密文 / data 包装)。 Returns:, 统一解析接口请求载荷(明文 / 密文信封)。 (+2 more)

Community 77 - "Community 77"

Cohesion: 0.20 Nodes (30): DbUserContext, DbWeighingSlip, Session, str, Session, str, weighing_to_read(), apply_product_snapshot_to_inventory() (+22 more)

Community 78 - "Community 78"

Cohesion: 0.13 Nodes (20): bool, date, Session, str, get_last_month_range(), month_range(), 地磅计划按月自动生成 — 迁移自 simple-dibang-xiaoshou/auto-create-plan/auto_create_monthly_pla, 按月自动生成采购计划。 - 默认仅在每月 1 日执行(force=True 时跳过该限制,供手动触发验收) - 遍历所有租户,按上月计划模板生 (+12 more)

Community 79 - "Community 79"

Cohesion: 0.36 Nodes (10): add_scope_before_order(), ensure_import(), patch_base_data(), patch_get_helper(), patch_inventory(), patch_plan(), patch_transport(), str (+2 more)

Community 80 - "Community 80"

Cohesion: 0.10 Nodes (17): get_menu_list(), 运营端菜单接口(与 web-admin 前端静态路由 sqxp.ts 对齐,14 个一级菜单), Session, str, _auto_fill_create_dept_id(), get_db(), ORM before_insert 钩子:当 create_dept_id 为空时,自动从请求上下文填充当前用户部门 ID, ORM before_insert 钩子:当 create_dept_id 为空时,自动从请求上下文填充当前用户部门 ID (+9 more)

Community 81 - "Community 81"

Cohesion: 0.40 Nodes (4): CreateLinkForPlanPayload, InboundOutboundBase, InboundOutboundCreate, InboundOutboundUpdate

Community 82 - "Community 82"

Cohesion: 0.29 Nodes (9): AST, expr, field_has_alias(), iter_field_assignments(), main(), bool, int, str (+1 more)

Community 83 - "Community 83"

Cohesion: 0.18 Nodes (9): 报销(bx)API 路由聚合 — REST 风格,协议对齐 bx 原系统。, 报销(bx)Pydantic 模型 — 响应协议与 bx 原系统保持一致, bx_health(), 报销(bx)API 路由聚合 — REST 风格,协议对齐 bx 原系统。, P0 健康检查:验证 bx 路由已挂载且响应协议为 code=0。, P0 健康检查:验证 bx 路由已挂载且响应协议为 code=0。, P0 健康检查:验证 bx 路由已挂载且响应协议为 code=0。, P0 健康检查:验证 bx 路由已挂载且响应协议为 code=0。 (+1 more)

Community 84 - "Community 84"

Cohesion: 0.28 Nodes (11): operlog_detail(), operlog_list(), 操作日志分页列表(基于 API 请求日志适配 RuoYi OperLog 结构), 操作日志分页列表(基于 API 请求日志适配 RuoYi OperLog 结构), _user_info(), Session, OperLogDetailBody, OperLogListBody (+3 more)

Community 85 - "Community 85"

Cohesion: 0.11 Nodes (48): Session, str, datetime, int, str, str, 审批轮次过滤 — 驳回后重新提交时,进度接口仅展示当前轮次。, format_datetime() (+40 more)

Community 87 - "Community 87"

Cohesion: 0.08 Nodes (85): ProcessDefCreateBody, ProcessDefUpdateBody, PublishVersionBody, 审批意见:前端传 commentText,兼容 comment。, 审批意见:前端传 commentText,兼容 comment。, StartInstanceBody, TaskActionBody, Any (+77 more)

Community 88 - "Community 88"

Cohesion: 0.16 Nodes (12): float, int, str, 微信消息通知服务 支持微信小程序模板消息推送 使用方式: 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 (+4 more)

Community 89 - "Community 89"

Cohesion: 0.27 Nodes (11): Any, bool, str, decrypt_login_payload(), ensure_initialized(), extract_login_credentials(), get_public_pem(), 登录凭据 RSA 解密(与前端 JSEncrypt PKCS#1 v1.5 兼容)。 (+3 more)

Community 90 - "Community 90"

Cohesion: 0.22 Nodes (18): Any, bool, bytes, int, Request, str, _claims_from_auth(), _format_body_bytes() (+10 more)

Community 91 - "Community 91"

Cohesion: 0.32 Nodes (7): str, eq_unicode(), like_unicode(), MySQL 字符串比较/模糊匹配时统一排序规则,避免 Illegal mix of collations。, 跨表字符串等值比较(JOIN / WHERE)时统一为 utf8mb4_unicode_ci。, 将列显式设为 utf8mb4_unicode_ci。, unicode_ci()

Community 92 - "Community 92"

Cohesion: 0.10 Nodes (21): Java: createNewVersion — 返回新报价单 id, Java: CrmQuoteServiceImpl.withdrawApproval(校验创建人), Java: CrmQuoteServiceImpl.withdrawApproval(校验创建人), Java: CrmQuoteServiceImpl.withdrawApproval(校验创建人), Java: CrmQuoteServiceImpl.withdrawApproval(校验创建人), Java: CrmQuoteServiceImpl.withdrawApproval(校验创建人), Java: CrmQuoteServiceImpl.withdrawApproval(校验创建人), Java: statisticsOverview (+13 more)

Community 93 - "Community 93"

Cohesion: 0.23 Nodes (14): int, Session, str, _allocate_inbound_outbound_id(), _ensure_sequence_row(), max_numeric_inbound_outbound_id(), next_inbound_outbound_id(), 出入库单 id 生成 — 租户内纯数字自增,并发安全。 (+6 more)

Community 94 - "Community 94"

Cohesion: 0.18 Nodes (11): generate_contract_name(), Java: generateContractName, Java: generateContractName, Java: generateContractName, Java: generateContractName, Java: generateContractName, Java: generateContractName, Java: generateContractName (+3 more)

Community 95 - "Community 95"

Cohesion: 0.18 Nodes (11): 解析司机信息:优先 pl_personnel,兼容旧 pl_driver。, 解析司机信息:优先 pl_personnel,兼容旧 pl_driver。, 解析司机信息:优先 pl_personnel,兼容旧 pl_driver。, 解析司机信息:优先 pl_personnel,兼容旧 pl_driver。, 解析司机信息:优先 pl_personnel,兼容旧 pl_driver。, 解析司机信息:优先 pl_personnel,兼容旧 pl_driver。, 解析司机信息:优先 pl_personnel,兼容旧 pl_driver。, 解析司机信息:优先 pl_personnel,兼容旧 pl_driver。 (+3 more)

Community 96 - "Community 96"

Cohesion: 0.20 Nodes (10): create_from_quote(), _quote_products_to_contract_products(), Java: createFromQuote — 返回合同 id, Java: createFromQuote — 返回合同 id, Java: createFromQuote — 返回合同 id, Java: createFromQuote — 返回合同 id, Java: createFromQuote — 返回合同 id, Java: createFromQuote — 返回合同 id (+2 more)

Community 97 - "Community 97"

Cohesion: 0.20 Nodes (32): pool_rule_delete(), pool_rule_toggle(), pool_rule_update(), Any, bool, CRM 公海池规则 CRUD + 规则执行逻辑, int, Session (+24 more)

Community 98 - "Community 98"

Cohesion: 0.35 Nodes (17): Any, bool, int, Session, str, _build_tree(), _cascade_soft_delete(), create_menu() (+9 more)

Community 99 - "Community 99"

Cohesion: 0.16 Nodes (33): Any, bool, int, Session, str, Any, Session, str (+25 more)

Community 100 - "Community 100"

Cohesion: 0.07 Nodes (56): CRM 报价单 API 路由 — 挂接到 crm.router, str, CRM 报价单 Pydantic Schemas, ReimburseApplyCreate, CustomerPoolDetailBody, CustomerPoolListBody, QuoteAcceptBody, QuoteApprovalApproveBody (+48 more)

Community 101 - "Community 101"

Cohesion: 0.40 Nodes (3): BaseSettings, Config, Settings

Community 102 - "Community 102"

Cohesion: 0.60 Nodes (10): Any, Session, str, _apply_create_range(), _base_query(), get_clue_level_statistics(), get_clue_overview_statistics(), get_clue_owner_statistics() (+2 more)

Community 103 - "Community 103"

Cohesion: 0.07 Nodes (142): bool, VehicleCreate, VehicleUpdate, bool, DbUserContext, float, int, PlPlan (+134 more)

Community 104 - "Community 104"

Cohesion: 0.13 Nodes (42): 公共接口(Web 登录、刷新 Token、登出;用户模型对齐 docs/sql/shanxia2.0.sql 基线), refresh_token(), bool, Redis, Request, Session, str, _T (+34 more)

Community 105 - "Community 105"

Cohesion: 0.50 Nodes (3): Config, PageResult, ResponseModel

Community 106 - "Community 106"

Cohesion: 0.34 Nodes (16): Any, bool, int, Session, str, create_dict_type(), dict_type_code_exists(), get_dict_type() (+8 more)

Community 107 - "Community 107"

Cohesion: 0.40 Nodes (3): AdvanceApplyCreate, AdvanceApplyUpdate, _coerce_optional_id()

Community 108 - "Community 108"

Cohesion: 0.29 Nodes (16): Any, int, Session, str, BizLeaveRequest, create_leave(), get_leave(), list_leaves() (+8 more)

Community 109 - "Community 109"

Cohesion: 0.34 Nodes (16): Any, bool, int, Session, str, create_tenant(), get_tenant(), list_tenants() (+8 more)

Community 111 - "Community 111"

Cohesion: 0.20 Nodes (13): check_customer_protect_time(), _execute_single_rule(), _get_all_tenant_nos(), pool_recovery_job(), 公海池自动回收任务(由 APScheduler 调度) 遍历所有租户的启用规则,执行自动回收。, 每天凌晨1点:检查保护期到期客户,跟进次数不足则退回公海, 每天早上9点:保护期到期提醒(3天内到期且跟进不足), remind_customer_recycle() (+5 more)

Community 112 - "Community 112"

Cohesion: 0.35 Nodes (30): BxUserContext, int, Session, str, approve_reimburse(), approved_by_me(), _build_details_data(), create_reimburse() (+22 more)

Community 122 - "Community 122"

Cohesion: 0.12 Nodes (17): create_new_version(), Java: toContract — 返回 contractId, Java: createNewVersion — 返回新报价单 id, Java: toContract — 返回 contractId, Java: createNewVersion — 返回新报价单 id, Java: toContract — 返回 contractId, Java: createNewVersion — 返回新报价单 id, Java: createNewVersion — 返回新报价单 id (+9 more)

Community 123 - "Community 123"

Cohesion: 0.12 Nodes (17): PlFreightSettlement, 运费结算表 pl_freight_settlement, 计划-运输关联表 pl_plan_transport, 运输计划现场链接 pl_transport_site_link(与地磅出入库单解耦), 运输计划现场链接 pl_transport_site_link(与地磅出入库单解耦), 运费结算表 pl_freight_settlement, 计划-运输关联表 pl_plan_transport, 运费结算表 pl_freight_settlement (+9 more)

Community 124 - "Community 124"

Cohesion: 0.38 Nodes (15): Any, bool, int, Session, str, create_post(), get_post(), list_posts() (+7 more)

Community 125 - "Community 125"

Cohesion: 0.23 Nodes (10): Any, bool, int, Session, str, camel_to_snake(), CRUDBase, get_model_attr() (+2 more)

Community 126 - "Community 126"

Cohesion: 0.38 Nodes (15): Any, bool, int, Session, str, create_site(), get_site(), list_sites() (+7 more)

Community 127 - "Community 127"

Cohesion: 0.29 Nodes (10): datetime, int, Session, str, BizNoKind, allocate_next_biz_no(), _format_biz_no(), _prefix_for() (+2 more)

Community 128 - "Community 128"

Cohesion: 0.33 Nodes (14): Any, int, Session, str, create_dict_data(), get_dict_data(), list_dict_data(), list_dict_data_options() (+6 more)

Community 129 - "Community 129"

Cohesion: 0.15 Nodes (14): get_current_user_profile(), get_web_auth_menu_codes(), logout(), 登出:吊销 Redis 会话(若已配置 REDIS_HOST)。, 登出:吊销 Redis 会话(若已配置 REDIS_HOST)。, 登出:吊销 Redis 会话(若已配置 REDIS_HOST)。, 获取当前用户信息(与 sys_user 字段对应)。, 获取当前用户信息(与 sys_user 字段对应)。 (+6 more)

Community 130 - "Community 130"

Cohesion: 0.15 Nodes (14): datetime, _parse_optional_datetime(), _period_key(), Java: statisticsTrend, Java: statisticsTrend, Java: statisticsTrend, Java: statisticsTrend, Java: statisticsTrend (+6 more)

Community 131 - "Community 131"

Cohesion: 0.08 Nodes (43): Session, str, Any, int, Session, str, _append_user_scope_conditions(), apply_data_scope() (+35 more)

Community 132 - "Community 132"

Cohesion: 0.28 Nodes (8): date, datetime, str, _date_to_str(), _dt_to_str(), PagedQuery, PagedResponse, bx 原系统 API 响应包装(code=0 / msg / data.rows),与门户 success_response 分离。

Community 133 - "Community 133"

Cohesion: 0.44 Nodes (8): bool, int, Session, str, ApiRequestLogCRUD, SysApiRequestLog, SysApiRequestLogHis, SysApiRequestLog

Community 134 - "Community 134"

Cohesion: 0.17 Nodes (12): 审批记录已全部完成但结算单仍停留在 approving 时自动纠正(兼容历史脏数据), 审批记录已全部完成但结算单仍停留在 approving 时自动纠正(兼容历史脏数据), 审批记录已全部完成但结算单仍停留在 approving 时自动纠正(兼容历史脏数据), 审批记录已全部完成但结算单仍停留在 approving 时自动纠正(兼容历史脏数据), 审批记录已全部完成但结算单仍停留在 approving 时自动纠正(兼容历史脏数据), 审批记录已全部完成但结算单仍停留在 approving 时自动纠正(兼容历史脏数据), 审批记录已全部完成但结算单仍停留在 approving 时自动纠正(兼容历史脏数据), 审批记录已全部完成但结算单仍停留在 approving 时自动纠正(兼容历史脏数据) (+4 more)

Community 135 - "Community 135"

Cohesion: 0.25 Nodes (7): 1. 上传到服务器, 2. 服务器首次启动, 3. 日常运维, 4. 配置文件, 5. 与 Nginx 配合, 6. 常见问题, shanxia2.0 Backend 生产部署说明

Community 136 - "Community 136"

Cohesion: 0.18 Nodes (11): Java: statisticsStatus, Java: statisticsStatus, Java: statisticsStatus, Java: statisticsStatus, Java: statisticsStatus, Java: statisticsStatus, Java: statisticsStatus, Java: statisticsStatus (+3 more)

Community 137 - "Community 137"

Cohesion: 0.24 Nodes (10): datetime, Decimal, PlTransport, 运输单运费变更后,同步关联草稿结算单的明细快照与合计。, 运输单运费变更后,同步关联草稿结算单的明细快照与合计。, 运输单运费变更后,同步关联草稿结算单的明细快照与合计。, 运输单运费变更后,同步关联草稿结算单的明细快照与合计。, _recalc_settlement_total_freight_from_links() (+2 more)

Community 138 - "Community 138"

Cohesion: 0.39 Nodes (6): _inject_user_info_after_tenant(), patch_contract_routes(), patch_quote_routes(), patch_route_file(), Path, str

Community 139 - "Community 139"

Cohesion: 0.20 Nodes (10): 批量纠正已有汇款凭证但仍为 approved 的结算单, 批量纠正已有汇款凭证但仍为 approved 的结算单, 批量纠正已有汇款凭证但仍为 approved 的结算单, 批量纠正已有汇款凭证但仍为 approved 的结算单, 批量纠正已有汇款凭证但仍为 approved 的结算单, 批量纠正已有汇款凭证但仍为 approved 的结算单, 批量纠正已有汇款凭证但仍为 approved 的结算单, 批量纠正已有汇款凭证但仍为 approved 的结算单 (+2 more)

Community 140 - "Community 140"

Cohesion: 0.83 Nodes (3): _add_user_info_kwarg(), patch_file(), str

Community 141 - "Community 141"

Cohesion: 0.25 Nodes (7): Any, Session, str, get_db_current_user_optional(), 与门户 JWT / apply_data_scope 所需的 user_info 字段对齐。, 有 Bearer 且为 admin/super_admin 时返回上下文,否则 None(供三方 H5 无登录调用)。, 有 Bearer 且为 admin/super_admin 时返回上下文,否则 None(供三方 H5 无登录调用)。

Community 143 - "Community 143"

Cohesion: 0.32 Nodes (22): Any, CrmOpportunity, Decimal, int, Session, str, batch_add_opportunity_products(), _calc_subtotal() (+14 more)

Community 144 - "Community 144"

Cohesion: 0.17 Nodes (20): Any, int, str, get_oper_log_meta(), OperLogMeta, 请求级操作日志元数据(ContextVar), 供异步落库线程使用,避免 ContextVar 跨线程丢失。, set_oper_log_meta() (+12 more)

Community 145 - "Community 145"

Cohesion: 0.33 Nodes (3): 地磅 API 路由聚合 — REST 风格,协议对齐原 simple-dibang-xiaoshou。, 地磅(db)Pydantic schemas — 对齐原 simple-dibang-xiaoshou 契约。, 地磅 API 路由聚合 — REST 风格,协议对齐原 simple-dibang-xiaoshou。

Community 146 - "Community 146"

Cohesion: 0.22 Nodes (9): batch_submit_contract_approval(), Java: batchSubmitApproval, Java: batchSubmitApproval, Java: batchSubmitApproval, Java: batchSubmitApproval, Java: batchSubmitApproval, Java: batchSubmitApproval, Java: batchSubmitApproval (+1 more)

Community 147 - "Community 147"

Cohesion: 0.22 Nodes (9): create_from_opportunity(), _opportunity_products_to_contract_products(), Java: createFromOpportunity — 返回合同 id, Java: createFromOpportunity — 返回合同 id, Java: createFromOpportunity — 返回合同 id, Java: createFromOpportunity — 返回合同 id, Java: createFromOpportunity — 返回合同 id, Java: createFromOpportunity — 返回合同 id (+1 more)

Community 148 - "Community 148"

Cohesion: 0.41 Nodes (11): Any, str, build_quote_html(), _default_value(), _format_date(), _format_discount(), _format_money(), generate_quote_pdf() (+3 more)

Community 149 - "Community 149"

Cohesion: 0.22 Nodes (9): Java: renewContract — 基础续签, Java: renewContract — 基础续签, Java: renewContract — 基础续签, Java: renewContract — 基础续签, Java: renewContract — 基础续签, Java: renewContract — 基础续签, Java: renewContract — 基础续签, Java: renewContract — 基础续签 (+1 more)

Community 150 - "Community 150"

Cohesion: 0.18 Nodes (11): generate_contract_no(), Java: generateContractNo — {供方编码}/X-JT + yyyyMMdd + 3位流水, Java: generateContractNo — {供方编码}/X-JT + yyyyMMdd + 3位流水, Java: generateContractNo — {供方编码}/X-JT{yyyyMMdd}{3位序号}, Java: generateContractNo — {供方编码}/X-JT{yyyyMMdd}{3位序号}, Java: generateContractNo — {供方编码}/X-JT{yyyyMMdd}{3位序号}, Java: generateContractNo — {供方编码}/X-JT{yyyyMMdd}{3位序号}, Java: generateContractNo — {供方编码}/X-JT{yyyyMMdd}{3位序号} (+3 more)

Community 151 - "Community 151"

Cohesion: 0.50 Nodes (4): datetime, object, parse_optional_plan_datetime(), 运输计划相关日期时间解析:前端 date-picker 仅传 YYYY-MM-DD。

Community 152 - "Community 152"

Cohesion: 0.36 Nodes (7): bool, Redis, get_sync_redis_client(), 共享 Redis 客户端(同步:会话鉴权;异步:API 加密 nonce)。, 同步 Redis(auth 会话等,在线程池中调用)。, _redis_common_kwargs(), redis_enabled()

Community 153 - "Community 153"

Cohesion: 0.15 Nodes (16): _avatar_url_field(), _build_user_info_payload(), _jwt_user_payload(), 与 web-admin userInfo 字段约定一致。, 与 web-admin userInfo 字段约定一致。, Web 端登录:账号为 sys_user.user_no,密码为 sys_user.password(bcrypt)。, Web 端登录:账号为 sys_user.user_no,密码为 sys_user.password(bcrypt)。, Web 端登录:账号为 sys_user.user_no,密码为 sys_user.password(bcrypt)。 (+8 more)

Community 154 - "Community 154"

Cohesion: 0.25 Nodes (8): generate_template_no(), Java: generateTemplateNo — TMPL{yyyyMMdd}{4位序号}, Java: generateTemplateNo — TMPL{yyyyMMdd}{4位序号}, Java: generateTemplateNo — TMPL{yyyyMMdd}{4位序号}, Java: generateTemplateNo — TMPL{yyyyMMdd}{4位序号}, Java: generateTemplateNo — TMPL{yyyyMMdd}{4位序号}, Java: generateTemplateNo — TMPL{yyyyMMdd}{4位序号}, Java: generateTemplateNo — TMPL{yyyyMMdd}{4位序号}

Community 155 - "Community 155"

Cohesion: 0.33 Nodes (6): attachment_download_url(), 返回带 Content-Disposition 的下载 URL,保证浏览器使用原始文件名。, 返回带 Content-Disposition 的下载 URL,保证浏览器使用原始文件名。, 返回带 Content-Disposition 的下载 URL,保证浏览器使用原始文件名。, 返回带 Content-Disposition 的下载 URL,保证浏览器使用原始文件名。, 返回带 Content-Disposition 的下载 URL,保证浏览器使用原始文件名。

Community 156 - "Community 156"

Cohesion: 0.33 Nodes (5): CRM 客户管理 Pydantic Schemas, CustomerAssignPoolBody, CustomerCheckDuplicateBody, CustomerDetailBody, CRM 客户 CRUD(客户主表 + 转移/成交/公海池操作)

Community 157 - "Community 157"

Cohesion: 0.40 Nodes (5): list_roles_for_designer(), 返回角色下拉选项(label=角色名,value=角色ID UUID),供流程设计器审批人选择使用。 与 /roles 不同,此端点返回角色 UUID, 返回角色下拉选项(label=角色名,value=角色ID UUID),供流程设计器审批人选择使用。 与 /roles 不同,此端点返回角色 UUID, 返回角色下拉选项(label=角色名,value=角色ID UUID),供流程设计器审批人选择使用。 与 /roles 不同,此端点返回角色 UUID, 返回角色下拉选项(label=角色名,value=角色ID UUID),供流程设计器审批人选择使用。 与 /roles 不同,此端点返回角色 UUID

Community 158 - "Community 158"

Cohesion: 0.38 Nodes (4): str, _coerce_id(), ExpenseItemCreate, ExpenseItemUpdate

Community 159 - "Community 159"

Cohesion: 0.50 Nodes (4): list_roles_for_select(), 返回运营端角色下拉选项(label=库中角色名,value=Web 角色码)。, 返回运营端角色下拉选项(label=库中角色名,value=Web 角色码)。, 返回运营端角色下拉选项(label=库中角色名,value=Web 角色码)。

Community 160 - "Community 160"

Cohesion: 0.33 Nodes (3): _coerce_id(), OffsetItem, ReimburseDetailCreate

Community 161 - "Community 161"

Cohesion: 0.50 Nodes (4): Web 端登录用 RSA 公钥(PKCS#1 v1.5,与 JSEncrypt 一致), Web 端登录用 RSA 公钥(PKCS#1 v1.5,与 JSEncrypt 一致), Web 端登录用 RSA 公钥(PKCS#1 v1.5,与 JSEncrypt 一致), web_login_rsa_public_key()

Community 162 - "Community 162"

Cohesion: 0.50 Nodes (3): PurchasePlanBase, PurchasePlanCreate, PurchasePlanUpdate

Community 163 - "Community 163"

Cohesion: 0.67 Nodes (3): public_quote_share(), 公开分享查看报价单 — Java: GET /share/{shareCode}(无 JWT), 公开分享查看报价单 — Java: GET /share/{shareCode}(无 JWT)

Knowledge Gaps

  • 70 isolated node(s): Session, Request, bool, bool, Config (+65 more) These have ≤1 connection - possible missing edges or undocumented components.
  • 2 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 Session connect Community 3 to Community 0, Community 1, Community 2, Community 4, Community 6, Community 8, Community 9, Community 10, Community 11, Community 14, Community 15, Community 16, Community 17, Community 18, Community 19, Community 20, Community 23, Community 25, Community 27, Community 28, Community 30, Community 31, Community 32, Community 33, Community 35, Community 36, Community 37, Community 39, Community 40, Community 41, Community 44, Community 45, Community 46, Community 47, Community 49, Community 51, Community 52, Community 54, Community 55, Community 56, Community 57, Community 59, Community 61, Community 63, Community 64, Community 65, Community 67, Community 68, Community 69, Community 71, Community 73, Community 74, Community 75, Community 77, Community 78, Community 80, Community 84, Community 85, Community 87, Community 92, Community 93, Community 96, Community 97, Community 98, Community 99, Community 102, Community 103, Community 104, Community 106, Community 108, Community 109, Community 112, Community 122, Community 123, Community 124, Community 125, Community 126, Community 127, Community 128, Community 129, Community 130, Community 131, Community 133, Community 136, Community 141, Community 143, Community 146, Community 147, Community 149, Community 150, Community 153, Community 154, Community 155, Community 157, Community 159, Community 163? High betweenness centrality (0.233) - this node is a cross-community bridge.
  • Why does BaseModel connect Community 100 to Community 0, Community 1, Community 2, Community 132, Community 7, Community 8, Community 11, Community 12, Community 20, Community 21, Community 23, Community 24, Community 156, Community 29, Community 158, Community 30, Community 160, Community 32, Community 162, Community 44, Community 45, Community 48, Community 51, Community 60, Community 62, Community 66, Community 69, Community 71, Community 73, Community 75, Community 77, Community 81, Community 84, Community 86, Community 87, Community 103, Community 105, Community 107, Community 112? High betweenness centrality (0.073) - this node is a cross-community bridge.
  • Why does SysUser connect Community 87 to Community 129, Community 130, Community 3, Community 131, Community 2, Community 6, Community 5, Community 8, Community 137, Community 10, Community 11, Community 12, Community 13, Community 14, Community 16, Community 17, Community 19, Community 20, Community 22, Community 24, Community 153, Community 27, Community 31, Community 32, Community 33, Community 35, Community 36, Community 37, Community 39, Community 50, Community 52, Community 56, Community 64, Community 69, Community 73, Community 85, Community 103, Community 104? High betweenness centrality (0.047) - this node is a cross-community bridge.
  • Are the 251 inferred relationships involving str (e.g. with AdvanceApplyCreate and AdvanceApplyOut) actually correct? str has 251 INFERRED edges - model-reasoned connections that need verification.
  • Are the 248 inferred relationships involving Session (e.g. with AdvanceApplyCreate and AdvanceApplyOut) actually correct? Session has 248 INFERRED edges - model-reasoned connections that need verification.
  • Are the 140 inferred relationships involving int (e.g. with AdvanceApplyCreate and AdvanceApplyOut) actually correct? int has 140 INFERRED edges - model-reasoned connections that need verification.
  • Are the 28 inferred relationships involving get_tenant_no() (e.g. with category_tree() and contact_create()) actually correct? get_tenant_no() has 28 INFERRED edges - model-reasoned connections that need verification.