fix: 跟踪管理支持模糊查询
This commit is contained in:
1 parent
f40e9136fc
commit
0dcb5e86a6
3 files changed
+11
-7
No files matched your search
@@ -14,7 +14,7 @@ export async function listTraceTask(query: Record<string, any>) {
|
||||
// 查询
|
||||
let querySQL = '';
|
||||
if (query.imsi) {
|
||||
querySQL += ` and imsi = '${query.imsi}' `;
|
||||
querySQL += ` and imsi like '%${query.imsi}%' `;
|
||||
}
|
||||
|
||||
// 分页
|
||||
|
||||
Reference in new issue
Block a user