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,
|
st.code,
|
||||||
t.id ticketFk,
|
t.id ticketFk,
|
||||||
t.nickname,
|
t.nickname,
|
||||||
|
t.shipped,
|
||||||
t.hour,
|
t.hour,
|
||||||
s.quantity,
|
s.quantity,
|
||||||
ag.name,
|
ag.name agName,
|
||||||
ts.alertLevel alertLevel,
|
ts.alertLevel alertLevel,
|
||||||
st.name stateName,
|
st.name stateName,
|
||||||
st.id stateId,
|
st.id stateId,
|
||||||
s.itemFk itemFk,
|
s.itemFk itemFk,
|
||||||
al.code alertLevelCode,
|
al.code alertLevelCode,
|
||||||
z.name,
|
z.name zoneName,
|
||||||
z.hour theoreticalhour,
|
z.hour theoreticalhour,
|
||||||
cn.isRookie,
|
cn.isRookie,
|
||||||
sc.saleClonedFk turno,
|
IF(sc.saleClonedFk, 1, 0 ) as turno,
|
||||||
tr.saleFk peticionCompra,
|
IF(tr.saleFk , 1, 0 ) as peticionCompra,
|
||||||
t.hour minTimed
|
t.hour minTimed
|
||||||
FROM
|
FROM
|
||||||
vn.sale s
|
vn.sale s
|
||||||
|
|
Loading…
Reference in New Issue