dy-dashboard/vault/知识库/工作指南/训练记录/2026-08-19-月退款与呆滞金额刷新回退修复.md
2026-10-28 11:14:17 +08:00

10 lines
777 B
Markdown
Raw Permalink Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

### 1. 修复月退款金额和呆滞库存金额刷新后回退
**旭东 → OpenClaw:**
> 还是有异常
> 月退款金额、呆滞库存金额2个输入框输入内容点击保存,强制刷新之后保存失败
**OpenClaw 响应:**
已定位并修复。两个字段的数据实际已经成功写入数据库,异常来自库存看板使用进程内缓存:当前 Gunicorn 有4个worker,保存请求只清除了其中一个worker的缓存,刷新请求若落到其他worker会读取旧值,看起来像保存失败。现已取消库存看板接口的进程内结果缓存,每次读取数据库最新月份手工值。已确认2026-08月退款金额和呆滞库存金额记录仍在,重启服务后状态active、HTTP 200。Git提交:9a044f9。
已记录