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
52df7307f6
feat: 仓租费率与日结扣费接入账户流水,并补充待支付微信通知
...
Build and Deploy / deploy (push) Successful in 1m20s
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-11-15 14:56:54 +08:00
79ebe77666
feat: 落地数据权限审计与公告一键已读
...
Build and Deploy / deploy (push) Successful in 1m23s
补齐访问审计与订单/财务侧数据权限接入,并增加公告批量确认已读接口。
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-11-15 00:07:57 +08:00
0e68f7a87e
feat: 单号规则可配置生成(运单/客户单号/揽收/大包/主单)
...
Build and Deploy / deploy (push) Successful in 1m18s
支持按产品、渠道、国家匹配占位符公式,未命中沿用内置规则。
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-11-14 18:12:52 +08:00
07f589d57b
feat: 代理返佣下单预计与 Outbox 异步落库
...
Build and Deploy / deploy (push) Successful in 1m12s
下单写 estimated、终态锁定 pending、取消/退款 void;打款仅认 pending,写入走集成事件异步消费。
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-10-30 11:06:51 +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
fef409a4ce
fix: 删除订单只改状态,已删除 Tab 可查
...
Build and Deploy / deploy (push) Successful in 1m12s
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-10-26 18:35:56 +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
a69e69d5b6
feat: 查价表单下拉支持匿名加载,供 H5 访客先选仓/国家/属性
...
Build and Deploy / deploy (push) Successful in 1m44s
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-10-26 10:04:09 +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
7ed8fd8e8a
feat: 店铺创建运单支持基本信息覆盖,无事务时同步执行创单副作用
...
Build and Deploy / deploy (push) Successful in 1m0s
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-10-20 11:23:15 +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
223d32f62a
feat: 订单支付时选券,新增支付预览接口并按所选券扣款核销
...
Build and Deploy / deploy (push) Successful in 1m3s
- 新增 GET /order/pay-preview:返回会员折/券互斥后的应付拆解与本单可选券
- POST /order/pay 支持 couponInstanceId(null 沿用已绑定券,0 不用券,>0 指定券),按试算应付扣款并核销券、释放被替换券的锁定
- 被当前订单锁定的券视为可用,修复入库/编辑重算营销金额时误报券被占用
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-10-19 14:01:00 +08:00
d72637e472
优化order/parcel/create
2026-10-16 14:55:37 +08:00
aa4c4a28e6
fix: 排货后创建轨迹订单转发创单时的 Authorization
...
Build and Deploy / deploy (push) Successful in 1m1s
消费端没有登录态会导致轨迹网关 401;创单时写入预报任务再带到轨迹事件。
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-10-15 09:23:15 +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
7b69bbf207
test
Build and Deploy / deploy (push) Successful in 1m4s
2026-10-14 17:07:35 +08:00
586a6b6834
change
2026-10-10 16:41:28 +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
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
5648163958
merge master into test: 揽收下游预报与近期功能,保留 fake oss
...
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-09-23 11:30:17 +08:00
dd1318bc00
feat:对接fake oss
Build and Deploy / deploy (push) Successful in 59s
2026-09-22 16:59:33 +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
56c18c0343
feat:加强cos log
Build and Deploy / deploy (push) Successful in 1m41s
2026-09-10 18:00:18 +08:00
943ba539a4
feat: cos
Build and Deploy / deploy (push) Successful in 1m43s
2026-09-10 17:32:49 +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
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
a55668ec33
feat: 订单列表表头筛选、远程排序与默认90天时间窗护栏
...
支持 filters[]/whitelist 排序,导出行数与批量 IN 上限,无时间窗时兜底近90天。
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-07-31 11:25:31 +08:00
41f4c58e99
Improve draft predeclare billing and structured create-fail payload.
...
Re-run forecast billing on draft pre-declare, and expose draftSaved/orderId/serviceNo via ErrorCode/Data/details for clearer place-order failure UX.
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-07-28 19:30:27 +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
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
ab63920e85
chore: 触发 CI 重新构建发布,部署 OrderTask 合并后的上传接口
...
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-07-22 12:55:08 +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
b679151eb1
feat: Hiprint模板转QuestPDF异步出面单,并接通打印链路
...
支持模板预览/字段字典、产品绑定 LabelTemplateId、订单 Pending→Ready 生成 PDF,以及 order/print、批量与仓内 printUrl。
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-07-18 14:52:39 +08:00
f4ddd993b9
feat: 管理端列表返回客户名称/编码,并加固绑定与客户会话
...
订单/包裹/库存/店铺授权/店铺订单列表补充 customerName、customerCode;库存绑定按会话客户解析并兼容可用量;修复客户 mapId 识别与 ConcurrencyStamp 迁移。
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-07-18 11:10:53 +08:00
a9338a4b25
feat: 揽收订单与列表支持管理端按客户筛选
...
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-07-16 12:41:20 +08:00
341a318f0b
feat: 客户发件地址与揽收订单,复用小包创建全链路。
...
新增地址簿 CRUD、pickup/create、订单 orderSource 筛选;附带包裹商品图片上传接口。
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-07-15 18:58:48 +08:00
43563b727f
feat: 自动触发公式引擎与查价运输方式分组接口
...
实现中文公式预报前拦截、规则测试 API 及按销售产品分组返回查价运输方式选项。
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-07-09 18:36:17 +08:00
9ab112a36e
feat(order): 下单模板映射与 Excel 批量导入小包创建
...
新增专线小包标准模板生成、自定义列映射 API,并将 /order/upload 改为按映射解析 Excel 后走 CreateParcelCoreAsync;列表查询时自动补齐标准模板种子数据。
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-07-08 16:42:22 +08:00
4f3bbd17bc
feat(order): 订单批量任务 RabbitMQ 异步处理与治理 API
...
引入批量 Job 表、RabbitMQ 队列与消费者,支持导入/小包创建及我的订单批量操作异步化,并提供任务列表、重试失败、取消 pending 与 DLX 监控接口及测试。
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-07-08 09:52:22 +08:00
90f6c25b04
feat(order): 问题件/理赔件标记、通知投递与自动触发
...
新增 mark-problematic/mark-claimed/handle-status 接口,异常事件审计表与占位符渲染;inApp/email 通知及下单/入库/出库自动触发运行时。
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-07-06 16:46:52 +08:00