bf81f00c91
fix(wechat): 注册失败时返回中文错误并校验 RBAC 账号
...
避免 user 表重复写入抛出英文 DbUpdateException;注册前检查 RBAC 登录账号/邮箱是否已占用。
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-07-02 15:08:24 +08:00
50c6fd8ac8
fix(xhs): reject offline agent for analysis and normalize browse task results
...
Validate agent is online before starting analysis tasks; normalize list_feeds JSON when persisting task reports.
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-07-01 12:36:28 +08:00
607e09433b
fix(xhs): 管理员账号使用 customerId=0,取消客户账号限制
...
小红书各服务统一走 ResolveXhsCustomerIdAsync,管理员无需客户上下文即可操作 Agent、拟人设置等接口。
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-07-01 09:02:18 +08:00
af53c48f7f
feat: 新增小红书模块后端(Agent/任务/发布/分析/技能/AI)及 SQL 种子与 RBAC GUID 修复脚本
...
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-06-30 09:43:09 +08:00
07fc7fffe7
feat: resolve createBy/updateBy to RBAC user display names
...
Add OmsRbacUserDisplayNameResolver and use it in customer, order, warehouse, and channel APIs so audit fields return names instead of mapIds.
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-06-29 19:07:17 +08:00
e875f0c012
feat: price-check by cargo type and warehouse, customer auto-code, track apiCode
...
Support multi cargo-type and warehouse combinations in price check billing. Auto-generate customer codes (W+yyMM+seq) on create/register; require email. Use order DownstreamSupplierCode as track UpsertSmallBag apiCode.
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-06-29 18:40:10 +08:00
eac7b84f6a
feat(order): downstream createOrderOne API from order DB
...
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-06-29 12:29:06 +08:00
545f0825f8
feat(order): 规则快照下游元数据、订单绑定字段与系统其他配置
...
排货发布 enrich Providers 并确认渠道时写入 t_order 下游四字段;接入 itfx 元数据客户端;系统其他配置与小包轨迹 DB 配置;手动轨迹 UpsertSmallBag 接口。
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-06-29 11:31:15 +08:00
e7fd69b644
feat(order): 排货确认渠道与应付计费,出入库计费对齐设计
...
- 预报/入库后按排货规则选服务渠道并写入渠道买价应付费用
- 排货发布快照 Providers 去除 CreateTime/UpdateTime
- 出库扫描扩展 OutboundRecord 字段与 ApplyShipBillingByWaybillAsync
- 服务渠道买价发布预览;按 ChargingStage 删除应付费用
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-06-27 16:44:04 +08:00
d766343ffe
feat(customer): account flow ledger, pay deduct balance, status counts
...
Add t_customer_account_flow with list API, deduct balance on order pay, credit ledger on recharge approve, and GET /order/status-counts for tab badges.
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-06-26 19:09:43 +08:00
5e26de6ff3
feat: remove ChargingTime and bill receivables by weight stage
...
Drop sell/buy price charging-time config; write receivable fees after forecast or receive chargeable weight, hook inbound billing, fix order list status filter, and add DB migration.
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-06-26 16:24:53 +08:00
91ba6d5d59
fix: 计重进位快照兼容与 KPI 分区明细 Excel 导入
...
- 发布规则快照反序列化合并 StartValue/EndValue 至 Start/End
- 小包创建进位时快照区间无效则降级读 t_weight_rounding_info
- 新增 KPI 分区明细导入模板下载与 Excel 批量导入接口
- 补充快照进位与导入相关单元测试
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-06-26 15:29:17 +08:00
7827b4803e
feat: slim rules/price publish snapshots with PostcodeRange (left,right]
...
Use slim DTOs without audit timestamps; migrate legacy LeftPostcode/RightPostcode on read.
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-06-26 14:10:34 +08:00
2c69e8e5b8
feat: 规则快照固化计重/分区规则并修正卖价公式
...
规则发布写入黑名单、偏远、计重规则与进位明细;查价/下单优先读快照。修正 unit/total/continue 算价及续单价相邻档位总价基数。
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-06-26 12:57:34 +08:00
8aa6ceb677
fix: 价格发布从卖价明细分区推断 PriceAreaId 并写入快照
...
产品未配置 PriceAreaId 时,根据卖价明细「分区」值匹配 t_kpi_area 或 t_kpi_area_info 后固化 PriceAreaInfos。
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-06-26 11:58:01 +08:00
3a65e8c58f
feat: 价格发布快照固化分区规则,查价优先从快照匹配不再查库
...
发布/LIVE 快照写入 PriceAreaId、PriceAreaInfos;US+06000 命中分区键 3 单测通过。
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-06-26 11:20:33 +08:00
13ccd198d5
修复创建订单报错
2026-06-25 19:59:06 +08:00
00835bfadd
修复充值和查价
2026-06-25 19:10:44 +08:00
12ee25ad57
build
2026-06-25 17:47:46 +08:00
f18dd7a470
修复充值
2026-06-25 12:14:59 +08:00
96724376a6
feat: new
2026-04-29 09:38:07 +08:00
91a8ccdecb
ai-init
2026-04-15 15:25:38 +08:00