f66d567c49
feat: 服务渠道独立计重,应付与揽收应付用渠道计费重
...
Build and Deploy / deploy (push) Successful in 1m24s
应收仍走销售产品计重;排货/重算应付/对账/揽收推费按渠道计重写入 PayableChargeableWeight,不改 ChargeableWeight。
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-11-23 16:32:05 +08:00
7940b50edf
feat: 订单通知加固(邮件订阅、统一日志、Outbox 重试与系统 SMTP)
...
Build and Deploy / deploy (push) Successful in 1m19s
合并微信/邮件通知日志,支持 H5 双通道订阅、系统发信与操作日志摘要;上线前执行 sql/migrate_order_notify_all_20261121.sql。
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-11-21 10:55:24 +08:00
72a1a3590e
feat: 新增经营地图工作台统计接口(产品/国家线路与热力)
...
Build and Deploy / deploy (push) Successful in 1m19s
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-11-19 11:24:06 +08:00
8376e03aa9
feat: 创建代发必绑,解绑回退直发并补事务
...
Build and Deploy / deploy (push) Successful in 1m21s
绑定保存/清空/扣减与删单走事务;工作台与 status-counts 不再统计 pendingBind。
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-11-18 11:23:23 +08:00
6b00451914
feat: 营销/代理分析汇总 API,并补应收应付代理字段
...
Build and Deploy / deploy (push) Successful in 1m18s
为老板看板提供服务端区间汇总(总览、排行/漏斗与导出),应收应付列表带上 AgentId 供财务分析代理维使用。
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-11-10 18:32:39 +08:00
8f43684217
feat: 出库大包/内部主单 API,并固化 DDL 审计字段规范
...
Build and Deploy / deploy (push) Successful in 1m15s
支持可选装袋与打板(可绑外部 MAWB),订单冗余归属字段;README/sql 约定对齐 t_outbound_record 审计列写法。
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-11-07 16:53:46 +08:00
4b237c1374
fix: 代理运单列表按名下客户过滤
...
Build and Deploy / deploy (push) Successful in 1m12s
门户可见范围改用客户当前 AgentId;返佣仍认订单快照 AgentId。
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-10-30 10:52:16 +08:00
b6831bad1d
feat: 代理门户能力与客户绑定代理改绑
...
Build and Deploy / deploy (push) Successful in 1m14s
补齐工作台/名下客户订单返佣、注册校验与运营端客户 AgentId 改绑,订单列表按代理快照过滤。
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-10-30 10:18:32 +08:00
1d987cde6e
feat: 新增渠道代理注册归因与返佣明细
...
Build and Deploy / deploy (push) Successful in 1m13s
独立 Agent 主体与 loginType=2,注册绑定/下单快照,派送成功失败计提明细,不含提现入账。
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-10-29 17:18:07 +08:00
ff9a3ae8be
feat: 订阅轨迹中心 TrackChange,按 D03/D09/D11 同步出库后订单状态
...
Build and Deploy / deploy (push) Successful in 1m13s
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-10-27 09:46:28 +08:00
3c85b7325f
feat: 运单发货后状态变更接口
...
Build and Deploy / deploy (push) Failing after 45s
新增 ChangePostShipStatus,限制发货后四态白名单,妥投成功仅可进入不可改出。
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-10-26 11:46:33 +08:00
d22fe7220d
perf: 运单列表改为轻量映射,减小 /order/list 载荷与 enrichment 耗时
...
Build and Deploy / deploy (push) Successful in 1m18s
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-10-24 10:44:18 +08:00
8a1649ea66
feat: 入库箱唛/SKU 标签打印与订单改销售产品
...
Build and Deploy / deploy (push) Successful in 1m13s
支持按 box/sku 模板生成 PDF;待支付前可改产品并自动重排货重算费。
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-10-22 18:39:07 +08:00
314c5ac02f
feat: 申报明细新增产品标识编码/非标产品标识编码/标准产品标识编码
...
Build and Deploy / deploy (push) Successful in 1m3s
- t_order_declaration 新增 ProductId、NonStdProductId、StdProductId(迁移 migrate_order_declaration_product_ids_20261019.sql)
- 下单/改单/开放接口/Excel 模板入参、订单详情出参、下游 createOrderOne 报文同步字段
- 自动触发公式目录增加三个字段
2026-10-19 15:48:16 +08:00
d38963055b
feat: 支付用券/会员折扣写入负数应收行,订单应收与实付一致
...
- 支付成功后写入 coupon_discount / member_discount 负数应收(币种、阶段跟随运费行,记录券码/会员等级)
- 营销重算的折前应收排除抵扣行,避免重复扣减;规则公式忽略抵扣行
- 预报/入库计费任务跳过已付款订单,防止重复投递冲掉应收
- 手工新增费用禁止抵扣费用项;费用输出给出抵扣行显示名
- 订单详情返回折前小计、会员折扣、优惠券抵扣、客户实付
- 新增 fee_item 字典迁移 migrate_fee_item_marketing_discount_20261019.sql
2026-10-19 15:48:15 +08:00
983dff12c5
feat: 店铺订单落库物流商与履约类型,并规范迁移脚本日期命名
...
Build and Deploy / deploy (push) Successful in 1m2s
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-10-16 18:01:46 +08:00
5fd25d479c
fix: 去掉创单后置步骤表,轨迹订单改在排货成功后创建
...
Build and Deploy / deploy (push) Successful in 1m6s
回到创单提交后各自投递;并在下单接口注释同步与 MQ 步骤。
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-10-15 09:05:26 +08:00
34c47a3173
fix: 创单后置步骤随订单落库,提交后再单独执行
...
Build and Deploy / deploy (push) Successful in 1m0s
进程重启或事务回滚不再丢掉 9610、轨迹和揽收;排货完成后再补轨迹、面单和计费相关触发。
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-10-14 20:07:51 +08:00
79fa20a9ca
fix: 创单成功后把预报计费和后续事件拆开提交
...
Build and Deploy / deploy (push) Successful in 1m0s
预报计费失败不再把订单留在处理中,轨迹、面单和自动触发在创单提交后各自入队。
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-10-14 19:23:07 +08:00
b7be742046
feat: 店铺订单支持仓储代发(wms)建单,放宽创建状态限制
...
Build and Deploy / deploy (push) Successful in 4m34s
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-10-14 15:39:31 +08:00
8df0f37165
feat: 订单编辑支持服务商单号并完善操作日志快照
...
Build and Deploy / deploy (push) Successful in 1m0s
开放 DownstreamServiceNo 更新,补充包裹计费相关操作码与字段快照,便于运单详情编辑留痕。
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-10-10 16:27:49 +08:00
64737284f3
feat: 运单操作日志改为列表摘要,补齐费用/支付/预报/打印埋点
...
Build and Deploy / deploy (push) Successful in 1m3s
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-10-10 11:46:33 +08:00
dcd985bca4
feat: 创单/出入库后置副作用接入 Fake.EventBus,预报计费排货走 MQ
...
将轨迹、面单、9610、揽收、自动触发与 ForecastBilling 异步化,缩短扫码与下单 RT;队列未启用时同步回落。
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-10-10 10:54:24 +08:00
da27fa4377
feat: 重算应付放行锁渠道池校验,支持切换价格/规则版本与服务商名称
...
Build and Deploy / deploy (push) Successful in 1m0s
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-10-09 18:16:38 +08:00
2b0158acb4
feat: 运单操作日志 MVP,记录编辑/件重尺/重算/排货字段变更
...
Build and Deploy / deploy (push) Successful in 1m0s
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-10-09 17:32:33 +08:00
f972a28d79
feat: 落地滚动会员、券发放与邀请分成奖励
...
Build and Deploy / deploy (push) Successful in 3m50s
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-10-06 17:40:24 +08:00
f063c99d1b
feat: OpenAPI 增加轨迹/文件查询,创单按 clientNo 幂等
...
客户 HMAC 通过后再查本客户订单;禁止下游面单,附件增加 POD。
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-10-05 18:48:21 +08:00
955a3c8c6d
fix: 揽收推费按承运运单号 CarrierWaybillNo 匹配
...
Build and Deploy / deploy (push) Successful in 1m1s
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-09-29 19:56:40 +08:00
5fb6888b55
feat: 揽收承运推送件重尺并按卖价买价出账
...
Build and Deploy / deploy (push) Successful in 1m1s
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-09-29 19:19:24 +08:00
ddb8efba15
feat: 9610汇总下单关联出口资质,并补齐批量模板字段
...
Build and Deploy / deploy (push) Successful in 58s
下单/导入在 9610Summary 时校验并落库 ExportQualificationId(可回落默认备案),写入 9610 申报企业信息;专线小包模板长宽高改必填并增加资质备案列。
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-09-24 16:12:39 +08:00
8ce8b82f48
feat: 客户出口资质备案与申报要素,9610 预报直连下游
...
Build and Deploy / deploy (push) Successful in 1m49s
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-09-22 18:13:55 +08:00
8d1e3ab17f
feat: 揽收方向与地址类型,补充迁移并清理已落地 SQL
...
Build and Deploy / deploy (push) Successful in 1m47s
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-09-13 23:34:55 +08:00
61d1502148
feat: 新增 /order/print/batch 同步批量返回面单地址
...
Build and Deploy / deploy (push) Successful in 1m44s
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-09-12 18:56:41 +08:00
a70f6f2a87
feat: 接入 9610 汇总申报,字段按业务含义命名并对齐运单
...
含清单/报关单拉取、ITFX 转发配置、迁移脚本与拣货单号扩展。
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-08-30 17:46:04 +08:00
78e06d01b9
feat: 工作台扩展代发/拣货统计与业务趋势接口
...
补充 Fulfill/Pickup 工作台统计 DTO 与查询实现,并扩展订单工作台聚合输出。
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-08-28 10:59:10 +08:00
ce1349572d
feat: extend receivable-payable APIs with summary, export, and filters
...
Add summary/export endpoints plus customer code, effective stage, time field, and payment status filtering for finance reconciliation.
2026-08-21 18:21:33 +08:00
2018e45a7d
feat: 代发进度统计、申报HS分列与异常事件表迁移脚本
...
补充代发进度 Tab 计数、PrimarySkuCodes 与 Im/Ex HS 编码输出;新增 t_order_exception_event 幂等迁移(Handler*、ConcurrencyStamp)并同步 db.sql。
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-08-20 17:06:16 +08:00
9d813a5f89
feat: 代发订单 FulfillmentType 与进度筛选、绑定拣货后端
...
支持 direct/warehouse 分轨、代发进度与库位排序、国内单号检索及到仓关联订单;扩展 SKU/店铺代发与库存绑定扣减能力。
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-08-20 10:27:37 +08:00
9a33eb00a5
feat: add knowledge base M1 APIs and workplace spend trend
2026-08-04 13:54:10 +08:00
b2355104cf
feat: 完善揽收单与问题件处理能力
...
补齐揽收单字段/并发戳与问题件处理人配置,扩展异常工作流与下单同步揽收出参;移除已收货状态并补充相关 SQL 脚本。
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-08-04 11:49:23 +08:00
c02cb21049
feat: add pickup-order model and door-pickup linking
...
Support 1 pickup to N logistics orders with create/pay/schedule APIs, parcel inboundMethod auto-attach, plus allocation-trace and inbound-billing updates already in tree.
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-08-03 12:22:30 +08:00
c8107cb565
feat: add additional-service billing, conditions, and fee lifecycle hardening
...
Support optional services and executable billing conditions on sell/buy prices, percent-of-value and percent-of-freight formulas, place-order/inbound payable on chargeable weight, outbound receivable freeze, channel remote areas, billing simulate, and insurance-aware claims.
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-08-01 18:04:28 +08:00
a55668ec33
feat: 订单列表表头筛选、远程排序与默认90天时间窗护栏
...
支持 filters[]/whitelist 排序,导出行数与批量 IN 上限,无时间窗时兜底近90天。
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-07-31 11:25:31 +08:00
03f11a276f
Add order attachment files table and move system labels off Order.
...
Persist generated/printed/downstream labels in t_order_file, drop Order.LabelUrl generate-status fields, and expose file list/upload/delete APIs with customer read-only systemLabel access.
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-07-28 16:32:55 +08:00
6f436f795f
Fix downstream forecast success detection and persist provider service no.
...
Treat itfx body code/msg as business result, store full request/response, and write Data.serviceNo/trackNo back to the order.
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-07-28 10:21:23 +08:00
89233bc3da
feat: add customer marketing module (M1-M6 backend)
...
Implement referral, points, coupons, commission, member levels, and order integration with migration SQL and background jobs.
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-07-23 16:42:08 +08:00
3d5eaa223a
feat: 小包全链路加固、待排货与运单号 IDE 前缀
...
查价/下单/入库/出库统一校验与计费上下文;待排货状态及可选入库排货;运单号改为 IDE+yyMMddHHmmss;补充迁移 SQL 与测试修复。
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-07-22 19:00:55 +08:00
d791f7b251
fix: 批量任务插入后回填 JobItemId,修复 MQ 消费后仍待处理
...
InsertItemsAsync 批量插入后按 MessageId 回填自增 Id;消费者支持 JobItemId=0 时按 JobId+MessageId 解析子项。
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-07-22 15:12:41 +08:00
bb09a51f4a
refactor: 合并 OrderTask 至批量任务,移除 t_order_task 依赖
...
Excel 导入与任务进度统一走 t_order_batch_job;删除旧实体、仓储与 /order/task/* 接口,上传返回 jobId。
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-07-22 12:36:57 +08:00
377cc525d6
feat: 增强批量任务子项反馈与客户单号持久化
...
统一成功/失败结果快照,补全客户单号与 Excel 行号;系统重试耗尽后标记失败避免子项长期停留在执行中;任务 API 返回 pending/running/cancelled 计数。
2026-07-22 12:00:53 +08:00