Hermes Agent
|
2dd2953757
|
fix: rewrite all create dspy files to use pre-loaded functions
- Removed all imports (json, ServerEnv, datetime, getID)
- Replaced datetime.now().strftime with timestampstr()
- Added id=getID(), created_at=timestampstr(), updated_at=timestampstr()
- Added resellerid from user org context
- Used DBPools().sqlorContext pattern
- Pass data dict directly to sor.C() without field filtering
- Fixed: suppliers, sub_distributors, sub_resellers, distribution_agreements,
distribution_agreement_items, supply_contracts, supply_contract_items,
platform_supply_products, platform_supply_relations, product_supplier_mapping,
sales_ledger, supplychain_accounting
|
2026-06-17 17:49:48 +08:00 |
|