Files
workspace/ERP费用核销并发控制方案.md
T
2026-07-27 17:37:03 +08:00

12 lines
986 B
Markdown
Raw 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.
| 方案 | 存在问题 |
| ------------------------------- | ------------------------------------------------------------ |
| 存储过程核销和反核销 + 保存分开 | A和B打开了同一个收款单。A修改了核销金额点击了保存,B却点击了核销 |
| | |
| | |
| 问题 | 发生位置 | 类型 |
| -------------------------- | -------------------------- | -------------- |
| A改20,B改30 | cw_sfdsub | 丢失更新 |
| 修改后核销金额和费用不一致 | cw_sfdsub + bs_business_cw | 数据一致性问题 |
| 多人同时核销同一费用 | bs_business_cw | 余额并发问题 |