F2-4(一): 修 XML 实体污染并重批重入库,固化标准入库器

- run_eval: PG xpath(...)::text 保留实体转义(< → &lt;),抽取后补 XML 预定义实体反转义
  (等价手册 §5.3 dom4j getText() 语义);293 个污染产物清零,Groovy 编译失败根因消除
- 缓存重建(源=eip4dev,1428 条:1 模板改名+1 新增脚本属数据演进);全量重跑
  497/30/86/815,自动化率 81.1% 守住 ≥80%
- 重大发现:同模板内脚本顺序在两次抽取间会交换((templateId,seq) 非稳定键,
  welfare 模板 seq1↔seq2 实锤)——重批后 onEvent seq 已与磁盘对齐,长期需内容哈希键(登记 F2-4)
- tools/page-schema-loader/load_page_schema.py:幂等标准入库器(etag=sha256,version 递增,
  仅允许 localhost 双库);本次双库各更新 756/幂等跳过 733,e2e 28/28 保持全绿
- 坑:mvn exec:java 的 -Dexec.args 引号空参会被吞导致参数错位(密码用占位符代替空串)

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
This commit is contained in:
2026-06-11 21:27:20 +08:00
parent 8e02c0149b
commit a711ecd8f0
1000 changed files with 7612 additions and 7128 deletions

View File

@@ -11,7 +11,7 @@ import com.vaadin.ui.Button.ClickListener;
import com.vaadin.data.Property.ValueChangeListener;
import com.vaadin.data.Property.ValueChangeEvent;
import com.dsasp.client.viewframework.listener.ConfirmDialogListener;
def reads = group.getField("READS");
def reads = group.getField("UNDERTAKES");
final Button cb = new Button("催办");
final Object table = reads?.table;
table?.setImmediate(true);
@@ -21,16 +21,16 @@ cb?.addClickListener(new ClickListener() {
Object o = table?.getValue();
if (o == null)
return;
final id = o?.getField("VIEW_OA_FILETOME_ID")?.getValue();
final pojo = GetServicesFunction.loadPOJO(id,"VIEW_OA_FILETOME",true);
final id = o?.getField("VIEW_OA_UNDERTAKETOME_ID")?.getValue();
final pojo = GetServicesFunction.loadPOJO(id,"VIEW_OA_UNDERTAKETOME",true);
def user = GetServicesFunction.loadPOJO(pojo?.get_Value("RECEIVER"),"SYS_USER",true)?.get_Value("NAME");
showConfirmDialog("确定要对" + user + "进行催办吗?",new ConfirmDialogListener(){
public void yes(){
def message = [:];
message.put("title", "收到新的阅读催办");
message.put("title", "收到新的承办催办");
message.put("file", "文件名称:" + pojo?.get_Value("FILENAME")); //文件名
message.put("user", pojo?.get_Value("RECEIVER")); //接收人
message.put("type", 7); //阅读消息
message.put("type", 6); //阅读消息
message.put("id", id); //uuid
/*
if ("收文".equals(pojo?.get_Value("FILECLASS"))) //标记
@@ -48,14 +48,14 @@ cb?.addClickListener(new ClickListener() {
table?.addValueChangeListener(new ValueChangeListener() {
public void valueChange(Property.ValueChangeEvent event) {
Object o = table?.getValue();
final id = o?.getField("VIEW_OA_FILETOME_ID")?.getValue();
final pojo = GetServicesFunction.loadPOJO(id,"VIEW_OA_FILETOME",true);
if (o == null || pojo.get_Value("ISREAD") == 1)
final id = o?.getField("VIEW_OA_UNDERTAKETOME_ID")?.getValue();
final pojo = GetServicesFunction.loadPOJO(id,"VIEW_OA_UNDERTAKETOME",true);
if (o == null || pojo.get_Value("ISFINISH") == 1)
cb.setEnabled(false);
else
cb.setEnabled(true);
}
}
});
cb?.setEnabled(false);
reads.addButton(cb, 1);
reads?.addButton(cb, 1);