This commit is contained in:
张成
2025-11-26 20:25:02 +08:00
parent 60f13c3ad7
commit 4db078c80a
6 changed files with 167 additions and 17 deletions

View File

@@ -53,7 +53,12 @@ class PlaAccountService {
// 搜索条件
if (key && value) {
where[key] = { [op.like]: `%${value}%` };
// 对于 sn_code 使用精确匹配,其他字段使用模糊匹配
if (key === 'sn_code') {
where[key] = value;
} else {
where[key] = { [op.like]: `%${value}%` };
}
}
// 平台筛选