立项配置版本管理优化(回滚逻辑、UI、下载功能)
This commit is contained in:
@@ -370,7 +370,7 @@ def main() -> int:
|
||||
)
|
||||
assert_or_exit(status == 200, f"回滚失败 status={status} body={rolled}")
|
||||
assert_or_exit(
|
||||
rolled.get("publish_status") == "DRAFT"
|
||||
rolled.get("publish_status") == "PUBLISHED"
|
||||
and (rolled.get("data") or {}).get("enrollmentPlan", {}).get("totalTarget") == payload["data"]["enrollmentPlan"]["totalTarget"],
|
||||
f"回滚结果异常 body={rolled}",
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user