- 新增 tools/s3_rewriter/run_batch_regression.py:1,322 条(FULL_AUTO 507 + NO_S3 815) 全量批量回归 harness;并发 6,写路径安全排除,失败自动归因分桶 - rewrite.py F2-4 修复:新增 _NOTIF_IMPORT_RE,在 _apply_dynamic_button 和 rewrite_script 末尾统一剥离 com.vaadin.ui.Notification import,下次重跑改写器自动生效 - 磁盘产物 patch:17 条 FULL_AUTO groovy 批量剥离 Notification import - 结果 JSON:batch_regression_20260612_024512.json(0.46MB) - 报告:docs/P1/F2-4批量回归报告.md 回归结论:FULL_AUTO 90.7%(459/506),闭包动词专项 3/4 通过, e2e 50 基线 46/50(4 条均在已知缺口桶,无新增回归),真缺口 42 条 Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
12 lines
549 B
Groovy
12 lines
549 B
Groovy
// === EIP4 P4 脚本迁移产出 ===
|
|
// template_id : 2fb53bc0-ec8e-425d-a75e-7369f77200cc
|
|
// template_name: 收发存明细
|
|
// seq : 1
|
|
// label : FULL_AUTO
|
|
// 处置 : 全自动改写完成,直接入 P4 转换流水线
|
|
if(getFieldValue("STORE_ID") == null){
|
|
setFieldValue("STORE_ID", getFieldDataSource("STORE_ID")?.firstItemId());
|
|
}
|
|
if(getFieldDataSource("STORE_ID")?.firstItemId() == null || getFieldDataSource("STORE_ID")?.firstItemId() ==""){
|
|
showToast("没有可选的办公用品库!", Type.ERROR_MESSAGE);
|
|
} |