修复匹配的问题

This commit is contained in:
andy committed 2026-09-19 11:06:02 +08:00
1 parent 6eeaee07d4
commit ea9c4b34c6
23 files changed
+470 -31

No files matched your search

+1 -1
View File
@@ -1,7 +1,7 @@
{
"contract_version": "ltjt-lifecycle-v2.9-roster-leader-contact-2026-08",
"current_agent_parse_prompt_version": "ltjt-agent-prompt-v1.8-independent-headcount-categories",
"current_extension_version": "0.5.187",
"current_extension_version": "0.5.188",
"original_arrangement_date_selection": "Hotel, vehicle, transport and other/filing update selection accepts MM-DD or YYYY-MM-DD; omitted year matches original ERP month/day within the exact group only. Require exactly one persisted row, then freeze its actual full dates and id. Full year is exact; mixed/cross-year endpoints are matched independently with actual range order checked. No match or ambiguity blocks before mutation; show up to five original candidates and ask to resubmit complete dates. Creation and legacy target-date changes retain existing semantics.",
"historical_test_marker": "TEST-202609",
"scope": "/System/Business/",
+4 -1
View File
@@ -204,7 +204,9 @@
"pricing_metadata_target": "baojia"
},
"endpoint_hint": "../dat/AjaxPublicFun.asp?Act=ProGetProductname&fls=1&fabudanwei=${fabudanwei}; ../dat/AjaxPublicFun.asp?Act=GetProduct&cpm=${chanpinming}",
"match_rule": "exact_name_or_configured_alias",
"match_rule": "nfkc_whitespace_normalized_exact_then_unique_contains",
"comparison_rule": "normalize both requested name and ERP candidate using NFKC and removal of whitespace; retain punctuation and business qualifiers; multiple normalized exact matches block even if one raw spelling is exact",
"selected_value_rule": "write the original ERP candidate name to chanpinming and invoke native Find_product/GetProduct; never write the normalized comparison key",
"submit_blocker_if_unresolved": true,
"source_region_rule": "derive for diagnostics only; never compare product and customer source-region tokens as a write gate"
},
@@ -229,6 +231,7 @@
"row_delimiter": "◇",
"column_delimiter": "◆",
"strict_rule": "For SelectBox-bound fields, direct text assignment is not sufficient for production. Runtime must resolve exactly one existing row and apply the page's SetVal mapping.",
"initial_failure_rule": "If initial validation or lookup fails, return before form mutation; retain initial lookup counts, distinguish zero/multiple product matches and mark dependent linkage, restoration, final-form validation and submit interception as skipped instead of reporting cascading failures.",
"critical_selectboxes": [
{
"name": "trip_days",