898 lines
54 KiB
Markdown
898 lines
54 KiB
Markdown
# Graph Report - backend (2026-07-15)
|
||
|
||
## Corpus Check
|
||
- 292 files · ~204,930 words
|
||
- Verdict: corpus is large enough that graph structure adds value.
|
||
|
||
## Summary
|
||
- 6049 nodes · 41883 edges · 179 communities (177 shown, 2 thin omitted)
|
||
- Extraction: 52% EXTRACTED · 48% INFERRED · 0% AMBIGUOUS · INFERRED: 20053 edges (avg confidence: 0.5)
|
||
- Token cost: 0 input · 0 output
|
||
|
||
## Graph Freshness
|
||
- Built from commit: `5c6ace1d`
|
||
- 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)
|
||
- [[_COMMUNITY_Community 0|Community 0]]
|
||
- [[_COMMUNITY_Community 1|Community 1]]
|
||
- [[_COMMUNITY_Community 2|Community 2]]
|
||
- [[_COMMUNITY_Community 3|Community 3]]
|
||
- [[_COMMUNITY_Community 4|Community 4]]
|
||
- [[_COMMUNITY_Community 5|Community 5]]
|
||
- [[_COMMUNITY_Community 6|Community 6]]
|
||
- [[_COMMUNITY_Community 7|Community 7]]
|
||
- [[_COMMUNITY_Community 8|Community 8]]
|
||
- [[_COMMUNITY_Community 9|Community 9]]
|
||
- [[_COMMUNITY_Community 10|Community 10]]
|
||
- [[_COMMUNITY_Community 11|Community 11]]
|
||
- [[_COMMUNITY_Community 12|Community 12]]
|
||
- [[_COMMUNITY_Community 13|Community 13]]
|
||
- [[_COMMUNITY_Community 14|Community 14]]
|
||
- [[_COMMUNITY_Community 15|Community 15]]
|
||
- [[_COMMUNITY_Community 16|Community 16]]
|
||
- [[_COMMUNITY_Community 17|Community 17]]
|
||
- [[_COMMUNITY_Community 18|Community 18]]
|
||
- [[_COMMUNITY_Community 19|Community 19]]
|
||
- [[_COMMUNITY_Community 20|Community 20]]
|
||
- [[_COMMUNITY_Community 21|Community 21]]
|
||
- [[_COMMUNITY_Community 22|Community 22]]
|
||
- [[_COMMUNITY_Community 23|Community 23]]
|
||
- [[_COMMUNITY_Community 24|Community 24]]
|
||
- [[_COMMUNITY_Community 25|Community 25]]
|
||
- [[_COMMUNITY_Community 26|Community 26]]
|
||
- [[_COMMUNITY_Community 27|Community 27]]
|
||
- [[_COMMUNITY_Community 28|Community 28]]
|
||
- [[_COMMUNITY_Community 29|Community 29]]
|
||
- [[_COMMUNITY_Community 30|Community 30]]
|
||
- [[_COMMUNITY_Community 31|Community 31]]
|
||
- [[_COMMUNITY_Community 32|Community 32]]
|
||
- [[_COMMUNITY_Community 33|Community 33]]
|
||
- [[_COMMUNITY_Community 34|Community 34]]
|
||
- [[_COMMUNITY_Community 35|Community 35]]
|
||
- [[_COMMUNITY_Community 36|Community 36]]
|
||
- [[_COMMUNITY_Community 37|Community 37]]
|
||
- [[_COMMUNITY_Community 38|Community 38]]
|
||
- [[_COMMUNITY_Community 39|Community 39]]
|
||
- [[_COMMUNITY_Community 40|Community 40]]
|
||
- [[_COMMUNITY_Community 41|Community 41]]
|
||
- [[_COMMUNITY_Community 42|Community 42]]
|
||
- [[_COMMUNITY_Community 43|Community 43]]
|
||
- [[_COMMUNITY_Community 44|Community 44]]
|
||
- [[_COMMUNITY_Community 45|Community 45]]
|
||
- [[_COMMUNITY_Community 46|Community 46]]
|
||
- [[_COMMUNITY_Community 47|Community 47]]
|
||
- [[_COMMUNITY_Community 48|Community 48]]
|
||
- [[_COMMUNITY_Community 49|Community 49]]
|
||
- [[_COMMUNITY_Community 50|Community 50]]
|
||
- [[_COMMUNITY_Community 51|Community 51]]
|
||
- [[_COMMUNITY_Community 52|Community 52]]
|
||
- [[_COMMUNITY_Community 53|Community 53]]
|
||
- [[_COMMUNITY_Community 54|Community 54]]
|
||
- [[_COMMUNITY_Community 55|Community 55]]
|
||
- [[_COMMUNITY_Community 56|Community 56]]
|
||
- [[_COMMUNITY_Community 57|Community 57]]
|
||
- [[_COMMUNITY_Community 58|Community 58]]
|
||
- [[_COMMUNITY_Community 59|Community 59]]
|
||
- [[_COMMUNITY_Community 60|Community 60]]
|
||
- [[_COMMUNITY_Community 61|Community 61]]
|
||
- [[_COMMUNITY_Community 62|Community 62]]
|
||
- [[_COMMUNITY_Community 63|Community 63]]
|
||
- [[_COMMUNITY_Community 64|Community 64]]
|
||
- [[_COMMUNITY_Community 65|Community 65]]
|
||
- [[_COMMUNITY_Community 66|Community 66]]
|
||
- [[_COMMUNITY_Community 67|Community 67]]
|
||
- [[_COMMUNITY_Community 68|Community 68]]
|
||
- [[_COMMUNITY_Community 69|Community 69]]
|
||
- [[_COMMUNITY_Community 70|Community 70]]
|
||
- [[_COMMUNITY_Community 71|Community 71]]
|
||
- [[_COMMUNITY_Community 72|Community 72]]
|
||
- [[_COMMUNITY_Community 73|Community 73]]
|
||
- [[_COMMUNITY_Community 74|Community 74]]
|
||
- [[_COMMUNITY_Community 75|Community 75]]
|
||
- [[_COMMUNITY_Community 76|Community 76]]
|
||
- [[_COMMUNITY_Community 77|Community 77]]
|
||
- [[_COMMUNITY_Community 78|Community 78]]
|
||
- [[_COMMUNITY_Community 79|Community 79]]
|
||
- [[_COMMUNITY_Community 80|Community 80]]
|
||
- [[_COMMUNITY_Community 81|Community 81]]
|
||
- [[_COMMUNITY_Community 82|Community 82]]
|
||
- [[_COMMUNITY_Community 83|Community 83]]
|
||
- [[_COMMUNITY_Community 84|Community 84]]
|
||
- [[_COMMUNITY_Community 85|Community 85]]
|
||
- [[_COMMUNITY_Community 86|Community 86]]
|
||
- [[_COMMUNITY_Community 87|Community 87]]
|
||
- [[_COMMUNITY_Community 88|Community 88]]
|
||
- [[_COMMUNITY_Community 89|Community 89]]
|
||
- [[_COMMUNITY_Community 90|Community 90]]
|
||
- [[_COMMUNITY_Community 91|Community 91]]
|
||
- [[_COMMUNITY_Community 92|Community 92]]
|
||
- [[_COMMUNITY_Community 93|Community 93]]
|
||
- [[_COMMUNITY_Community 94|Community 94]]
|
||
- [[_COMMUNITY_Community 95|Community 95]]
|
||
- [[_COMMUNITY_Community 96|Community 96]]
|
||
- [[_COMMUNITY_Community 97|Community 97]]
|
||
- [[_COMMUNITY_Community 98|Community 98]]
|
||
- [[_COMMUNITY_Community 99|Community 99]]
|
||
- [[_COMMUNITY_Community 100|Community 100]]
|
||
- [[_COMMUNITY_Community 101|Community 101]]
|
||
- [[_COMMUNITY_Community 102|Community 102]]
|
||
- [[_COMMUNITY_Community 103|Community 103]]
|
||
- [[_COMMUNITY_Community 104|Community 104]]
|
||
- [[_COMMUNITY_Community 105|Community 105]]
|
||
- [[_COMMUNITY_Community 106|Community 106]]
|
||
- [[_COMMUNITY_Community 107|Community 107]]
|
||
- [[_COMMUNITY_Community 108|Community 108]]
|
||
- [[_COMMUNITY_Community 109|Community 109]]
|
||
- [[_COMMUNITY_Community 110|Community 110]]
|
||
- [[_COMMUNITY_Community 111|Community 111]]
|
||
- [[_COMMUNITY_Community 112|Community 112]]
|
||
- [[_COMMUNITY_Community 113|Community 113]]
|
||
- [[_COMMUNITY_Community 114|Community 114]]
|
||
- [[_COMMUNITY_Community 115|Community 115]]
|
||
- [[_COMMUNITY_Community 116|Community 116]]
|
||
- [[_COMMUNITY_Community 117|Community 117]]
|
||
- [[_COMMUNITY_Community 118|Community 118]]
|
||
- [[_COMMUNITY_Community 119|Community 119]]
|
||
- [[_COMMUNITY_Community 120|Community 120]]
|
||
- [[_COMMUNITY_Community 121|Community 121]]
|
||
- [[_COMMUNITY_Community 122|Community 122]]
|
||
- [[_COMMUNITY_Community 123|Community 123]]
|
||
- [[_COMMUNITY_Community 124|Community 124]]
|
||
- [[_COMMUNITY_Community 125|Community 125]]
|
||
- [[_COMMUNITY_Community 126|Community 126]]
|
||
- [[_COMMUNITY_Community 127|Community 127]]
|
||
- [[_COMMUNITY_Community 129|Community 129]]
|
||
- [[_COMMUNITY_Community 130|Community 130]]
|
||
- [[_COMMUNITY_Community 140|Community 140]]
|
||
- [[_COMMUNITY_Community 141|Community 141]]
|
||
- [[_COMMUNITY_Community 142|Community 142]]
|
||
- [[_COMMUNITY_Community 143|Community 143]]
|
||
- [[_COMMUNITY_Community 144|Community 144]]
|
||
- [[_COMMUNITY_Community 145|Community 145]]
|
||
- [[_COMMUNITY_Community 146|Community 146]]
|
||
- [[_COMMUNITY_Community 147|Community 147]]
|
||
- [[_COMMUNITY_Community 148|Community 148]]
|
||
- [[_COMMUNITY_Community 149|Community 149]]
|
||
- [[_COMMUNITY_Community 150|Community 150]]
|
||
- [[_COMMUNITY_Community 151|Community 151]]
|
||
- [[_COMMUNITY_Community 152|Community 152]]
|
||
- [[_COMMUNITY_Community 153|Community 153]]
|
||
- [[_COMMUNITY_Community 154|Community 154]]
|
||
- [[_COMMUNITY_Community 155|Community 155]]
|
||
- [[_COMMUNITY_Community 156|Community 156]]
|
||
- [[_COMMUNITY_Community 157|Community 157]]
|
||
- [[_COMMUNITY_Community 158|Community 158]]
|
||
- [[_COMMUNITY_Community 159|Community 159]]
|
||
- [[_COMMUNITY_Community 160|Community 160]]
|
||
- [[_COMMUNITY_Community 161|Community 161]]
|
||
- [[_COMMUNITY_Community 162|Community 162]]
|
||
- [[_COMMUNITY_Community 163|Community 163]]
|
||
- [[_COMMUNITY_Community 164|Community 164]]
|
||
- [[_COMMUNITY_Community 165|Community 165]]
|
||
- [[_COMMUNITY_Community 166|Community 166]]
|
||
- [[_COMMUNITY_Community 167|Community 167]]
|
||
- [[_COMMUNITY_Community 168|Community 168]]
|
||
- [[_COMMUNITY_Community 169|Community 169]]
|
||
- [[_COMMUNITY_Community 170|Community 170]]
|
||
- [[_COMMUNITY_Community 171|Community 171]]
|
||
- [[_COMMUNITY_Community 172|Community 172]]
|
||
- [[_COMMUNITY_Community 173|Community 173]]
|
||
- [[_COMMUNITY_Community 174|Community 174]]
|
||
- [[_COMMUNITY_Community 175|Community 175]]
|
||
- [[_COMMUNITY_Community 176|Community 176]]
|
||
- [[_COMMUNITY_Community 177|Community 177]]
|
||
|
||
## God Nodes (most connected - your core abstractions)
|
||
1. `Session` - 1551 edges
|
||
2. `int` - 475 edges
|
||
3. `BaseModel` - 440 edges
|
||
4. `bool` - 379 edges
|
||
5. `Any` - 364 edges
|
||
6. `get_tenant_no()` - 352 edges
|
||
7. `DbUserContext` - 326 edges
|
||
8. `DbUserContext` - 322 edges
|
||
9. `SysUser` - 306 edges
|
||
10. `Session` - 267 edges
|
||
|
||
## Surprising Connections (you probably didn't know these)
|
||
- `Namespace` --uses--> `Settings` [INFERRED]
|
||
scripts/migrate_users.py → app/core/config.py
|
||
- `BackfillRule` --uses--> `Settings` [INFERRED]
|
||
scripts/migrate_crm_sys_oss.py → app/core/config.py
|
||
- `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
|
||
|
||
## Communities (179 total, 2 thin omitted)
|
||
|
||
### Community 0 - "Community 0"
|
||
Cohesion: 0.35
|
||
Nodes (230): Any, bool, str, UploadFile, CRM 线索管理 Pydantic Schemas, CRM 客户管理 Pydantic Schemas, CRM 商机管理 Pydantic Schemas, CRM 客户公海池规则 Pydantic Schemas (+222 more)
|
||
|
||
### Community 1 - "Community 1"
|
||
Cohesion: 0.11
|
||
Nodes (37): PlTransportSiteLink, Session, str, TransportSiteLinkRead, _build_driver_url(), CreateFromContractRequest, _get_plan_type_label(), HazardCertReadyBody (+29 more)
|
||
|
||
### Community 2 - "Community 2"
|
||
Cohesion: 0.07
|
||
Nodes (175): _apply_default_invoice_info_to_customers(), category_add(), category_delete(), category_tree(), category_update(), clue_assign(), clue_check_convert(), clue_check_duplicate() (+167 more)
|
||
|
||
### Community 3 - "Community 3"
|
||
Cohesion: 0.06
|
||
Nodes (31): 供方详情 — Java: CrmSupplierInfoController.getInfo, 供方详情 — Java: CrmSupplierInfoController.getInfo, 供方详情 — Java: CrmSupplierInfoController.getInfo, 供方详情 — Java: CrmSupplierInfoController.getInfo, 供方详情 — Java: CrmSupplierInfoController.getInfo, 供方详情 — Java: CrmSupplierInfoController.getInfo, 供方详情 — Java: CrmSupplierInfoController.getInfo, 供方详情 — Java: CrmSupplierInfoController.getInfo (+23 more)
|
||
|
||
### Community 4 - "Community 4"
|
||
Cohesion: 0.21
|
||
Nodes (31): apply_biz_backfill(), BackfillRule, BizRef, build_biz_index(), count_target_rows(), derive_source_url(), fetch_portal_admin_id(), fetch_source_rows() (+23 more)
|
||
|
||
### Community 5 - "Community 5"
|
||
Cohesion: 0.19
|
||
Nodes (21): DbUserContext, Session, str, Session, str, int, Session, str (+13 more)
|
||
|
||
### Community 6 - "Community 6"
|
||
Cohesion: 0.03
|
||
Nodes (146): Decimal, PlPlanProduct, Session, str, Decimal, PlPlanChange, 计划变更记录表 pl_plan_change, 计划产品明细表 pl_plan_product (+138 more)
|
||
|
||
### Community 7 - "Community 7"
|
||
Cohesion: 0.21
|
||
Nodes (39): 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() (+31 more)
|
||
|
||
### Community 8 - "Community 8"
|
||
Cohesion: 0.05
|
||
Nodes (118): DbUserContext, FreightSettlementDisburseBody, FreightSettlementSubmitApprovalBody, FreightSettlementUpdate, int, Session, str, bool (+110 more)
|
||
|
||
### Community 9 - "Community 9"
|
||
Cohesion: 0.19
|
||
Nodes (39): ProcessDefCreateBody, ProcessDefUpdateBody, PublishVersionBody, StartInstanceBody, Any, bool, WfProcessInstance, bool (+31 more)
|
||
|
||
### Community 10 - "Community 10"
|
||
Cohesion: 0.10
|
||
Nodes (113): date, DbUserContext, int, Session, str, VehicleRechargeApplyCreate, VehicleRechargeApplyRead, VehicleRechargeApplyUpdate (+105 more)
|
||
|
||
### Community 11 - "Community 11"
|
||
Cohesion: 0.08
|
||
Nodes (136): bool, PlCarrier, VehicleCreate, VehicleUpdate, bool, DbUserContext, float, int (+128 more)
|
||
|
||
### Community 12 - "Community 12"
|
||
Cohesion: 0.22
|
||
Nodes (32): _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() (+24 more)
|
||
|
||
### Community 13 - "Community 13"
|
||
Cohesion: 0.10
|
||
Nodes (111): date, DbUserContext, int, Session, str, VehicleMaintenanceApplyCreate, VehicleMaintenanceApplyRead, VehicleMaintenanceApplyReminder (+103 more)
|
||
|
||
### Community 14 - "Community 14"
|
||
Cohesion: 0.06
|
||
Nodes (88): Any, Decimal, Session, str, _advance_after_approval(), _approval_to_dict(), can_user_approve_settlement(), cancel_draft_settlement() (+80 more)
|
||
|
||
### Community 15 - "Community 15"
|
||
Cohesion: 0.09
|
||
Nodes (77): Any, bool, int, Session, str, Any, int, Session (+69 more)
|
||
|
||
### Community 16 - "Community 16"
|
||
Cohesion: 0.43
|
||
Nodes (13): Any, Session, str, _customer_base_query(), get_follow_statistics(), get_industry_statistics(), get_level_statistics(), get_overview_statistics() (+5 more)
|
||
|
||
### Community 17 - "Community 17"
|
||
Cohesion: 0.12
|
||
Nodes (31): CRM 报价单 API 路由 — 挂接到 crm.router, CRM 报价单 Pydantic Schemas, QuoteAcceptBody, QuoteApprovalApproveBody, QuoteApprovalListBody, QuoteApprovalRefreshNamesBody, QuoteApprovalWithdrawBody, QuoteCreateBody (+23 more)
|
||
|
||
### Community 18 - "Community 18"
|
||
Cohesion: 0.07
|
||
Nodes (101): attachment_download_url(), attachment_preview_url(), AttachmentDownloadUrlBody, create_dept(), create_dict_data(), create_dict_type(), create_menu(), create_post() (+93 more)
|
||
|
||
### Community 19 - "Community 19"
|
||
Cohesion: 0.15
|
||
Nodes (37): Any, bool, BxUserContext, BxWorkflowNode, float, int, ReimburseApplyOut, Session (+29 more)
|
||
|
||
### Community 20 - "Community 20"
|
||
Cohesion: 0.11
|
||
Nodes (124): date, DbUserContext, int, Session, str, DocumentReminderRead, DocumentReminderUpdate, FreightSettlementCreate (+116 more)
|
||
|
||
### Community 21 - "Community 21"
|
||
Cohesion: 0.35
|
||
Nodes (30): BxUserContext, int, Session, str, approve_reimburse(), approved_by_me(), _build_details_data(), create_reimburse() (+22 more)
|
||
|
||
### Community 22 - "Community 22"
|
||
Cohesion: 0.08
|
||
Nodes (40): AttachmentUploadResponse, ChangePasswordRequest, Config, LoginRequest, LoginResponse, Pydantic schemas - 用户认证, ResetPasswordRequest, UserCreate (+32 more)
|
||
|
||
### Community 23 - "Community 23"
|
||
Cohesion: 0.09
|
||
Nodes (57): Any, bool, CrmContract, datetime, int, Query, Session, str (+49 more)
|
||
|
||
### Community 24 - "Community 24"
|
||
Cohesion: 0.11
|
||
Nodes (57): Any, bool, int, Session, str, Any, bool, CRM 线索 CRUD(线索主表 + 转化/分配/无效/等级操作) (+49 more)
|
||
|
||
### Community 25 - "Community 25"
|
||
Cohesion: 0.12
|
||
Nodes (31): Session, str, _append_user_scope_conditions(), apply_data_scope(), assert_row_in_data_scope(), _collect_scope_ids(), _get_child_dept_ids(), get_user_dept_id() (+23 more)
|
||
|
||
### Community 26 - "Community 26"
|
||
Cohesion: 0.07
|
||
Nodes (74): bool, date, datetime, DbInboundOutbound, DbPurchasePlan, float, PlPlan, PlPlanProduct (+66 more)
|
||
|
||
### Community 27 - "Community 27"
|
||
Cohesion: 0.07
|
||
Nodes (46): Exception, bool, bytes, int, Path, str, str, bytes (+38 more)
|
||
|
||
### Community 28 - "Community 28"
|
||
Cohesion: 0.15
|
||
Nodes (107): date, DbUserContext, int, PlanCreateFull, PlanDriverFeedbackUpdateBody, PlanSiteFeedbackUpdateBody, PlPlan, Session (+99 more)
|
||
|
||
### Community 29 - "Community 29"
|
||
Cohesion: 0.11
|
||
Nodes (37): Any, CRM 报价单 CRUD — 对照 CrmQuoteServiceImpl.java(P2 全量), datetime, Decimal, Query, _build_quote_filters(), calculate_quote_amount(), create_quote() (+29 more)
|
||
|
||
### Community 30 - "Community 30"
|
||
Cohesion: 0.18
|
||
Nodes (50): Any, CRM 商机 CRUD(主表 + 阶段/赢输单/统计/看板/漏斗), CrmOpportunity, date, datetime, Decimal, int, Session (+42 more)
|
||
|
||
### Community 31 - "Community 31"
|
||
Cohesion: 0.22
|
||
Nodes (35): _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() (+27 more)
|
||
|
||
### Community 32 - "Community 32"
|
||
Cohesion: 0.14
|
||
Nodes (40): Any, bool, int, Session, str, SysUser, change_password(), create_user() (+32 more)
|
||
|
||
### Community 33 - "Community 33"
|
||
Cohesion: 0.10
|
||
Nodes (21): _generate_plan_no(), 生成计划编号 SXDDHYYYYMMDD######, 生成计划编号 SXDDHYYYYMMDD######, 生成计划编号 SXDDHYYYYMMDD######, 生成计划编号 SXDDHYYYYMMDD######, 生成计划编号 SXDDHYYYYMMDD######, 生成计划编号 SXDDHYYYYMMDD######, 生成计划编号 SXDDHYYYYMMDD###### (+13 more)
|
||
|
||
### Community 34 - "Community 34"
|
||
Cohesion: 0.13
|
||
Nodes (21): datetime, int, str, datetime, 审批轮次过滤 — 驳回后重新提交时,进度接口仅展示当前轮次。, format_datetime(), generate_random_password(), get_current_time() (+13 more)
|
||
|
||
### Community 35 - "Community 35"
|
||
Cohesion: 0.08
|
||
Nodes (39): _db_pool_keepalive_loop(), _error_json(), lifespan(), _mask_secret(), Exception, int, Request, str (+31 more)
|
||
|
||
### Community 36 - "Community 36"
|
||
Cohesion: 0.10
|
||
Nodes (23): 运输计划管理 - 基础数据 Schema(承运商、车辆、人员、证书), CarrierAuditReject, CarrierBase, CarrierCreate, CarrierListResponse, CarrierQualificationBase, CarrierRead, CarrierUpdate (+15 more)
|
||
|
||
### Community 37 - "Community 37"
|
||
Cohesion: 0.28
|
||
Nodes (46): InboundOutboundRead, bool, DbPurchasePlan, PurchasePlanRead, PurchasePlanWithFillLink, WeighingSlipRead, bool, date (+38 more)
|
||
|
||
### Community 38 - "Community 38"
|
||
Cohesion: 0.13
|
||
Nodes (38): Any, bool, int, Session, str, bool, Session, str (+30 more)
|
||
|
||
### Community 39 - "Community 39"
|
||
Cohesion: 0.08
|
||
Nodes (26): patch_plan_product_certs(), 更新计划危化品产品购买证/运输证(不触发安排运输), 更新计划危化品产品购买证/运输证(不触发安排运输), 更新计划危化品产品购买证/运输证(不触发安排运输), 更新计划危化品产品购买证/运输证(不触发安排运输), 更新计划危化品产品购买证/运输证(不触发安排运输), 更新计划危化品产品购买证/运输证(不触发安排运输), 更新计划危化品产品购买证/运输证(不触发安排运输) (+18 more)
|
||
|
||
### Community 40 - "Community 40"
|
||
Cohesion: 0.04
|
||
Nodes (45): 分页查询供方列表 — Java: CrmSupplierInfoController.list, 分页查询供方列表 — Java: CrmSupplierInfoController.list, 分页查询供方列表 — Java: CrmSupplierInfoController.list, 分页查询供方列表 — Java: CrmSupplierInfoController.list, 分页查询供方列表 — Java: CrmSupplierInfoController.list, 分页查询供方列表 — Java: CrmSupplierInfoController.list, 分页查询供方列表 — Java: CrmSupplierInfoController.list, 分页查询供方列表 — Java: CrmSupplierInfoController.list (+37 more)
|
||
|
||
### Community 41 - "Community 41"
|
||
Cohesion: 0.07
|
||
Nodes (49): CRM 合同 API 路由 — GET/PUT/DELETE/POST 对齐原 Java CRM, register_contract_routes(), CRM 合同 Pydantic Schemas — 对照 CrmContractBo / CrmContractVo, batch_submit_contract_approval(), ContractApprovalActionBody, ContractApprovalApproveBody, ContractApprovalByContractBody, ContractApprovalListBody (+41 more)
|
||
|
||
### Community 42 - "Community 42"
|
||
Cohesion: 0.13
|
||
Nodes (29): Any, bool, BxUserContext, BxWorkflowNode, float, int, Session, str (+21 more)
|
||
|
||
### Community 43 - "Community 43"
|
||
Cohesion: 0.21
|
||
Nodes (34): _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() (+26 more)
|
||
|
||
### Community 44 - "Community 44"
|
||
Cohesion: 0.07
|
||
Nodes (37): _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(), 获取当前用户信息(与 sys_user 字段对应)。 (+29 more)
|
||
|
||
### Community 45 - "Community 45"
|
||
Cohesion: 0.18
|
||
Nodes (24): bool, date, datetime, int, Session, str, ReimburseApplyOut, allocate_reimburse_title_seq() (+16 more)
|
||
|
||
### Community 46 - "Community 46"
|
||
Cohesion: 0.16
|
||
Nodes (44): DbInboundOutbound, DbUserContext, Session, str, Session, str, CreateLinkForPlanPayload, _apply_inventory_product_update() (+36 more)
|
||
|
||
### Community 47 - "Community 47"
|
||
Cohesion: 0.06
|
||
Nodes (61): str, BaseModel, AdvanceApplyOut, AdvanceApprovalCreate, AttachmentOut, ReimburseApplyCreate, ReimburseApplyUpdate, ReimburseApprovalCreate (+53 more)
|
||
|
||
### Community 48 - "Community 48"
|
||
Cohesion: 0.08
|
||
Nodes (88): DbUserContext, int, 运输计划管理 - 基础数据 API(承运商、车辆、人员), PlVehicle, Session, str, VehicleRead, date (+80 more)
|
||
|
||
### Community 49 - "Community 49"
|
||
Cohesion: 0.11
|
||
Nodes (46): 公共接口(Web 登录、刷新 Token、登出;用户模型对齐 docs/sql/shanxia2.0.sql 基线), refresh_token(), bool, Redis, Request, Session, str, _T (+38 more)
|
||
|
||
### Community 50 - "Community 50"
|
||
Cohesion: 0.35
|
||
Nodes (5): Any, str, WfProcessInstance, WorkflowEngine, WfProcessInstance
|
||
|
||
### Community 51 - "Community 51"
|
||
Cohesion: 0.13
|
||
Nodes (37): Any, bool, Decimal, int, Session, str, batch_insert_quote_products(), calculate_subtotal() (+29 more)
|
||
|
||
### Community 52 - "Community 52"
|
||
Cohesion: 0.15
|
||
Nodes (30): Any, bool, int, Session, str, approve_quote(), can_user_approve(), create_approval_records() (+22 more)
|
||
|
||
### Community 53 - "Community 53"
|
||
Cohesion: 0.21
|
||
Nodes (40): AdvanceIssueRequest, BxUserContext, int, ReimburseApplyOut, Session, str, datetime, str (+32 more)
|
||
|
||
### Community 54 - "Community 54"
|
||
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 55 - "Community 55"
|
||
Cohesion: 0.04
|
||
Nodes (117): Any, bool, CRM 产品模块 CRUD(产品分类 + 产品 + 附件), int, Session, str, SysOss, int (+109 more)
|
||
|
||
### Community 56 - "Community 56"
|
||
Cohesion: 0.16
|
||
Nodes (33): Any, bool, CrmContractProductPriceTier, date, Decimal, int, Session, str (+25 more)
|
||
|
||
### Community 57 - "Community 57"
|
||
Cohesion: 0.21
|
||
Nodes (47): AdvanceApplyCreate, AdvanceApplyOut, AdvanceApplyUpdate, AdvanceApprovalCreate, BxUserContext, int, Session, str (+39 more)
|
||
|
||
### Community 58 - "Community 58"
|
||
Cohesion: 0.34
|
||
Nodes (16): Any, bool, int, Session, str, create_tenant(), get_tenant(), list_tenants() (+8 more)
|
||
|
||
### Community 59 - "Community 59"
|
||
Cohesion: 0.04
|
||
Nodes (51): invoice_info_list(), 按客户ID查询开票信息(与 by-customer 等价), 按客户ID查询开票信息(与 by-customer 等价), 按客户ID查询开票信息(与 by-customer 等价), 按客户ID查询开票信息(与 by-customer 等价), 按客户ID查询开票信息(与 by-customer 等价), 供方全量列表(下拉)— Java: CrmSupplierInfoController.listAll, 供方全量列表(下拉)— Java: CrmSupplierInfoController.listAll (+43 more)
|
||
|
||
### Community 60 - "Community 60"
|
||
Cohesion: 0.19
|
||
Nodes (26): Any, bytes, int, Session, str, PlOcrUsageMonth, 阿里云 OCR 月度调用计数 pl_ocr_usage_month(按自然月全局统计), PlOcrUsageMonth (+18 more)
|
||
|
||
### Community 61 - "Community 61"
|
||
Cohesion: 0.21
|
||
Nodes (30): Engine, Path, build_id_maps(), clip_text(), count_rows(), export_mapping(), fetch_rows(), legacy_id_to_str() (+22 more)
|
||
|
||
### Community 62 - "Community 62"
|
||
Cohesion: 0.30
|
||
Nodes (22): DbUserContext, float, Session, str, Session, str, DashboardCargoStat, DashboardPartnerCargoStat (+14 more)
|
||
|
||
### Community 63 - "Community 63"
|
||
Cohesion: 0.25
|
||
Nodes (18): BxUserContext, Session, str, bool, BxUserContext, Session, str, create_expense_item() (+10 more)
|
||
|
||
### Community 64 - "Community 64"
|
||
Cohesion: 0.22
|
||
Nodes (29): Any, int, Session, str, create_instance(), create_process_def(), create_task(), get_all_tasks_for_business() (+21 more)
|
||
|
||
### Community 65 - "Community 65"
|
||
Cohesion: 0.13
|
||
Nodes (24): API 路由包 — 山峡化工生产一体化门户, create_leave(), delete_leave(), get_leave(), _leave_local_callback(), leave_workflow_callback(), list_leaves(), submit_leave() (+16 more)
|
||
|
||
### Community 66 - "Community 66"
|
||
Cohesion: 0.08
|
||
Nodes (25): 技术栈, 1. 创建虚拟环境, 项目结构, 1. 创建虚拟环境, 2. 安装依赖, 2. 安装依赖, 3. 配置环境变量, 快速开始 (+17 more)
|
||
|
||
### Community 67 - "Community 67"
|
||
Cohesion: 0.31
|
||
Nodes (23): DbUserContext, DbWeighingSlip, Session, str, datetime_end_of_day(), parse_datetime_str(), weighing_to_read(), apply_product_snapshot_to_weighing() (+15 more)
|
||
|
||
### Community 68 - "Community 68"
|
||
Cohesion: 0.08
|
||
Nodes (25): batch_assign_owner(), download_contract_pdf(), Java: batchAssignOwner, Java: downloadContractPdf — 返回合同文件 URL/路径, Java: batchAssignOwner, Java: batchAssignOwner, Java: batchAssignOwner, Java: batchAssignOwner (+17 more)
|
||
|
||
### Community 69 - "Community 69"
|
||
Cohesion: 0.21
|
||
Nodes (16): Any, int, str, BusinessException, InvalidStatusTransitionException, log_api_request(), log_delivery_operation(), log_operation() (+8 more)
|
||
|
||
### Community 70 - "Community 70"
|
||
Cohesion: 0.22
|
||
Nodes (31): _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() (+23 more)
|
||
|
||
### Community 71 - "Community 71"
|
||
Cohesion: 0.26
|
||
Nodes (22): Any, bool, datetime, int, Session, str, BizSampleCode, batch_generate_sample_codes() (+14 more)
|
||
|
||
### Community 72 - "Community 72"
|
||
Cohesion: 0.39
|
||
Nodes (8): bool, BxUserContext, Session, str, 按业务类型获取工作流;已知类型不存在时自动创建空定义(无节点)。, 按业务类型获取工作流;已知类型不存在时自动创建空定义(无节点)。, WorkflowService, BxWorkflowDef
|
||
|
||
### Community 73 - "Community 73"
|
||
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 74 - "Community 74"
|
||
Cohesion: 0.09
|
||
Nodes (75): bool, DbInboundOutbound, int, PublicInventoryFeedback, PublicInventoryPageRead, UploadFile, bool, int (+67 more)
|
||
|
||
### Community 75 - "Community 75"
|
||
Cohesion: 0.13
|
||
Nodes (30): Any, bool, CRM 供方信息 CRUD — 对照 CrmSupplierInfoServiceImpl.java, int, Session, str, _apply_list_filters(), create_supplier_info() (+22 more)
|
||
|
||
### Community 76 - "Community 76"
|
||
Cohesion: 0.09
|
||
Nodes (23): 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) (+15 more)
|
||
|
||
### Community 77 - "Community 77"
|
||
Cohesion: 0.09
|
||
Nodes (106): date, DbUserContext, int, Session, str, VehicleUreaApplyCreate, VehicleUreaApplyRead, VehicleUreaApplyUpdate (+98 more)
|
||
|
||
### Community 78 - "Community 78"
|
||
Cohesion: 0.32
|
||
Nodes (22): Any, CrmOpportunity, Decimal, int, Session, str, batch_add_opportunity_products(), _calc_subtotal() (+14 more)
|
||
|
||
### Community 79 - "Community 79"
|
||
Cohesion: 0.38
|
||
Nodes (22): DbUserContext, int, Session, str, PlTransportAddress, 运输通用地址库 pl_transport_address, 运输通用地址库 pl_transport_address, 运输通用地址库 pl_transport_address (+14 more)
|
||
|
||
### Community 80 - "Community 80"
|
||
Cohesion: 0.21
|
||
Nodes (21): Any, bool, str, 报销模块 Service 基类 — 租户隔离 + UUID + 软删除。, _actor_ids(), _actor_names(), assert_row_deletable_by_creator(), assert_rows_deletable_by_creator() (+13 more)
|
||
|
||
### Community 81 - "Community 81"
|
||
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 82 - "Community 82"
|
||
Cohesion: 0.10
|
||
Nodes (20): 1. 上传到服务器, 1. 上传到服务器, 2. 服务器首次启动, 2. 服务器首次启动, 3. 日常运维, 3. 日常运维, 4. 配置文件, 4. 配置文件 (+12 more)
|
||
|
||
### Community 83 - "Community 83"
|
||
Cohesion: 0.18
|
||
Nodes (11): float, int, str, 发送订单状态通知 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 (+3 more)
|
||
|
||
### Community 84 - "Community 84"
|
||
Cohesion: 0.04
|
||
Nodes (61): Decimal, create_contract(), create_from_opportunity(), create_from_quote(), generate_contract_name(), _get_field(), _get_supplier_short_name(), _normalize_framework_contract_data() (+53 more)
|
||
|
||
### Community 85 - "Community 85"
|
||
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 86 - "Community 86"
|
||
Cohesion: 0.10
|
||
Nodes (28): bool, date, Session, str, get_last_month_range(), month_range(), 地磅计划按月自动生成 — 迁移自 simple-dibang-xiaoshou/auto-create-plan/auto_create_monthly_pla, 按月自动生成采购计划。 - 默认仅在每月 1 日执行(force=True 时跳过该限制,供手动触发验收) - 遍历所有租户,按上月计划模板生 (+20 more)
|
||
|
||
### Community 87 - "Community 87"
|
||
Cohesion: 0.28
|
||
Nodes (18): Any, int, Session, str, _build_tree(), _cascade_soft_delete(), _collect_with_ancestors(), create_dept() (+10 more)
|
||
|
||
### Community 88 - "Community 88"
|
||
Cohesion: 0.10
|
||
Nodes (32): logout(), 登出:吊销 Redis 会话(若已配置 REDIS_HOST)。, 登出:吊销 Redis 会话(若已配置 REDIS_HOST)。, 登出:吊销 Redis 会话(若已配置 REDIS_HOST)。, 登出:吊销 Redis 会话(若已配置 REDIS_HOST)。, 登出:吊销 Redis 会话(若已配置 REDIS_HOST)。, bool, int (+24 more)
|
||
|
||
### Community 89 - "Community 89"
|
||
Cohesion: 0.22
|
||
Nodes (28): register_quote_routes(), bool, int, Session, str, accept_quote(), _ensure_quote_in_scope(), generate_pdf() (+20 more)
|
||
|
||
### Community 90 - "Community 90"
|
||
Cohesion: 0.22
|
||
Nodes (17): Any, bool, Session, str, list_share_logs(), _parse_user_agent(), CRM 报价单分享访问日志 CRUD — 对照 CrmQuoteShareLogServiceImpl.java, Java: statisticsVisits (+9 more)
|
||
|
||
### Community 91 - "Community 91"
|
||
Cohesion: 0.08
|
||
Nodes (24): date, create_new_version(), generate_quote_no(), Java: toContract — 返回 contractId, Java: createNewVersion — 返回新报价单 id, Java: toContract — 返回 contractId, Java: createNewVersion — 返回新报价单 id, Java: toContract — 返回 contractId (+16 more)
|
||
|
||
### Community 92 - "Community 92"
|
||
Cohesion: 0.37
|
||
Nodes (17): check_env(), check_python(), create_venv(), init_env(), install_dependencies(), log_error(), log_info(), log_success() (+9 more)
|
||
|
||
### Community 93 - "Community 93"
|
||
Cohesion: 0.34
|
||
Nodes (16): Any, bool, int, Session, str, create_dict_type(), dict_type_code_exists(), get_dict_type() (+8 more)
|
||
|
||
### Community 94 - "Community 94"
|
||
Cohesion: 0.29
|
||
Nodes (16): Any, int, Session, str, BizLeaveRequest, create_leave(), get_leave(), list_leaves() (+8 more)
|
||
|
||
### Community 95 - "Community 95"
|
||
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 96 - "Community 96"
|
||
Cohesion: 0.38
|
||
Nodes (15): Any, bool, int, Session, str, create_site(), get_site(), list_sites() (+7 more)
|
||
|
||
### Community 97 - "Community 97"
|
||
Cohesion: 0.30
|
||
Nodes (21): Any, bool, CrmOpportunity, datetime, int, Session, str, ensure_crm_create_by_row_in_scope() (+13 more)
|
||
|
||
### Community 98 - "Community 98"
|
||
Cohesion: 0.12
|
||
Nodes (46): bool, CertRow, Session, str, VehiclePersonnelRow, Session, str, VehiclePersonnelRow (+38 more)
|
||
|
||
### Community 99 - "Community 99"
|
||
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 100 - "Community 100"
|
||
Cohesion: 0.28
|
||
Nodes (13): int, Session, str, _allocate_inbound_outbound_id(), _ensure_sequence_row(), max_numeric_inbound_outbound_id(), next_inbound_outbound_id(), 出入库单 id 生成 — 租户内纯数字自增,并发安全。 (+5 more)
|
||
|
||
### Community 101 - "Community 101"
|
||
Cohesion: 0.21
|
||
Nodes (18): Session, str, str, 附件上传 bizType 与 MinIO 目录映射(对齐原 CRM oss 上传语义), 优先使用显式 folder;否则按 bizType 映射默认目录。, 优先使用显式 folder;否则按 bizType 映射默认目录。, 优先使用显式 folder;否则按 bizType 映射默认目录。, resolve_upload_folder() (+10 more)
|
||
|
||
### Community 102 - "Community 102"
|
||
Cohesion: 0.21
|
||
Nodes (27): 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() (+19 more)
|
||
|
||
### Community 103 - "Community 103"
|
||
Cohesion: 0.41
|
||
Nodes (11): Any, str, build_quote_html(), _default_value(), _format_date(), _format_discount(), _format_money(), generate_quote_pdf() (+3 more)
|
||
|
||
### Community 104 - "Community 104"
|
||
Cohesion: 0.09
|
||
Nodes (22): cancel_plan(), 作废运输计划:取消跟进状态、作废关联地磅出入库单、取消运输单。, 作废运输计划:取消跟进状态、作废关联地磅出入库单、取消运输单。, 作废运输计划:取消跟进状态、作废关联地磅出入库单、取消运输单。, 作废运输计划:取消跟进状态、作废关联地磅出入库单、取消运输单。, 作废运输计划:取消跟进状态、作废关联地磅出入库单、取消运输单。, 作废运输计划:取消跟进状态、作废关联地磅出入库单、取消运输单。, 作废运输计划:取消跟进状态、作废关联地磅出入库单、取消运输单。 (+14 more)
|
||
|
||
### Community 105 - "Community 105"
|
||
Cohesion: 0.23
|
||
Nodes (28): 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() (+20 more)
|
||
|
||
### Community 106 - "Community 106"
|
||
Cohesion: 0.39
|
||
Nodes (6): _inject_user_info_after_tenant(), patch_contract_routes(), patch_quote_routes(), patch_route_file(), Path, str
|
||
|
||
### Community 107 - "Community 107"
|
||
Cohesion: 0.14
|
||
Nodes (28): BaseSettings, Config, Settings, load_runtime_settings(), load_settings_env(), main(), int, str (+20 more)
|
||
|
||
### Community 108 - "Community 108"
|
||
Cohesion: 0.33
|
||
Nodes (8): Decimal, str, derive_legacy_status_from_three(), derive_three_status_from_legacy(), 阶段A兼容:从旧 status 推导三字段。 约束:旧 status 本身混合了支付/配送/订单生命周期,因此只能尽力推断; 若业务侧已有更精确, 阶段A兼容:从三字段反推旧 status(用于旧前端/旧筛选参数兼容)。, ThreeStatus, _to_decimal()
|
||
|
||
### Community 109 - "Community 109"
|
||
Cohesion: 0.09
|
||
Nodes (22): get_plan_arrange_info(), 获取计划已安排运输后的司机链接与地磅出入库关联(供查看弹窗复制简述/二维码)。, 获取计划已安排运输后的司机链接与地磅出入库关联(供查看弹窗复制简述/二维码)。, 获取计划已安排运输后的司机链接与地磅出入库关联(供查看弹窗复制简述/二维码)。, 更新计划危化品产品购买证/合法使用证明(不触发安排运输), 更新计划危化品产品购买证/合法使用证明(不触发安排运输), 获取计划已安排运输后的司机链接与地磅出入库关联(供查看弹窗复制简述/二维码)。, 获取计划已安排运输后的司机链接与地磅出入库关联(供查看弹窗复制简述/二维码)。 (+14 more)
|
||
|
||
### Community 110 - "Community 110"
|
||
Cohesion: 0.28
|
||
Nodes (12): 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`` → 门户相对路径。 (+4 more)
|
||
|
||
### Community 111 - "Community 111"
|
||
Cohesion: 0.22
|
||
Nodes (18): Any, bool, bytes, int, Request, str, _claims_from_auth(), _format_body_bytes() (+10 more)
|
||
|
||
### Community 112 - "Community 112"
|
||
Cohesion: 0.17
|
||
Nodes (20): Any, int, str, get_oper_log_meta(), OperLogMeta, 请求级操作日志元数据(ContextVar), 供异步落库线程使用,避免 ContextVar 跨线程丢失。, set_oper_log_meta() (+12 more)
|
||
|
||
### Community 113 - "Community 113"
|
||
Cohesion: 0.08
|
||
Nodes (24): DbUserContext, Session, Session, Session, str, _auto_fill_create_dept_id(), get_db(), ORM before_insert 钩子:当 create_dept_id 为空时,自动从请求上下文填充当前用户部门 ID (+16 more)
|
||
|
||
### Community 114 - "Community 114"
|
||
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 115 - "Community 115"
|
||
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 116 - "Community 116"
|
||
Cohesion: 0.07
|
||
Nodes (28): _build_contract_filters(), export_contracts(), ORM → camelCase(单点真相), ORM → camelCase(单点真相), ORM → camelCase(单点真相), ORM → camelCase(单点真相), ORM → camelCase(单点真相), Java: queryList for export (+20 more)
|
||
|
||
### Community 117 - "Community 117"
|
||
Cohesion: 0.13
|
||
Nodes (40): Any, bool, date, int, Session, str, Session, str (+32 more)
|
||
|
||
### Community 118 - "Community 118"
|
||
Cohesion: 0.38
|
||
Nodes (5): TransportAddressBase, TransportAddressCreate, TransportAddressListResponse, TransportAddressRead, TransportAddressUpdate
|
||
|
||
### Community 119 - "Community 119"
|
||
Cohesion: 0.29
|
||
Nodes (9): AST, expr, field_has_alias(), iter_field_assignments(), main(), bool, int, str (+1 more)
|
||
|
||
### Community 120 - "Community 120"
|
||
Cohesion: 0.22
|
||
Nodes (9): 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位序号} (+1 more)
|
||
|
||
### Community 121 - "Community 121"
|
||
Cohesion: 0.35
|
||
Nodes (17): Any, bool, int, Session, str, _build_tree(), _cascade_soft_delete(), create_menu() (+9 more)
|
||
|
||
### Community 122 - "Community 122"
|
||
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 123 - "Community 123"
|
||
Cohesion: 0.38
|
||
Nodes (4): str, _coerce_id(), ExpenseItemCreate, ExpenseItemUpdate
|
||
|
||
### Community 124 - "Community 124"
|
||
Cohesion: 0.19
|
||
Nodes (20): int, str, Any, bool, int, Session, str, business_type_from_path() (+12 more)
|
||
|
||
### Community 125 - "Community 125"
|
||
Cohesion: 0.12
|
||
Nodes (43): bool, str, get_password_hash(), 验证密码(哈希非 bcrypt 或损坏时返回 False,避免抛错), verify_password(), Namespace, build_merged_users(), bx_role_labels() (+35 more)
|
||
|
||
### Community 126 - "Community 126"
|
||
Cohesion: 0.23
|
||
Nodes (27): 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() (+19 more)
|
||
|
||
### Community 127 - "Community 127"
|
||
Cohesion: 0.19
|
||
Nodes (18): str, Any, bool, Session, str, CRM 模块 Excel 导出列定义(字段与字典类型对齐 Java *Vo @ExcelDictFormat)。, _yes_no(), _build_workbook() (+10 more)
|
||
|
||
### Community 129 - "Community 129"
|
||
Cohesion: 0.30
|
||
Nodes (18): Any, date, int, Session, str, create_price_letter(), get_price_letter(), list_price_letters() (+10 more)
|
||
|
||
### Community 140 - "Community 140"
|
||
Cohesion: 0.18
|
||
Nodes (28): compute_level(), count_target_rows(), derive_source_url(), fetch_portal_admin_id(), fetch_source_rows(), legacy_id_to_str(), load_runtime_settings(), load_settings_env() (+20 more)
|
||
|
||
### Community 141 - "Community 141"
|
||
Cohesion: 0.41
|
||
Nodes (13): BxUserContext, Session, str, UploadFile, bind_biz(), delete_attachment(), download_file(), list_by_biz() (+5 more)
|
||
|
||
### Community 142 - "Community 142"
|
||
Cohesion: 0.14
|
||
Nodes (27): bool, BxUserContext, int, Session, str, Any, bool, int (+19 more)
|
||
|
||
### Community 143 - "Community 143"
|
||
Cohesion: 0.07
|
||
Nodes (65): CertRead, Any, CertRead, CertRow, date, int, Session, str (+57 more)
|
||
|
||
### Community 144 - "Community 144"
|
||
Cohesion: 0.32
|
||
Nodes (15): apply_renumber(), build_mapping(), fetch_products(), format_new_product_no(), load_settings_env(), main(), product_id_sort_key(), Engine (+7 more)
|
||
|
||
### Community 145 - "Community 145"
|
||
Cohesion: 0.24
|
||
Nodes (24): count_target_rows(), _dec(), derive_source_url(), fetch_portal_admin_id(), fetch_source_rows(), legacy_id_to_str(), load_runtime_settings(), load_settings_env() (+16 more)
|
||
|
||
### Community 146 - "Community 146"
|
||
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 147 - "Community 147"
|
||
Cohesion: 0.38
|
||
Nodes (15): Any, bool, int, Session, str, create_post(), get_post(), list_posts() (+7 more)
|
||
|
||
### Community 148 - "Community 148"
|
||
Cohesion: 0.09
|
||
Nodes (82): bool, CRM 合同 CRUD — 对照 CrmContractServiceImpl.java(列表/详情 P1), CrmContract, CrmContractProductPriceTier, date, datetime, int, Query (+74 more)
|
||
|
||
### Community 149 - "Community 149"
|
||
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 150 - "Community 150"
|
||
Cohesion: 0.23
|
||
Nodes (10): Any, bool, int, Session, str, camel_to_snake(), CRUDBase, get_model_attr() (+2 more)
|
||
|
||
### Community 151 - "Community 151"
|
||
Cohesion: 0.33
|
||
Nodes (3): _coerce_id(), OffsetItem, ReimburseDetailCreate
|
||
|
||
### Community 152 - "Community 152"
|
||
Cohesion: 0.13
|
||
Nodes (36): DbUserContext, Session, str, user_info_from_context(), parse_date_str(), plan_to_read(), plan_to_read_with_fill_link(), _apply_plan_product_update() (+28 more)
|
||
|
||
### Community 153 - "Community 153"
|
||
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 154 - "Community 154"
|
||
Cohesion: 0.29
|
||
Nodes (10): datetime, int, Session, str, BizNoKind, allocate_next_biz_no(), _format_biz_no(), _prefix_for() (+2 more)
|
||
|
||
### Community 155 - "Community 155"
|
||
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 156 - "Community 156"
|
||
Cohesion: 0.43
|
||
Nodes (7): compress_image(), load_ocr_settings(), main(), parse_expire_date(), bytes, Path, str
|
||
|
||
### Community 157 - "Community 157"
|
||
Cohesion: 0.33
|
||
Nodes (6): Web 端登录用 RSA 公钥(PKCS#1 v1.5,与 JSEncrypt 一致), Web 端登录用 RSA 公钥(PKCS#1 v1.5,与 JSEncrypt 一致), 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 158 - "Community 158"
|
||
Cohesion: 0.33
|
||
Nodes (5): _coerce_optional_id(), WorkflowDefCreate, WorkflowDefUpdate, WorkflowNodeCreate, WorkflowNodeOut
|
||
|
||
### Community 159 - "Community 159"
|
||
Cohesion: 0.22
|
||
Nodes (29): Any, bool, CRM 公海池规则 CRUD + 规则执行逻辑, int, Session, str, create_pool_rule(), create_rule() (+21 more)
|
||
|
||
### Community 160 - "Community 160"
|
||
Cohesion: 0.33
|
||
Nodes (3): 地磅 API 路由聚合 — REST 风格,协议对齐原 simple-dibang-xiaoshou。, 地磅(db)Pydantic schemas — 对齐原 simple-dibang-xiaoshou 契约。, 地磅 API 路由聚合 — REST 风格,协议对齐原 simple-dibang-xiaoshou。
|
||
|
||
### Community 161 - "Community 161"
|
||
Cohesion: 0.40
|
||
Nodes (3): AdvanceApplyCreate, AdvanceApplyUpdate, _coerce_optional_id()
|
||
|
||
### Community 162 - "Community 162"
|
||
Cohesion: 0.16
|
||
Nodes (12): Decimal, str, VehicleRechargeApplyCreate, VehicleRechargeApplyListResponse, VehicleRechargeApplyOption, VehicleRechargeApplyRead, VehicleRechargeApplyUpdate, VehicleRechargeDisburseBoardListResponse (+4 more)
|
||
|
||
### Community 163 - "Community 163"
|
||
Cohesion: 0.83
|
||
Nodes (3): _add_user_info_kwarg(), patch_file(), str
|
||
|
||
### Community 164 - "Community 164"
|
||
Cohesion: 0.30
|
||
Nodes (13): Any, bool, bytes, int, str, ApiCryptoError, _b64url_decode(), _b64url_encode() (+5 more)
|
||
|
||
### Community 165 - "Community 165"
|
||
Cohesion: 0.22
|
||
Nodes (12): Any, bool, str, WfProcessInstance, _LocalCallbackFn, _dispatch_local(), 工作流回调服务 —— 流程状态变更时通知业务系统, 注册本地回调函数。当 callback_url 以 path 开头时直接调用 fn。 (+4 more)
|
||
|
||
### Community 166 - "Community 166"
|
||
Cohesion: 0.15
|
||
Nodes (13): ORM → camelCase(单点真相), ORM → camelCase(单点真相), ORM → camelCase(单点真相), ORM → camelCase(单点真相), Java: viewByShareCode, Java: viewByShareCode, Java: viewByShareCode, Java: viewByShareCode (+5 more)
|
||
|
||
### Community 167 - "Community 167"
|
||
Cohesion: 0.49
|
||
Nodes (9): compare_data(), item_key(), load_portal_dicts(), load_sx_dicts(), main(), parse_insert_values(), Path, str (+1 more)
|
||
|
||
### Community 168 - "Community 168"
|
||
Cohesion: 0.44
|
||
Nodes (8): bool, int, Session, str, ApiRequestLogCRUD, SysApiRequestLog, SysApiRequestLogHis, SysApiRequestLog
|
||
|
||
### Community 169 - "Community 169"
|
||
Cohesion: 0.33
|
||
Nodes (10): Any, int, Session, str, list_ethnics(), 民族码表 CRUD(全局 sys_ethnic), _row_to_dict(), 民族码表 sys_ethnic(国标 GB/T 3304,全局) (+2 more)
|
||
|
||
### Community 170 - "Community 170"
|
||
Cohesion: 0.18
|
||
Nodes (11): Java: statisticsStatus, Java: statisticsStatus, Java: statisticsStatus, Java: statisticsStatus, Java: statisticsStatus, Java: statisticsStatus, Java: statisticsStatus, Java: statisticsStatus (+3 more)
|
||
|
||
### Community 171 - "Community 171"
|
||
Cohesion: 0.18
|
||
Nodes (11): Java: statisticsTrend, Java: statisticsTrend, Java: statisticsTrend, Java: statisticsTrend, Java: statisticsTrend, Java: statisticsTrend, Java: statisticsTrend, Java: statisticsTrend (+3 more)
|
||
|
||
### Community 172 - "Community 172"
|
||
Cohesion: 0.39
|
||
Nodes (8): int, LeaveCreate, LeaveUpdate, Config, LeaveCreate, LeaveResponse, LeaveUpdate, Pydantic schemas - 请假申请
|
||
|
||
### Community 173 - "Community 173"
|
||
Cohesion: 0.22
|
||
Nodes (9): Java: withdrawApproval, Java: withdrawApproval, Java: withdrawApproval, Java: withdrawApproval, Java: withdrawApproval, Java: withdrawApproval, Java: withdrawApproval, Java: withdrawApproval (+1 more)
|
||
|
||
### Community 174 - "Community 174"
|
||
Cohesion: 0.40
|
||
Nodes (4): Any, str, 供 get_tenant_no 等门户工具使用。, 与门户 JWT / apply_data_scope 所需的 user_info 字段对齐。
|
||
|
||
### Community 175 - "Community 175"
|
||
Cohesion: 0.14
|
||
Nodes (38): Any, CRM 合同子模块路由 — 变更/模板/审批独立页, register_contract_sub_routes(), Any, str, Any, 与门户 JWT / apply_data_scope 所需的 user_info 字段对齐。, _change_row_to_dict() (+30 more)
|
||
|
||
### Community 177 - "Community 177"
|
||
Cohesion: 0.33
|
||
Nodes (6): _fill_contract_linked_count(), Java: fillContractLinkedCount, Java: fillContractLinkedCount, Java: fillContractLinkedCount, Java: fillContractLinkedCount, Java: fillContractLinkedCount
|
||
|
||
## Knowledge Gaps
|
||
- **78 isolated node(s):** `Session`, `Request`, `bool`, `bool`, `Config` (+73 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 2` to `Community 0`, `Community 1`, `Community 3`, `Community 5`, `Community 6`, `Community 8`, `Community 9`, `Community 10`, `Community 11`, `Community 13`, `Community 14`, `Community 15`, `Community 16`, `Community 18`, `Community 19`, `Community 20`, `Community 21`, `Community 23`, `Community 24`, `Community 25`, `Community 26`, `Community 28`, `Community 29`, `Community 30`, `Community 32`, `Community 33`, `Community 37`, `Community 38`, `Community 39`, `Community 40`, `Community 41`, `Community 42`, `Community 44`, `Community 45`, `Community 46`, `Community 47`, `Community 48`, `Community 49`, `Community 50`, `Community 51`, `Community 52`, `Community 53`, `Community 55`, `Community 56`, `Community 57`, `Community 58`, `Community 59`, `Community 62`, `Community 63`, `Community 64`, `Community 65`, `Community 67`, `Community 68`, `Community 71`, `Community 72`, `Community 73`, `Community 74`, `Community 75`, `Community 76`, `Community 77`, `Community 78`, `Community 79`, `Community 84`, `Community 86`, `Community 87`, `Community 89`, `Community 90`, `Community 91`, `Community 93`, `Community 94`, `Community 95`, `Community 96`, `Community 97`, `Community 98`, `Community 100`, `Community 101`, `Community 102`, `Community 104`, `Community 109`, `Community 113`, `Community 114`, `Community 116`, `Community 117`, `Community 120`, `Community 121`, `Community 124`, `Community 127`, `Community 141`, `Community 142`, `Community 143`, `Community 146`, `Community 147`, `Community 148`, `Community 150`, `Community 152`, `Community 154`, `Community 159`, `Community 166`, `Community 168`, `Community 169`, `Community 170`, `Community 171`, `Community 172`, `Community 173`, `Community 175`, `Community 177`?**
|
||
_High betweenness centrality (0.243) - this node is a cross-community bridge._
|
||
- **Why does `datetime` connect `Community 34` to `Community 0`, `Community 1`, `Community 2`, `Community 4`, `Community 6`, `Community 7`, `Community 8`, `Community 9`, `Community 10`, `Community 11`, `Community 12`, `Community 13`, `Community 14`, `Community 15`, `Community 16`, `Community 17`, `Community 19`, `Community 20`, `Community 22`, `Community 23`, `Community 24`, `Community 26`, `Community 27`, `Community 28`, `Community 29`, `Community 30`, `Community 31`, `Community 32`, `Community 35`, `Community 36`, `Community 37`, `Community 38`, `Community 41`, `Community 42`, `Community 43`, `Community 45`, `Community 46`, `Community 47`, `Community 48`, `Community 49`, `Community 51`, `Community 52`, `Community 53`, `Community 54`, `Community 55`, `Community 56`, `Community 58`, `Community 60`, `Community 61`, `Community 62`, `Community 64`, `Community 67`, `Community 69`, `Community 70`, `Community 71`, `Community 73`, `Community 74`, `Community 75`, `Community 77`, `Community 78`, `Community 86`, `Community 87`, `Community 90`, `Community 93`, `Community 94`, `Community 96`, `Community 97`, `Community 101`, `Community 103`, `Community 105`, `Community 107`, `Community 114`, `Community 117`, `Community 118`, `Community 121`, `Community 124`, `Community 125`, `Community 126`, `Community 129`, `Community 140`, `Community 143`, `Community 144`, `Community 145`, `Community 147`, `Community 148`, `Community 152`, `Community 154`, `Community 155`, `Community 159`, `Community 162`, `Community 168`, `Community 175`, `Community 176`?**
|
||
_High betweenness centrality (0.130) - this node is a cross-community bridge._
|
||
- **Why does `BaseModel` connect `Community 47` to `Community 0`, `Community 1`, `Community 5`, `Community 9`, `Community 10`, `Community 11`, `Community 13`, `Community 143`, `Community 17`, `Community 18`, `Community 19`, `Community 20`, `Community 21`, `Community 22`, `Community 151`, `Community 155`, `Community 28`, `Community 158`, `Community 161`, `Community 162`, `Community 36`, `Community 37`, `Community 41`, `Community 172`, `Community 45`, `Community 46`, `Community 175`, `Community 176`, `Community 53`, `Community 57`, `Community 63`, `Community 65`, `Community 74`, `Community 77`, `Community 98`, `Community 101`, `Community 102`, `Community 113`, `Community 118`, `Community 123`?**
|
||
_High betweenness centrality (0.047) - this node is a cross-community bridge._
|
||
- **Are the 341 inferred relationships involving `str` (e.g. with `AdvanceApplyCreate` and `AdvanceApplyOut`) actually correct?**
|
||
_`str` has 341 INFERRED edges - model-reasoned connections that need verification._
|
||
- **Are the 337 inferred relationships involving `Session` (e.g. with `AdvanceApplyCreate` and `AdvanceApplyOut`) actually correct?**
|
||
_`Session` has 337 INFERRED edges - model-reasoned connections that need verification._
|
||
- **Are the 225 inferred relationships involving `int` (e.g. with `AdvanceApplyCreate` and `AdvanceApplyOut`) actually correct?**
|
||
_`int` has 225 INFERRED edges - model-reasoned connections that need verification._
|
||
- **What connects `定期 ping MySQL,避免远程库/NAT 回收空闲 TCP 后首请求长时间卡住。`, `数据库异常:返回 JSON 并保留 CORS 头,避免浏览器只报跨域错误`, `未捕获异常:统一 JSON 500,确保跨域场景下仍有 Access-Control-Allow-Origin` to the rest of the system?**
|
||
_1560 weakly-connected nodes found - possible documentation gaps or missing edges._ |