change(ems) - 修正报表字段名称,将字段名 expand 修改为 expend

master
zch 2 weeks ago
parent 7d8d652d49
commit 720f92f67c

@ -10,7 +10,7 @@ BEGIN
INSERT INTO ems_report_point_steam (monitor_code, instrument_value,begin_time,end_time,record_time) INSERT INTO ems_report_point_steam (monitor_code, instrument_value,begin_time,end_time,record_time)
SELECT SELECT
t1.monitor_code AS monitor_code, t1.monitor_code AS monitor_code,
CONVERT(DECIMAL(18, 2), ISNULL((t3.steam_flow-t4.steam_flow),0)) AS expand, CONVERT(DECIMAL(18, 2), ISNULL((t3.steam_flow-t4.steam_flow),0)) AS expend,
ISNULL(t3.steam_flow,0) AS instrument_value, ISNULL(t3.steam_flow,0) AS instrument_value,
DATEADD(HH, -1, @dateinfo) AS begin_time, DATEADD(HH, -1, @dateinfo) AS begin_time,

Loading…
Cancel
Save