|
|
|
@ -23,16 +23,19 @@
|
|
|
|
|
select * from table ( scada_adsorb_fault(#{in_id}) )
|
|
|
|
|
</select>
|
|
|
|
|
|
|
|
|
|
<select id="selectScadaAdsorbDeviceOEE" resultType="String">
|
|
|
|
|
<select id="selectScadaAdsorbDeviceOEE" resultType="String" parameterType="integer">
|
|
|
|
|
/*select to_char(round(OEE,2),'fm99999999999990.00') as oee from
|
|
|
|
|
SCADA_HOUR_OEE where DEVICEID = '1#'
|
|
|
|
|
and CREATETIME = (select max (CREATETIME) from SCADA_HOUR_OEE where DEVICEID = DEVICEID) order by CREATETIME desc
|
|
|
|
|
*/
|
|
|
|
|
select OEE
|
|
|
|
|
|
|
|
|
|
/* select OEE
|
|
|
|
|
from (select *
|
|
|
|
|
from SCADA_XF_DEVICEINFO_1
|
|
|
|
|
order by CREATETIME desc)
|
|
|
|
|
where rownum = 1
|
|
|
|
|
where rownum = 1*/
|
|
|
|
|
select *
|
|
|
|
|
from table ( scada_adsorb_device_oee_new(#{in_id}) )
|
|
|
|
|
</select>
|
|
|
|
|
|
|
|
|
|
<select id="selectScadaAdsorbDeviceAlarmCount" resultType="String">
|
|
|
|
|