Commit Graph

436 Commits

Author SHA1 Message Date
zzh
ae0444b226 fix: hoist nullable filters so SqlSugar can translate warehouse rent bill list
All checks were successful
Build and Deploy / deploy (push) Successful in 1m17s
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-11-15 15:14:47 +08:00
zzh
52df7307f6 feat: 仓租费率与日结扣费接入账户流水,并补充待支付微信通知
All checks were successful
Build and Deploy / deploy (push) Successful in 1m20s
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-11-15 14:56:54 +08:00
zzh
2014ec3065 feat: 接入微信公众号订单状态模板通知
All checks were successful
Build and Deploy / deploy (push) Successful in 1m21s
支持入库/出库/签收/派送失败/问题件推送,客户默认可选订阅,运营可配模板并试发。

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-11-15 14:10:01 +08:00
zzh
79ebe77666 feat: 落地数据权限审计与公告一键已读
All checks were successful
Build and Deploy / deploy (push) Successful in 1m23s
补齐访问审计与订单/财务侧数据权限接入,并增加公告批量确认已读接口。

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-11-15 00:07:57 +08:00
zzh
d8f6a5c2b9 feat: 数据权限增加模块接入标记与订单可见量预览
All checks were successful
Build and Deploy / deploy (push) Successful in 1m19s
便于运营在配置页识别未落地模块,并按目标用户抽样验收订单范围。

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-11-14 22:45:54 +08:00
zzh
13997ae5d0 feat: 单号规则支持截取模式,扫描条码按规则解析后再查单
All checks were successful
Build and Deploy / deploy (push) Successful in 1m17s
新增 Generate/Extract 模式、匹配预览与运营扫描链路接入,并补充迁移种子与解析单测。

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-11-14 19:28:10 +08:00
zzh
91d5aa1725 feat: 密码登录增加 IP 限流、失败锁定与图形验证码
Some checks failed
Build and Deploy / deploy (push) Has been cancelled
降低账号密码撞库与爆破风险,失败达阈值后再要求验证码。

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-11-14 19:26:50 +08:00
zzh
0e68f7a87e feat: 单号规则可配置生成(运单/客户单号/揽收/大包/主单)
All checks were successful
Build and Deploy / deploy (push) Successful in 1m18s
支持按产品、渠道、国家匹配占位符公式,未命中沿用内置规则。

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-11-14 18:12:52 +08:00
zzh
f8d2d563dc refactor: 品牌 IDE 切换为 BCD
All checks were successful
Build and Deploy / deploy (push) Successful in 1m18s
运单号与新建工号改为 BCD 前缀;序号推算与轨迹识别仍兼容历史 IDE。

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-11-13 18:10:19 +08:00
zzh
c2eae1c327 feat: 落库微信 UnionID,支持换公众号昵称+手机号迁移 OpenID
All checks were successful
Build and Deploy / deploy (push) Successful in 1m17s
注册/绑定写入 UnionID;授权登录可回填。换公众号时昵称命中存量客户可凭手机号确认,更新 WechatOpenid 与 UnionID 后登录。

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-11-12 16:34:50 +08:00
zzh
40b2b7cb72 fix: 分区展示名优先用 KPI 方案名而非省市区
All checks were successful
Build and Deploy / deploy (push) Successful in 1m17s
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-11-12 13:01:11 +08:00
zzh
3dfb587143 fix: 定价工作台预览分区显示可读名而非明细 Id
All checks were successful
Build and Deploy / deploy (push) Successful in 1m17s
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-11-12 12:58:50 +08:00
zzh
d1beefb2be feat: 定价工作台买价反推卖价预览与草稿回写
All checks were successful
Build and Deploy / deploy (push) Successful in 1m16s
支持多渠道最低买价对齐合成、毛利率硬计算预览,以及回写销售产品草稿卖价(不自动发布)。

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-11-12 11:19:36 +08:00
zzh
8a4a0787cd feat: 客户余额人工调整写入账户流水
All checks were successful
Build and Deploy / deploy (push) Successful in 1m17s
新增 /customer/adjust-balance;更新接口忽略直接改余额,避免无痕调整。

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-11-11 17:34:45 +08:00
zzh
f453661e46 feat: AI 对话支持 ops 受众,运营端不挂客户 MCP 工具
All checks were successful
Build and Deploy / deploy (push) Successful in 1m20s
Audience=ops 时强制空工具并切换运营排障系统提示,避免误调查价/轨迹/对客说明。

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-11-11 14:33:28 +08:00
zzh
28477e98bb fix: 卖价费用项依赖附加服务时校验产品已勾选对应服务
All checks were successful
Build and Deploy / deploy (push) Successful in 1m17s
避免保险费/代打包费在产品未开通附加服务时仍可保存或发布,下单无法勾选导致收不到费。

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-11-11 10:14:54 +08:00
zzh
9e45e7f185 feat: 营销分析增加积分健康度汇总接口
All checks were successful
Build and Deploy / deploy (push) Successful in 2m4s
按流水时间统计发放/扣回/调账与环比趋势,并返回账户可用积分时点沉淀。

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-11-11 08:59:14 +08:00
zzh
26ef78d01e fix: 营销/代理分析查询改为串行,避免 MySQL 连接复用报错
All checks were successful
Build and Deploy / deploy (push) Successful in 1m20s
同一作用域 SqlSugar 连接不能 Task.WhenAll 并发查询。

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-11-10 18:36:25 +08:00
zzh
6b00451914 feat: 营销/代理分析汇总 API,并补应收应付代理字段
All checks were successful
Build and Deploy / deploy (push) Successful in 1m18s
为老板看板提供服务端区间汇总(总览、排行/漏斗与导出),应收应付列表带上 AgentId 供财务分析代理维使用。

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-11-10 18:32:39 +08:00
zzh
99e7650dd8 fix: 客户列表无 monitorScope 时被 SqlSugar 空结果过滤
All checks were successful
Build and Deploy / deploy (push) Successful in 1m30s
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-11-09 15:57:57 +08:00
zzh
c847fadd06 feat: sync-status 返回价格发布是否需审批
All checks were successful
Build and Deploy / deploy (push) Successful in 1m15s
供前端发布弹窗按 ApprovalRequired 切换提交文案。

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-11-09 09:40:27 +08:00
zzh
6e061323e9 fix: 审批 Handler 注入与价格失败态重提支持
All checks were successful
Build and Deploy / deploy (push) Successful in 1m18s
显式注册 IApprovalOperationHandler,稳定 sync 哈希,并回填驳回/执行失败供重提。

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-11-09 09:35:48 +08:00
zzh
d83d290ccb feat: 审批摘要对人可读并支持站内信深链
All checks were successful
Build and Deploy / deploy (push) Successful in 1m17s
充值载荷补截图与支付方式;价格摘要去掉哈希;通知内容写入审批单深链标记。

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-11-09 09:18:11 +08:00
zzh
2ca7d0c1d6 feat: 价格发布审批态通知与充值入账接入审批
All checks were successful
Build and Deploy / deploy (push) Successful in 1m22s
补齐价格 sync-status 在途审批字段与站内信通知;充值提交走审批门面,终审入账/驳回同步记录。

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-11-09 08:57:43 +08:00
zzh
c3283f110f feat: 销售产品价格发布接入审批门面
All checks were successful
Build and Deploy / deploy (push) Successful in 1m16s
启用 Channel.SalesProduct.PublishPrice 后冻结快照建单,终审通过再落发布记录;未配置则 Bypass 直发。

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-11-07 18:43:06 +08:00
zzh
649b84c1b0 feat: 新增单级可配置审批引擎与配置/待办 API
All checks were successful
Build and Deploy / deploy (push) Successful in 1m18s
一期落地定义、实例、任务、事件及模拟提交通路,业务接入后续再挂 Operation Adapter。

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-11-07 18:27:41 +08:00
zzh
2984b9c885 feat: 大包/主单面单打印与标签类型 shipBag、shipMaster
All checks were successful
Build and Deploy / deploy (push) Successful in 1m16s
支持按模板批量出签,并补齐件重尺等字段与设计器预览字段。

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-11-07 17:55:51 +08:00
zzh
8f43684217 feat: 出库大包/内部主单 API,并固化 DDL 审计字段规范
All checks were successful
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
zzh
c4eb12c3ee feat: 支持可配置充值收款码,并补客户监控下钻筛选
All checks were successful
Build and Deploy / deploy (push) Successful in 5m14s
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-11-07 12:33:53 +08:00
zzh
9bbdd73690 feat: 批量邮件记录关键词查询与近30天查重预检
All checks were successful
Build and Deploy / deploy (push) Successful in 1m56s
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-11-04 14:59:12 +08:00
zzh
9be7fcd143 fix: 客户公开注册接口允许匿名访问,避免注册页 401
All checks were successful
Build and Deploy / deploy (push) Successful in 1m11s
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-10-30 17:33:04 +08:00
zzh
1f066f63c8 fix: 代理返佣导出触发状态改为中文订单状态名
All checks were successful
Build and Deploy / deploy (push) Successful in 1m13s
导出明细不再直接写英文/原始状态码,与门户展示口径一致。

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-10-30 12:31:37 +08:00
zzh
07f589d57b feat: 代理返佣下单预计与 Outbox 异步落库
All checks were successful
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
zzh
4b237c1374 fix: 代理运单列表按名下客户过滤
All checks were successful
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
zzh
b6831bad1d feat: 代理门户能力与客户绑定代理改绑
All checks were successful
Build and Deploy / deploy (push) Successful in 1m14s
补齐工作台/名下客户订单返佣、注册校验与运营端客户 AgentId 改绑,订单列表按代理快照过滤。

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-10-30 10:18:32 +08:00
zzh
0c89ec6ce5 fix: 代理迁移脚本补充 ConcurrencyStamp,避免 MySQL 1674
All checks were successful
Build and Deploy / deploy (push) Successful in 1m12s
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-10-29 18:38:18 +08:00
zzh
1d987cde6e feat: 新增渠道代理注册归因与返佣明细
All checks were successful
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
zzh
221a2c8a66 feat: KPI分区明细列表支持起始/截止邮编排序
All checks were successful
Build and Deploy / deploy (push) Successful in 1m13s
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-10-29 16:37:33 +08:00
zzh
8a4848644f feat: KPI分区明细列表支持表头字段后端筛选
All checks were successful
Build and Deploy / deploy (push) Successful in 1m22s
EOF

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-10-29 16:04:02 +08:00
zzh
b87414aafd fix: 自动触发公式修复括号布尔组与 ||/&& 短路解析
All checks were successful
Build and Deploy / deploy (push) Successful in 1m11s
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-10-28 15:40:14 +08:00
zzh
d20c10a2f2 feat: 自动触发公式支持有值/为空校验
All checks were successful
Build and Deploy / deploy (push) Successful in 1m12s
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-10-28 15:07:40 +08:00
zzh
ab37f59b1a feat: 品名可承运查询支持仅凭 cargoName 调用 oms.channel_guide
All checks were successful
Build and Deploy / deploy (push) Successful in 1m13s
客户问能不能寄/走什么渠道时强制调工具;无产品代码则按对客说明检索可走渠道。

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-10-28 11:17:35 +08:00
zzh
fc48b84f80 fix: AI 对话解析多模型 JSON 配置,取 defaultModelId
All checks were successful
Build and Deploy / deploy (push) Successful in 1m12s
兼容 apiSecret 纯模型名与 {defaultModelId,models} 结构,避免多模型配置后请求失败。

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-10-28 10:46:36 +08:00
zzh
efbb18c7c3 feat: AI 提供商列表明文回传默认模型,并按类型回落模型名
All checks were successful
Build and Deploy / deploy (push) Successful in 1m17s
ApiSecret 实际承载文字主模型,列表不再脱敏;未配置时 Chat 按厂商默认模型回落。

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-10-28 10:32:59 +08:00
zzh
346f41c204 feat: 运单列表筛选补齐拦截/偏远/COD及处理状态等字段
All checks were successful
Build and Deploy / deploy (push) Successful in 1m12s
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-10-27 09:48:01 +08:00
zzh
ff9a3ae8be feat: 订阅轨迹中心 TrackChange,按 D03/D09/D11 同步出库后订单状态
All checks were successful
Build and Deploy / deploy (push) Successful in 1m13s
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-10-27 09:46:28 +08:00
zzh
fef409a4ce fix: 删除订单只改状态,已删除 Tab 可查
All checks were successful
Build and Deploy / deploy (push) Successful in 1m12s
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-10-26 18:35:56 +08:00
zzh
6be97e7232 perf: 加速查价——批量快照、绑定缓存与并行算价
All checks were successful
Build and Deploy / deploy (push) Successful in 1m13s
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-10-26 18:06:49 +08:00
zzh
5af567b519 chore: retrigger test deploy
All checks were successful
Build and Deploy / deploy (push) Successful in 1m12s
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-10-26 12:00:00 +08:00
zzh
3c85b7325f feat: 运单发货后状态变更接口
Some checks failed
Build and Deploy / deploy (push) Failing after 45s
新增 ChangePostShipStatus,限制发货后四态白名单,妥投成功仅可进入不可改出。

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-10-26 11:46:33 +08:00