fix: 跟踪管理支持模糊查询

This commit is contained in:
TsMask
2023-09-26 17:34:53 +08:00
parent f40e9136fc
commit 0dcb5e86a6
3 changed files with 11 additions and 7 deletions

View File

@@ -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}%' `;
}
// 分页