modifica export per includere unit

This commit is contained in:
2018-11-23 21:25:34 +01:00
parent 7bcb01cec3
commit fe3f5357b0

View File

@@ -178,7 +178,7 @@ sub trxelab {
XShift, YShift, ZShift , X, Y, Z, HShift, HShiftDir, HShift_local,
speed, speed_local, acceleration, acceleration_local, T_node, water_level, pressure, load_value, AlfaX, AlfaY, calcerr
from ElabDataView
where UnitName = '$unit', ToolNameID = '$tool' and updated_at > '$matlab_timestamp'
where UnitName = '$unit' and ToolNameID = '$tool' and updated_at > '$matlab_timestamp'
order by ToolNameID DESC, EventDate, EventTime, convert(`NodeNum`, decimal) DESC
) resulting_set
into outfile '$fileelab'