Repository navigation
fix(factory): 避免已保存申领被附件读取错误误报失败 - #3
Merged
Merged
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
创建申领已经在数据库提交成功时,后续用于展示的资产查询若失败,界面会误报提交失败,用户再次提交可能生成重复单据。现在先读取并校验资产,再执行创建 RPC;收到成功回包后直接返回单据,不再被附属读取失败覆盖。
新增三项回归覆盖写入前读取失败、写入成功后网络不可用和断针照片约束。同步个人试用部署证据与真实存储验收步骤,区分已验证的静态入口/回跳/云端权限与待完成的真实用户登录后验收。数据库迁移、权限及多提供方契约保持不变。
验证:
npm ci(audit 0);npm run check(242 项测试与三个构建通过);工厂浏览器回归 9/9;独立代码复核无阻塞问题。创建 RPC 自身回包丢失仍需先刷新确认,本修复不宣称覆盖所有创建幂等问题。