u
This commit is contained in:
@@ -42,13 +42,16 @@ WHERE id = @id
|
||||
|
||||
export const LIST = `
|
||||
SELECT
|
||||
id,
|
||||
root_category_id AS rootCategoryId,
|
||||
default_language_id AS languageId,
|
||||
taxrate AS taxrateId,
|
||||
reducedtaxrate AS reducedtaxrateId,
|
||||
taxfreerate AS taxfreerateId
|
||||
FROM company
|
||||
c.id,
|
||||
c.name,
|
||||
c.root_category_id AS rootCategoryId,
|
||||
c.default_language_id AS languageId,
|
||||
c.taxrate,
|
||||
c.reducedtaxrate,
|
||||
c.taxfreerate
|
||||
FROM company c
|
||||
INNER JOIN companyuser cu ON cu.company_id = c.id
|
||||
WHERE cu.google_auth_id = @authId
|
||||
`;
|
||||
|
||||
export const DELETE = `
|
||||
|
||||
Reference in New Issue
Block a user