Compare commits

..

No commits in common. '7d8d652d49b56fa5bd02da7c5599d45e35ecaeaf' and 'f7a652b9d04abbbeabb9121d1dd712c4a8a0531a' have entirely different histories.

@ -58,7 +58,6 @@
and ersi.record_time between #{params.beginRecordTime} and #{params.endRecordTime} and ersi.record_time between #{params.beginRecordTime} and #{params.endRecordTime}
</if> </if>
</where> </where>
order by ersi.obj_id desc
</select> </select>
<select id="selectEmsRecordSteamInstantByObjId" parameterType="Long" resultMap="EmsRecordSteamInstantResult"> <select id="selectEmsRecordSteamInstantByObjId" parameterType="Long" resultMap="EmsRecordSteamInstantResult">

@ -10,8 +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 instrument_value,
ISNULL(t3.steam_flow,0) AS instrument_value,
DATEADD(HH, -1, @dateinfo) AS begin_time, DATEADD(HH, -1, @dateinfo) AS begin_time,
DATEADD(HH, 0, @dateinfo) AS end_time, DATEADD(HH, 0, @dateinfo) AS end_time,

Loading…
Cancel
Save