Error information:
QUERY: SELECT t_document.document_id, t_document.document_code, t_document.publish_date, t_document.topic, t_document.author_name_list , t_document.update_date, t_document.publish_date_year, t_document.imprint, t_document.document_type, t_document.total_page , create_user.first_name_thai as create_user_first_name, create_user.last_name_thai as create_user_last_name, create_org.org_name_thai as create_user_org_name , update_user.first_name_thai as update_by FROM t_document LEFT JOIN t_attachment ON t_attachment.ref_id = t_document.document_id AND t_attachment.ref_table = 't_document' AND t_attachment.type = 'document' AND t_attachment.status = 'A' LEFT JOIN mas_option as document_type ON t_document.document_type = document_type.option_code AND document_type.ref_table = 't_document' AND document_type.field_name = 'document_type' LEFT JOIN t_document_author ON t_document.document_id = t_document_author.document_id LEFT JOIN t_user as create_user ON t_document.create_by = create_user.user_id LEFT JOIN t_organization as create_org ON cre