fix: 安全日志查询类型
This commit is contained in:
@@ -17,7 +17,7 @@ export async function listSecurityLog(query: Record<string, any>) {
|
|||||||
querySQL += ` and account_name like '%${query.accountName}%' `;
|
querySQL += ` and account_name like '%${query.accountName}%' `;
|
||||||
}
|
}
|
||||||
if (query.opType) {
|
if (query.opType) {
|
||||||
querySQL += ` and op_type = ${query.opType} `;
|
querySQL += ` and op_type = '${query.opType}' `;
|
||||||
}
|
}
|
||||||
if (query.beginTime) {
|
if (query.beginTime) {
|
||||||
querySQL += ` and op_time >= '${query.beginTime}' `;
|
querySQL += ` and op_time >= '${query.beginTime}' `;
|
||||||
|
|||||||
Reference in New Issue
Block a user