DPI 1-4문항 레이어명 불일치시 "확인필요"로 처리

This commit is contained in:
2026-02-19 16:35:49 +09:00
parent a03dabcdf6
commit aadc68d2a7
32 changed files with 71 additions and 14 deletions

View File

@@ -9,7 +9,7 @@ const stringSimilarity = require("string-similarity");
* @param {number} threshold - 유사도 기준 (0~1)
* @returns {string} - 유사한 문자열
*/
function findSimilarString(xmlDoc, targetString, threshold = 0.8) {
function findSimilarString(xmlDoc, targetString, threshold = 0.7) {
// XML 내부의 비교 대상 텍스트 리스트 찾기
function getTextNodes(xmlDoc, paths = ["//CRCUnitArr/@Name"]) {
const stringList = [];