Commit Graph

234 Commits

Author SHA1 Message Date
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
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
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
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
zzh
8258ae746e feat: 客户更新接口支持局部字段,并补充开发/SQL 规范说明
All checks were successful
Build and Deploy / deploy (push) Successful in 1m7s
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-10-15 19:53:24 +08:00
zzh
aa4c4a28e6 fix: 排货后创建轨迹订单转发创单时的 Authorization
All checks were successful
Build and Deploy / deploy (push) Successful in 1m1s
消费端没有登录态会导致轨迹网关 401;创单时写入预报任务再带到轨迹事件。

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-10-15 09:23:15 +08:00
zzh
5fd25d479c fix: 去掉创单后置步骤表,轨迹订单改在排货成功后创建
All checks were successful
Build and Deploy / deploy (push) Successful in 1m6s
回到创单提交后各自投递;并在下单接口注释同步与 MQ 步骤。

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-10-15 09:05:26 +08:00
zzh
34c47a3173 fix: 创单后置步骤随订单落库,提交后再单独执行
All checks were successful
Build and Deploy / deploy (push) Successful in 1m0s
进程重启或事务回滚不再丢掉 9610、轨迹和揽收;排货完成后再补轨迹、面单和计费相关触发。

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-10-14 20:07:51 +08:00
zzh
61b6f9a9b9 fix: 创单事务释放后再提交 9610、轨迹和揽收事件
All checks were successful
Build and Deploy / deploy (push) Successful in 59s
避免在创单事务里写 Outbox 征用不到连接,导致这三类事件被丢掉。

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-10-14 19:37:56 +08:00
zzh
79fa20a9ca fix: 创单成功后把预报计费和后续事件拆开提交
All checks were successful
Build and Deploy / deploy (push) Successful in 1m0s
预报计费失败不再把订单留在处理中,轨迹、面单和自动触发在创单提交后各自入队。

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-10-14 19:23:07 +08:00
7b69bbf207 test
All checks were successful
Build and Deploy / deploy (push) Successful in 1m4s
2026-10-14 17:07:35 +08:00
zzh
b7be742046 feat: 店铺订单支持仓储代发(wms)建单,放宽创建状态限制
All checks were successful
Build and Deploy / deploy (push) Successful in 4m34s
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-10-14 15:39:31 +08:00
zzh
e85dfb80b5 feat: 仓配开放 API 与后台用户启停
All checks were successful
Build and Deploy / deploy (push) Successful in 1m1s
新增 warehouseOpenApi(Token/入库/件重尺/红外图),并在 fk_user 支持 IsEnabled 禁用登录。

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-10-13 17:53:00 +08:00
ff9c589956 fix
All checks were successful
Build and Deploy / deploy (push) Successful in 1m2s
2026-10-13 17:20:12 +08:00
09ca1c96d7 fix
Some checks failed
Build and Deploy / deploy (push) Failing after 15s
2026-10-13 16:25:22 +08:00
zzh
d5d6305f9c feat: 自动触发规则支持 Excel 导入与模板下载
All checks were successful
Build and Deploy / deploy (push) Successful in 1m2s
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-10-12 15:31:19 +08:00
zzh
32156dcfe0 fix: 轨迹订单 trackNo 仅取跟踪号,变更后重新 Upsert
All checks were successful
Build and Deploy / deploy (push) Successful in 1m1s
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-10-10 19:20:09 +08:00
zzh
fa9777bd08 fix: SqlSugar 与 EF Outbox 连接冲突时回落短事务
All checks were successful
Build and Deploy / deploy (push) Successful in 59s
发布集成事件前先挂 Outbox 上下文;连接不匹配时 RequiresNew 写 Outbox,避免预报等按钮报 transaction not associated。

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-10-10 19:01:15 +08:00
zzh
6c3a094126 feat: 下游 getFile 转存 COS,并修复集成事件 Outbox 事务
All checks were successful
Build and Deploy / deploy (push) Successful in 1m1s
新增获取下游文件接口;事件发布统一走事务性 UoW,避免批量预报等按钮报 Outbox 错误。

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-10-10 18:45:40 +08:00
957ea62f70 Merge pull request '1.03' (#4) from mq into test
Some checks failed
Build and Deploy / deploy (push) Has been cancelled
Reviewed-on: #4
2026-10-10 16:46:05 +08:00
586a6b6834 change 2026-10-10 16:41:28 +08:00
zzh
8df0f37165 feat: 订单编辑支持服务商单号并完善操作日志快照
All checks were successful
Build and Deploy / deploy (push) Successful in 1m0s
开放 DownstreamServiceNo 更新,补充包裹计费相关操作码与字段快照,便于运单详情编辑留痕。

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-10-10 16:27:49 +08:00
zzh
64737284f3 feat: 运单操作日志改为列表摘要,补齐费用/支付/预报/打印埋点
All checks were successful
Build and Deploy / deploy (push) Successful in 1m3s
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-10-10 11:46:33 +08:00
zzh
dcd985bca4 feat: 创单/出入库后置副作用接入 Fake.EventBus,预报计费排货走 MQ
将轨迹、面单、9610、揽收、自动触发与 ForecastBilling 异步化,缩短扫码与下单 RT;队列未启用时同步回落。

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-10-10 10:54:24 +08:00
zzh
da27fa4377 feat: 重算应付放行锁渠道池校验,支持切换价格/规则版本与服务商名称
All checks were successful
Build and Deploy / deploy (push) Successful in 1m0s
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-10-09 18:16:38 +08:00
zzh
2b0158acb4 feat: 运单操作日志 MVP,记录编辑/件重尺/重算/排货字段变更
All checks were successful
Build and Deploy / deploy (push) Successful in 1m0s
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-10-09 17:32:33 +08:00
zzh
358738c333 feat: 揽收单支持改信息/件重尺/重算费用,创建后自动预报下游
All checks were successful
Build and Deploy / deploy (push) Successful in 1m1s
创建成功后自动下游预报回写承运单号并升为已预约;详情可改揽收信息与件重尺并按卖买价重算。

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-10-09 16:12:12 +08:00
zzh
6852135774 feat: 仓库地址排序备注与用户注册错误提示
All checks were successful
Build and Deploy / deploy (push) Successful in 1m0s
仓库地址增加排序/备注字段与迁移;用户创建时对邮箱冲突等给出明确中文提示。

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-10-09 14:12:36 +08:00
zzh
7d14c0e5d9 fix: sync-status 只比当前配置与生效 Content,前端不参与计算
All checks were successful
Build and Deploy / deploy (push) Successful in 59s
当前侧与发布同源组装但不 Ensure;两侧同一套规范化并忽略 PackVersion/AreaName。

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-10-07 19:38:58 +08:00
zzh
0449a4a3f5 fix: 发布同步态按 ContentHash 语义对比,且不再 Ensure 写包
All checks were successful
Build and Deploy / deploy (push) Successful in 57s
sync-status 用 ResolvePackRef;哈希忽略 PackVersion/AreaName。修复卖价页发布后因价格行签名跳过刷新导致徽章卡在待发布。

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-10-07 19:21:17 +08:00
zzh
c2ac20df04 fix: 买价发布落库也走 canonical JSON,与同步态对比一致
All checks were successful
Build and Deploy / deploy (push) Successful in 58s
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-10-07 19:14:45 +08:00
zzh
73f334edc8 fix: 卖价同步态对比改用 canonical JSON,避免误报待发布
All checks were successful
Build and Deploy / deploy (push) Successful in 59s
待发布与线上两侧统一规范化后再算哈希,消除排序与 FactorValuesJson 形态差异导致的假 diff。

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-10-07 19:13:26 +08:00
zzh
9e5d6d20d5 feat: 会员概览补充等级编码与图标,收发件人国家返回二字码
All checks were successful
Build and Deploy / deploy (push) Successful in 59s
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-10-07 17:34:32 +08:00
zzh
ae4e733a71 feat: KPI 分区导入支持增量/全量,删除分区级联明细
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-10-07 17:34:31 +08:00
zzh
35156eedf4 feat: 渠道买价/规则发布钉 KPI 分区包,排货应付按渠道价区解析
All checks were successful
Build and Deploy / deploy (push) Successful in 1m1s
各渠道异构价区与偏远不再复用产品卖价 zoneKeys;发布只存包引用,计费 hydrate 后硬失败。

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-10-07 17:19:39 +08:00
zzh
bb8c0a906c feat: 卖价/规则发布钉 KPI 分区包,快照只存引用
All checks were successful
Build and Deploy / deploy (push) Successful in 1m0s
分区明细独立版本化并缓存加载,计费包缺失严格失败;同步态接口不再拉全文。

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-10-07 16:42:42 +08:00
zzh
b38499963d feat: 销售产品页签按需加载版本头和渠道下拉,避免分页拉取整份快照
All checks were successful
Build and Deploy / deploy (push) Successful in 1m1s
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-10-07 14:20:17 +08:00
zzh
a164d8c837 feat: 卖价/买价列表支持按需加载明细,缩短切换卡顿
All checks were successful
Build and Deploy / deploy (push) Successful in 1m6s
列表接口增加 includeDetails,并新增单条 price/get,供编辑弹窗按需拉取完整矩阵。

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-10-07 13:36:19 +08:00
zzh
6faadcf2a1 feat: 卖价支持多价格分区表,列表返回创建/修改人
All checks were successful
Build and Deploy / deploy (push) Successful in 1m7s
合并多 Area 分区规则进发布快照,计费用规则自身 AreaId 匹配;产品与渠道列表补 CreateBy/UpdateBy。

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-10-07 10:57:21 +08:00
zzh
f972a28d79 feat: 落地滚动会员、券发放与邀请分成奖励
All checks were successful
Build and Deploy / deploy (push) Successful in 3m50s
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-10-06 17:40:24 +08:00
zzh
8d7df40bdf feat: 销售产品独立改代码,分区明细导入保存按规则去重
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-10-06 15:37:03 +08:00
zzh
14c42db752 feat: 增加 /file-storage 接口,供附件预览按对象 key 流式读取
All checks were successful
Build and Deploy / deploy (push) Successful in 1m8s
补 normalize-key 与 stream,兼容带或不带 admin 前缀的 COS 路径。

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-10-06 12:21:06 +08:00
zzh
5bf81b5138 fix: OpenAPI 轨迹/文件补 Swagger 请求体 schema
FromBody 仅用于文档展示,验签仍读原始 Body。

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-10-06 10:39:28 +08:00
zzh
f063c99d1b feat: OpenAPI 增加轨迹/文件查询,创单按 clientNo 幂等
客户 HMAC 通过后再查本客户订单;禁止下游面单,附件增加 POD。

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-10-05 18:48:21 +08:00
zzh
b748aa4000 fix: 收紧分区 range、进位相接与仅国家估算口径
All checks were successful
Build and Deploy / deploy (push) Successful in 1m0s
进位区间改为左开右闭且禁止空洞,邮编 range 按数字/字母数字比较,查价仅国家时不再串用别国 zone。

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-10-05 17:35:18 +08:00
zzh
74a71991b2 feat: 统一价格/黑名单/偏远分区匹配,并落库 MatchDim
All checks were successful
Build and Deploy / deploy (push) Successful in 1m2s
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-10-05 16:12:09 +08:00
zzh
b17e6639a4 fix: 主数据新增兼容软删唯一键,避免 Duplicate entry
All checks were successful
Build and Deploy / deploy (push) Successful in 1m3s
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-10-05 11:53:08 +08:00
zzh
79099776a5 feat: 同一产品/渠道下卖价买价费用项唯一,禁止重复新增
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-10-05 11:23:38 +08:00