Skip to content

Commit 73f5dab

Browse files
Copilothzb666
andcommitted
docs(wiki): align common shelf table and permissions wording
Agent-Logs-Url: https://github.com/hzb666/LabStorageManager/sessions/8061ea8c-0226-441c-978b-1c76744b876d Co-authored-by: hzb666 <29155232+hzb666@users.noreply.github.com>
1 parent e53040a commit 73f5dab

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

wiki/backend/api-workflows.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@
4646
- `borrow``return` 会修改状态、写借还历史,并通过 SSE 通知前端。
4747
- `dashboard/my-borrows``dashboard/pending-stockin` 为首页和仪表盘聚合数据。
4848
- `import/template``import` 组成 Excel 导入链路。
49-
- 常用货架不单独建表,而是通过 `CommonShelf` 模型维护,按 `CAS + 品牌 + 规格` 形成分组键 `group_key`,并由 `/api/common-shelf/*` 提供分组级与瓶级操作。
49+
- 常用货架由独立的 `common_shelf` 表(`CommonShelf` 模型)维护,按 `CAS + 品牌 + 规格` 形成分组键 `group_key`,并由 `/api/common-shelf/*` 提供分组级与瓶级操作。
5050
- 手动加瓶前会校验 CAS 主数据;若缺失主数据,需要先走 `/api/chemical-name-map` 完成补录,避免常用货架出现无法稳定展示名称的脏数据。
5151

5252
## 事件驱动补充层

wiki/user-guide/inventory-and-borrowing.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -128,7 +128,7 @@
128128

129129
### 这个操作有什么限制
130130

131-
这个操作只有管理员可以用。普通用户点了也会提示权限不够
131+
只要登录即可执行,不是管理员专属
132132

133133
### 它和借用有什么不同
134134

@@ -147,7 +147,7 @@
147147
- 删除分组
148148
- 导出分组
149149

150-
其中“拿一瓶”(扣减 1 瓶)和删除整组仍然只有管理员可用
150+
删除整组仍然只有管理员可用;“拿一瓶”(扣减 1 瓶)登录用户即可操作
151151

152152
## 手动补录怎么分
153153

0 commit comments

Comments
 (0)