1
This commit is contained in:
@@ -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}%` };
|
||||
}
|
||||
}
|
||||
|
||||
// 平台筛选
|
||||
|
||||
Reference in New Issue
Block a user