refs #6321 perf: query to retrieve results
This commit is contained in:
parent
f83f7808c8
commit
6c0706cc56
|
@ -37,19 +37,20 @@ module.exports = Self => {
|
|||
st.code,
|
||||
t.id ticketFk,
|
||||
t.nickname,
|
||||
t.shipped,
|
||||
t.hour,
|
||||
s.quantity,
|
||||
ag.name,
|
||||
ag.name agName,
|
||||
ts.alertLevel alertLevel,
|
||||
st.name stateName,
|
||||
st.id stateId,
|
||||
s.itemFk itemFk,
|
||||
al.code alertLevelCode,
|
||||
z.name,
|
||||
z.name zoneName,
|
||||
z.hour theoreticalhour,
|
||||
cn.isRookie,
|
||||
sc.saleClonedFk turno,
|
||||
tr.saleFk peticionCompra,
|
||||
IF(sc.saleClonedFk, 1, 0 ) as turno,
|
||||
IF(tr.saleFk , 1, 0 ) as peticionCompra,
|
||||
t.hour minTimed
|
||||
FROM
|
||||
vn.sale s
|
||||
|
|
Loading…
Reference in New Issue