mirror of
https://github.com/maybe-finance/maybe.git
synced 2025-08-09 07:25:19 +02:00
spacing
This commit is contained in:
parent
c1f9664c5e
commit
fc3302f150
1 changed files with 8 additions and 8 deletions
|
@ -143,7 +143,7 @@ export class AccountQueryService implements IAccountQueryService {
|
||||||
he.value DESC
|
he.value DESC
|
||||||
OFFSET ${page * pageSize}
|
OFFSET ${page * pageSize}
|
||||||
LIMIT ${pageSize};
|
LIMIT ${pageSize};
|
||||||
`
|
`
|
||||||
)
|
)
|
||||||
|
|
||||||
return rows
|
return rows
|
||||||
|
@ -204,7 +204,7 @@ export class AccountQueryService implements IAccountQueryService {
|
||||||
) v
|
) v
|
||||||
ORDER BY
|
ORDER BY
|
||||||
v.date ASC
|
v.date ASC
|
||||||
`
|
`
|
||||||
)
|
)
|
||||||
|
|
||||||
return rows
|
return rows
|
||||||
|
@ -293,7 +293,7 @@ export class AccountQueryService implements IAccountQueryService {
|
||||||
ORDER BY
|
ORDER BY
|
||||||
account_id, date ASC
|
account_id, date ASC
|
||||||
) b0 ON b0.account_id = b.account_id
|
) b0 ON b0.account_id = b.account_id
|
||||||
`
|
`
|
||||||
)
|
)
|
||||||
|
|
||||||
return rows
|
return rows
|
||||||
|
@ -324,7 +324,7 @@ export class AccountQueryService implements IAccountQueryService {
|
||||||
${pInterval},
|
${pInterval},
|
||||||
${pAccountIds}
|
${pAccountIds}
|
||||||
) abg
|
) abg
|
||||||
`
|
`
|
||||||
)
|
)
|
||||||
|
|
||||||
return rows
|
return rows
|
||||||
|
@ -352,7 +352,7 @@ export class AccountQueryService implements IAccountQueryService {
|
||||||
WHERE
|
WHERE
|
||||||
(a.user_id = ${id.userId} OR ac.user_id = ${id.userId})
|
(a.user_id = ${id.userId} OR ac.user_id = ${id.userId})
|
||||||
AND a.is_active
|
AND a.is_active
|
||||||
)`
|
)`
|
||||||
|
|
||||||
const pStart = raw(`'${start}'`)
|
const pStart = raw(`'${start}'`)
|
||||||
const pEnd = raw(`'${end}'`)
|
const pEnd = raw(`'${end}'`)
|
||||||
|
@ -399,7 +399,7 @@ export class AccountQueryService implements IAccountQueryService {
|
||||||
(abg.date)
|
(abg.date)
|
||||||
)
|
)
|
||||||
ORDER BY date ASC;
|
ORDER BY date ASC;
|
||||||
`
|
`
|
||||||
)
|
)
|
||||||
|
|
||||||
// Group independent rows into NetWorthSeries objects
|
// Group independent rows into NetWorthSeries objects
|
||||||
|
@ -461,7 +461,7 @@ export class AccountQueryService implements IAccountQueryService {
|
||||||
WHERE
|
WHERE
|
||||||
(a.user_id = ${id.userId} OR ac.user_id = ${id.userId})
|
(a.user_id = ${id.userId} OR ac.user_id = ${id.userId})
|
||||||
AND a.is_active
|
AND a.is_active
|
||||||
)`
|
)`
|
||||||
|
|
||||||
const pStart = raw(`'${start}'`)
|
const pStart = raw(`'${start}'`)
|
||||||
const pEnd = raw(`'${end}'`)
|
const pEnd = raw(`'${end}'`)
|
||||||
|
@ -521,7 +521,7 @@ export class AccountQueryService implements IAccountQueryService {
|
||||||
LEFT JOIN account_connection ac ON ac.id = a.account_connection_id
|
LEFT JOIN account_connection ac ON ac.id = a.account_connection_id
|
||||||
ORDER BY
|
ORDER BY
|
||||||
ar.classification, ar.category, ar.id, ar.date;
|
ar.classification, ar.category, ar.id, ar.date;
|
||||||
`
|
`
|
||||||
)
|
)
|
||||||
|
|
||||||
return rows
|
return rows
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue