@@ -83,9 +83,7 @@ SELECT
|
|||||||
document_id,
|
document_id,
|
||||||
report_id,
|
report_id,
|
||||||
trust_center_file_id,
|
trust_center_file_id,
|
||||||
active,
|
|
||||||
status,
|
status,
|
||||||
requested,
|
|
||||||
created_at,
|
created_at,
|
||||||
updated_at
|
updated_at
|
||||||
FROM
|
FROM
|
||||||
@@ -134,9 +132,7 @@ SELECT
|
|||||||
document_id,
|
document_id,
|
||||||
report_id,
|
report_id,
|
||||||
trust_center_file_id,
|
trust_center_file_id,
|
||||||
active,
|
|
||||||
status,
|
status,
|
||||||
requested,
|
|
||||||
created_at,
|
created_at,
|
||||||
updated_at
|
updated_at
|
||||||
FROM
|
FROM
|
||||||
@@ -186,9 +182,7 @@ SELECT
|
|||||||
document_id,
|
document_id,
|
||||||
report_id,
|
report_id,
|
||||||
trust_center_file_id,
|
trust_center_file_id,
|
||||||
active,
|
|
||||||
status,
|
status,
|
||||||
requested,
|
|
||||||
created_at,
|
created_at,
|
||||||
updated_at
|
updated_at
|
||||||
FROM
|
FROM
|
||||||
|
|||||||
@@ -106,16 +106,14 @@ func (f *TrustCenterFiles) LoadByIDs(
|
|||||||
SELECT
|
SELECT
|
||||||
id,
|
id,
|
||||||
organization_id,
|
organization_id,
|
||||||
bucket_name,
|
name,
|
||||||
mime_type,
|
category,
|
||||||
file_name,
|
file_id,
|
||||||
file_key,
|
trust_center_visibility,
|
||||||
file_size,
|
|
||||||
created_at,
|
created_at,
|
||||||
updated_at,
|
updated_at
|
||||||
deleted_at
|
|
||||||
FROM
|
FROM
|
||||||
files
|
trust_center_files
|
||||||
WHERE
|
WHERE
|
||||||
%s
|
%s
|
||||||
AND id = ANY(@ids);
|
AND id = ANY(@ids);
|
||||||
|
|||||||
Reference in New Issue
Block a user