fix: 套餐使用租户查询参数类型推断
This commit is contained in:
@@ -88,7 +88,7 @@ public sealed class GetTenantPackageTenantsQueryHandler(IDapperExecutor dapperEx
|
||||
from public.tenants t
|
||||
where t."DeletedAt" is null
|
||||
and (
|
||||
@keyword is null
|
||||
@keyword::text is null
|
||||
or t."Name" ilike ('%' || @keyword::text || '%')
|
||||
or t."Code" ilike ('%' || @keyword::text || '%')
|
||||
or coalesce(t."ContactName", '') ilike ('%' || @keyword::text || '%')
|
||||
@@ -134,7 +134,7 @@ public sealed class GetTenantPackageTenantsQueryHandler(IDapperExecutor dapperEx
|
||||
) s on true
|
||||
where t."DeletedAt" is null
|
||||
and (
|
||||
@keyword is null
|
||||
@keyword::text is null
|
||||
or t."Name" ilike ('%' || @keyword::text || '%')
|
||||
or t."Code" ilike ('%' || @keyword::text || '%')
|
||||
or coalesce(t."ContactName", '') ilike ('%' || @keyword::text || '%')
|
||||
|
||||
Reference in New Issue
Block a user