1.06 #10

Merged
zzh merged 18 commits from test into master 2026-10-19 17:03:15 +08:00

18 Commits

Author SHA1 Message Date
zzh
e931606a75 feat: 9610 支持从已有运单批量创建汇总申报单
All checks were successful
Build and Deploy / deploy (push) Successful in 1m2s
- 新增 POST /order/customs-9610/create-from-orders:运单设为 9610Summary 并绑定出口资质备案(空则客户默认),按申报明细生成待申报单
- 逐单返回结果:已删除、已有 9610 单、无申报明细、无可用备案记为失败,不影响其它运单
2026-10-19 16:24:02 +08:00
zzh
314c5ac02f feat: 申报明细新增产品标识编码/非标产品标识编码/标准产品标识编码
All checks were successful
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
zzh
d38963055b feat: 支付用券/会员折扣写入负数应收行,订单应收与实付一致
- 支付成功后写入 coupon_discount / member_discount 负数应收(币种、阶段跟随运费行,记录券码/会员等级)
- 营销重算的折前应收排除抵扣行,避免重复扣减;规则公式忽略抵扣行
- 预报/入库计费任务跳过已付款订单,防止重复投递冲掉应收
- 手工新增费用禁止抵扣费用项;费用输出给出抵扣行显示名
- 订单详情返回折前小计、会员折扣、优惠券抵扣、客户实付
- 新增 fee_item 字典迁移 migrate_fee_item_marketing_discount_20261019.sql
2026-10-19 15:48:15 +08:00
ce75fca721 Merge remote-tracking branch 'prod/test' into test
All checks were successful
Build and Deploy / deploy (push) Successful in 1m5s
2026-10-19 15:08:16 +08:00
4418217b01 upgrade 29 2026-10-19 15:08:05 +08:00
zzh
223d32f62a feat: 订单支付时选券,新增支付预览接口并按所选券扣款核销
All checks were successful
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
zzh
983dff12c5 feat: 店铺订单落库物流商与履约类型,并规范迁移脚本日期命名
All checks were successful
Build and Deploy / deploy (push) Successful in 1m2s
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-10-16 18:01:46 +08:00
zzh
7a611f8cf7 fix: TikTok 准备发货改为真实 shipPackage,并回写面单状态
All checks were successful
Build and Deploy / deploy (push) Successful in 1m1s
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-10-16 17:31:19 +08:00
zzh
9c97a218ec fix: TikTok 拉单按订单详情映射收件人金额行商品并落库
All checks were successful
Build and Deploy / deploy (push) Successful in 59s
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-10-16 16:59:28 +08:00
zzh
a1a7524a0e fix: TikTok 重新获取面单改为按包裹下载发货文档
All checks were successful
Build and Deploy / deploy (push) Successful in 1m1s
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-10-16 16:15:51 +08:00
zzh
8f64bbf02d feat: 国家地区支持增删改与导入,列表返回创建和更新时间
All checks were successful
Build and Deploy / deploy (push) Successful in 1m0s
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-10-16 15:54:22 +08:00
zzh
5afd204d36 fix: TikTok 拉单补齐 shop_cipher 与官方签名,并按状态翻页
All checks were successful
Build and Deploy / deploy (push) Successful in 1m0s
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-10-16 15:18:22 +08:00
1540a74d52 Merge remote-tracking branch 'prod/test' into test
All checks were successful
Build and Deploy / deploy (push) Successful in 1m3s
2026-10-16 14:59:30 +08:00
b6f0d3ac13 升级包 2026-10-16 14:59:14 +08:00
d72637e472 优化order/parcel/create 2026-10-16 14:55:37 +08:00
zzh
7a0affe2d4 fix: 公告广播可见性改为反序列化判定,避免 JSON 列比较失败
All checks were successful
Build and Deploy / deploy (push) Successful in 1m1s
ReceiverIds 改为 text 存储并补充迁移;广播对客户/收件箱可见。

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-10-16 09:57:25 +08:00
zzh
c6e765e6e2 fix: 公告列表用 mapId 解析当前用户,管理端可查全部
All checks were successful
Build and Deploy / deploy (push) Successful in 1m2s
同步监控 overview 支持日周月经营指标与积压队列。

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-10-16 09:48:42 +08:00
a9b15a2b5c Merge remote-tracking branch 'prod/test' into test 2026-10-16 09:18:49 +08:00