add: saldo deposit in get member
This commit is contained in:
@@ -126,6 +126,12 @@ export class UsersService {
|
||||
'user_detail',
|
||||
`user_detail.user = user.id`,
|
||||
)
|
||||
.leftJoinAndMapOne(
|
||||
'user.coa',
|
||||
COA,
|
||||
'coa',
|
||||
`coa.user = user.id and coa.type = '0'`,
|
||||
)
|
||||
.select([
|
||||
'user.id',
|
||||
'user.username',
|
||||
@@ -133,6 +139,7 @@ export class UsersService {
|
||||
'roles.id',
|
||||
'roles.name',
|
||||
'user_detail',
|
||||
'coa.amount',
|
||||
]);
|
||||
|
||||
const data = await baseQuery
|
||||
@@ -175,6 +182,12 @@ export class UsersService {
|
||||
'user_detail',
|
||||
`user_detail.user = user.id`,
|
||||
)
|
||||
.leftJoinAndMapOne(
|
||||
'user.coa',
|
||||
COA,
|
||||
'coa',
|
||||
`coa.user = user.id and coa.type = '0'`,
|
||||
)
|
||||
.select([
|
||||
'user.id',
|
||||
'user.username',
|
||||
@@ -182,6 +195,7 @@ export class UsersService {
|
||||
'roles.id',
|
||||
'roles.name',
|
||||
'user_detail',
|
||||
'coa.amount',
|
||||
]);
|
||||
|
||||
const data = await baseQuery
|
||||
|
||||
Reference in New Issue
Block a user