This commit is contained in:
parent
e6fe245b27
commit
65a6174e2b
|
@ -38,7 +38,7 @@ module.exports = Self => {
|
|||
// const conn = Self.dataSource.connector;
|
||||
// const stmts = [];
|
||||
try {
|
||||
const ticketsIds = tickets.map(({id}, index) => id);
|
||||
const ticketsIds = tickets.map(({ticketFk}, index) => ticketFk);
|
||||
const ticketsCount = await Self.rawSql(`
|
||||
Select t.id tid, s.id sid, count(s.id) count from
|
||||
vn.ticket t
|
||||
|
|
Loading…
Reference in New Issue