Skip to content

Commit

Permalink
add count of order in total method
Browse files Browse the repository at this point in the history
  • Loading branch information
bahram1249 committed Jun 2, 2024
1 parent 230e54d commit 5f74571
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -131,6 +131,7 @@ export class AdminCourierService {

queryBuilder = queryBuilder
.attributes([
[Sequelize.fn('count', Sequelize.col('ECOrder.id')), 'cntOrder'],
[
Sequelize.fn(
'isnull',
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -124,6 +124,7 @@ export class AdminPostService {

queryBuilder = queryBuilder
.attributes([
[Sequelize.fn('count', Sequelize.col('ECOrder.id')), 'cntOrder'],
[
Sequelize.fn(
'isnull',
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -128,6 +128,7 @@ export class CourierReportService {

queryBuilder = queryBuilder
.attributes([
[Sequelize.fn('count', Sequelize.col('ECOrder.id')), 'cntOrder'],
[
Sequelize.fn(
'isnull',
Expand Down

0 comments on commit 5f74571

Please sign in to comment.