| 12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145114611471148114911501151115211531154115511561157115811591160116111621163116411651166116711681169117011711172117311741175117611771178117911801181118211831184118511861187118811891190119111921193119411951196119711981199120012011202120312041205120612071208120912101211121212131214121512161217121812191220122112221223122412251226122712281229123012311232123312341235123612371238123912401241124212431244124512461247124812491250125112521253125412551256125712581259126012611262126312641265126612671268126912701271127212731274127512761277127812791280128112821283128412851286128712881289129012911292129312941295129612971298129913001301130213031304130513061307130813091310131113121313131413151316131713181319132013211322132313241325132613271328132913301331133213331334133513361337133813391340134113421343134413451346134713481349135013511352135313541355135613571358135913601361136213631364136513661367136813691370137113721373137413751376137713781379138013811382138313841385138613871388138913901391139213931394139513961397139813991400140114021403140414051406140714081409141014111412141314141415141614171418141914201421142214231424142514261427142814291430143114321433143414351436143714381439144014411442144314441445144614471448144914501451145214531454 |
- <?xml version="1.0" encoding='UTF-8'?>
-
- <queryMap desc="实绩管理">
- <query id="GetLgshift.select" desc=" " fetchSize="10">
- <![CDATA[
-
- select mes_lg_common.getlgshift1(sysdate) from dual
- ]]>
- </query>
- <query id="GetStoveInfo_Load.select" desc="获取加热炉信息_加载" fetchSize="10">
- <![CDATA[
-
- select HEATPROCESSNO, HEATNO
- from (select HEATPROCESSNO, HEATNO, optdate
- from stl_Bof_Optinfo where 1=1 and STATIONCODE = '0'||? and
- to_char(OPTDATE, 'yyyy-MM-dd') between ? and ?
- union
- select HEATPROCESSNO, HEATNO, optdate
- from J#stl_Bof_Optinfo where 1=1 and STATIONCODE = '0'||? and
- to_char(OPTDATE, 'yyyy-MM-dd') between ? and ?)
- ORDER BY optdate DESC
- ]]>
- </query>
- <query id="GetBofOperateInfo.select" desc="获取转炉实绩信息" fetchSize="10">
- <![CDATA[
-
- select HEATPROCESSNO,
- HEATNO,
- STATIONCODE,
- DISPOSALTIME,
- WOID,
- OPTDATE,
- SHIFTCODE,
- MOLIRNSOURCE,
- IRONPOTID,
- IRONPOTWGT,
- IRONTEMPERATURE,
- PIGIRONWGT,
- WSTEELWGT,
- CHANGESTARTTIME,
- CHANGEENDTIME,
- CHANGETIME,
- OPENOXYGENTIME,
- STOPOXYGENTIME,
- SUPPLYOXYGENTIME,
- O2PRESS,
- O2CONSUME,
- MOLSTLTEMPERATURE,
- B1STARTTIME,
- B1ENDTIME,
- B1TIME,
- B1TEMPERATURE,
- B2STARTTIME,
- B2ENDTIME,
- B2TIME,
- B2TEMPERATURE,
- B3STARTTIME,
- B3ENDTIME,
- B3TIME,
- B3TEMPERATURE,
- B4STARTTIME,
- B4ENDTIME,
- B4TIME,
- B4TEMPERATURE,
- B5STARTTIME,
- B5ENDTIME,
- B5TIME,
- B5TEMPERATURE,
- TERMINUSTEPT,
- TERMINUSC,
- TERMINUSO2,
- BLOWO2TIMES,
- BLOWARTIMES,
- BLOWN2TIMES,
- TAPPINGSTARTTIME,
- TAPPINGENDTIME,
- TAPPINGTIME,
- BLKREDMODE,
- BLKREDEFFECTS,
- OGGNUMID,
- PSSTARTTIME,
- PSENDTIME,
- BRPSTIME,
- BRPSTIMES,
- N2PRESS,
- N2FLUX,
- N2CONSUME,
- ARPRESS,
- ARFLUX,
- ARCONSUME,
- BRWGT,
- DRWGT,
- RSSTOVENO,
- RSWGT,
- POTNO,
- POTAGE,
- POTDISTINCTION,
- POTWRAPSTATE,
- TAPPINGWGT,
- GAGE,
- SAGE,
- VFLAG,
- EMOLSTLTIME,
- PLANSTEEL,
- MOLSTLWGT,
- IRONWGT,
- CCMFLAG,
- FOLDFLAG,
- DFRFLAG,
- PRFLAG,
- ADDFLAG,
- TOPN2CONSUME,
- IRONCOMPONENTID,
- FIRSTCOMPONENTID,
- ENDCOMPONENTID,
- NUMID,
- WSID,
- O2FLUX,
- OPTTYPE,
- MOLSTLLEAVE,
- MOLIRNTYPE,
- OPTPERSONNEL,
- SUBAGE,
- SUBHEIGHT,
- OGGNO,
- POTTEMP,
- MEMO,
- UPDATETIME
- from (select *
- from stl_bof_optinfo where 1=1 and HEATPROCESSNO = ?
- union
- select * from J#stl_bof_optinfo) where 1=1 and HEATPROCESSNO= ?
- ]]>
- </query>
- <query id="GetCaSStoveInfo_Load.select" desc="加载吹氩炉号信息" fetchSize="10">
- <![CDATA[
-
- select HEATPROCESSNO, HEATNO, DisposalTime
- from (select HEATPROCESSNO, HEATNO, DisposalTime, OPTDATE
- from stl_CAS_OPTINFO where 1=1 and STATIONCODE = '0'||? and
- to_char(OPTDATE, 'yyyy-MM-dd') between ? and ?
- union
- select HEATPROCESSNO, HEATNO, DisposalTime, OPTDATE
- from J#stl_CAS_OPTINFO where 1=1 and STATIONCODE = '0'||? and
- to_char(OPTDATE, 'yyyy-MM-dd') between ? and ? )
- ORDER BY OPTDATE DESC
- ]]>
- </query>
- <query id="GetCaSStoveInfo.select" desc="获取吹氩炉号信息" fetchSize="10">
- <![CDATA[
-
- select HEATPROCESSNO, HEATNO, DisposalTime
- from (select HEATPROCESSNO, HEATNO, DisposalTime, OPTDATE
- from stl_CAS_OPTINFO where 1=1 and STATIONCODE = '0'||? and substr(SHIFTCODE, 2, 1)= decode(?,null,substr(SHIFTCODE, 2, 1),?)
- and PLANSTEEL = decode(?,null,PLANSTEEL,?) and HEATNO=decode(?,null,HEATNO,?) and
- to_char(OPTDATE, 'yyyy-MM-dd') between ? and ?
- union
- select HEATPROCESSNO, HEATNO, DisposalTime, OPTDATE
- from J#stl_CAS_OPTINFO where 1=1 and STATIONCODE = '0'||? and substr(SHIFTCODE, 2, 1)= decode(?,null,substr(SHIFTCODE, 2, 1),?)
- and PLANSTEEL = decode(?,null,PLANSTEEL,?) and HEATNO=decode(?,null,HEATNO,?) and
- to_char(OPTDATE, 'yyyy-MM-dd') between ? and ? )
- ORDER BY OPTDATE DESC
- ]]>
- </query>
- <query id="GetCasOperateInfo.select" desc="获取吹氩实绩信息" fetchSize="10">
- <![CDATA[
-
- select HEATPROCESSNO
- ,HEATNO
- ,STATIONCODE
- ,DISPOSALTIME
- ,WOID
- ,OPTDATE
- ,SHIFTCODE
- ,BLOWARSTARTTIME
- ,BLOWARENDTIME
- ,BLOWARTIME
- ,FEEDSILKBEGINTIME
- ,FEEDSILKCLOSETIME
- ,ARRIVEWGT
- ,ARCONSUME
- ,BLOWARMODE
- ,BLOWARPRESS
- ,USEDPRESS
- ,ARRIVETIME
- ,LEAVETIME
- ,STAYTIME
- ,ARFTEMPT
- ,ARITEMPT
- ,ARBTEMPT
- ,CASUSETIME
- ,CASSTARTTIME
- ,CASENDTIME
- ,CASTIME
- ,FEEDINGSPEED
- ,LEAVEWGT
- ,FEEDSILKTIME
- ,ARRIVEO2
- ,LEAVEO2
- ,HPCONSUME
- ,RESIDUETHICKNESS
- ,TWSTEELWGT
- ,MANTLEFLAG
- ,MANTLENUM
- ,POTNO
- ,POTDISTINCTION
- ,POTAGE
- ,POTWRAPSTATE
- ,GUNNO
- ,BLOWARTIMES
- ,ODERO2TIMES
- ,MOLSTLLEAVE
- ,PLANSTEEL
- ,MOLSTLTAREWGT
- ,MOLSTLWGT
- ,WSID
- ,OPTPERSONNEL
- ,MEMO
- ,UPDATETIME
- from (select * from stl_cas_optinfo where 1=1 and HEATPROCESSNO= ?
- union select * from J#stl_Cas_Optinfo) where 1=1 and HEATPROCESSNO= ?
- ]]>
- </query>
- <query id="GetBofSampling.select" desc="获取转炉采样数据 " fetchSize="10">
- <![CDATA[
-
- select samplingvalue,
- to_char(samplingdate, 'yyyy-MM-dd HH24:mi:ss') samplingdate
- from (select *
- from stl_Bof_Sampling
- union
- select * from J#stl_Bof_Sampling)
- WHERE HEATNO = decode(?,null,HEATNO,?)
- AND STATIONCODE = decode(?,null,STATIONCODE,?)
- AND DISPOSALTIME = decode(?,null,DISPOSALTIME,?)
- and (samplingname = 'GUNAHIGH' or samplingname = 'GUNBHIGH')
- order by samplingdate desc
-
- ]]>
- </query>
- <query id="GetBofO2Times.select" desc="获取转炉吹氧次数信息 " fetchSize="10">
- <![CDATA[
-
- select B1STARTTIME,
- B1ENDTIME,
- B1TIME,
- B2STARTTIME,
- B2ENDTIME,
- B2TIME,
- B3STARTTIME,
- B3ENDTIME,
- B3TIME,
- B4STARTTIME,
- B4ENDTIME,
- B4TIME,
- B5STARTTIME,
- B5ENDTIME,
- B5TIME
- from (select *
- from stl_bof_optinfo
- union
- select * from J#stl_bof_optinfo)
- where b1starttime is not null
- and HEATNO = decode(?, null, HEATNO, ?)
- AND STATIONCODE = decode(?, null, STATIONCODE, ?)
- AND DISPOSALTIME = decode(?, null, DISPOSALTIME, ?)
-
- ]]>
- </query>
- <query id="GetLFStoveInfo_Load.select" desc="加载精炼炉信息" fetchSize="10">
- <![CDATA[
-
- select HEATPROCESSNO, HEATNO, DisposalTime
- from (select HEATPROCESSNO, HEATNO, DisposalTime, OPTDATE
- from STL_LFS_OPTINFO where 1=1 and STATIONCODE = '0'||? and
- to_char(OPTDATE, 'yyyy-MM-dd') between ? and ?
- union
- select HEATPROCESSNO, HEATNO, DisposalTime, OPTDATE
- from J#STL_LFS_OPTINFO where 1=1 and STATIONCODE = '0'||? and
- to_char(OPTDATE, 'yyyy-MM-dd') between ? and ?)
- ORDER BY OPTDATE DESC
- ]]>
- </query>
- <query id="GetLFStoveInfo.select" desc="获取精炼炉号信息" fetchSize="10">
- <![CDATA[
- SELECT HEATPROCESSNO, HEATNO, DISPOSALTIME
- FROM (SELECT HEATPROCESSNO, HEATNO, DISPOSALTIME, OPTDATE
- FROM STL_LFS_OPTINFO
- WHERE 1 = 1
- AND STATIONCODE = '0' || ?
- AND SUBSTR(SHIFTCODE, 2, 1) =
- DECODE(?, NULL, SUBSTR(SHIFTCODE, 2, 1), ?)
- AND PLANSTEEL = DECODE(?, NULL, PLANSTEEL, ?)
- AND HEATNO = DECODE(?, NULL, HEATNO, ?)
- AND TO_CHAR(OPTDATE, 'YYYY-MM-DD') BETWEEN ? AND ?
- UNION ALL
- SELECT HEATPROCESSNO, HEATNO, DISPOSALTIME, OPTDATE
- FROM J#STL_LFS_OPTINFO
- WHERE 1 = 1
- AND STATIONCODE = '0' || ?
- AND SUBSTR(SHIFTCODE, 2, 1) =
- DECODE(?, NULL, SUBSTR(SHIFTCODE, 2, 1), ?)
- AND PLANSTEEL = DECODE(?, NULL, PLANSTEEL, ?)
- AND HEATNO = DECODE(?, NULL, HEATNO, ?)
- AND TO_CHAR(OPTDATE, 'YYYY-MM-DD') BETWEEN ? AND ?)
- ORDER BY OPTDATE DESC
- ]]>
- </query>
- <query id="GetLfsEtyInfo.select" desc="获取精炼炉送电档位信息" fetchSize="10">
- <![CDATA[
-
- select SELESTATE,
- SELENUMID,
- HEATPROCESSNO,
- SELETIME,
- SELESTARTTIME,
- SELEENDTIME
- from (SELECT *
- FROM STL_LFS_ELECTRICITY
- UNION
- SELECT * FROM STL_LFS_ELECTRICITY)
- where HEATNO = decode(?, null, HEATNO, ?) and STATIONCODE = ? and
- DisposalTime = decode(?, null, DisposalTime, ?)
- order by SELESTATE, SELENUMID desc
- ]]>
- </query>
- <query id="GetLFSOperateInfo.select" desc="获取LFS精炼实绩信息 " fetchSize="10">
- <![CDATA[
-
- select HEATPROCESSNO
- ,HEATNO
- ,STATIONCODE
- ,DISPOSALTIME
- ,WOID
- ,OPTDATE
- ,SHIFTCODE
- ,BEGINBLOWAR
- ,ENDBLOWAR
- ,BLOWARTIME
- ,ARCONSUME
- ,BLOWARPRESS
- ,BLOWARMODE
- ,ARRIVETIME
- ,LEAVETIME
- ,ARRIVETEMPT
- ,LEAVETEMPT
- ,SEATDSTARTTIME
- ,SEATDENDTIME
- ,SEATDTIME
- ,SELESTARTTIME
- ,SELEENDTIME
- ,SELETIME
- ,ELETRICITYCONSUME
- ,ELETRICITYTIMES
- ,FEEDINGSPEED
- ,ARRIVEWGT
- ,LEAVEWGT
- ,REFINETIME
- ,ARRIVEO2
- ,LEAVEO2
- ,MRTCONSUME
- ,NMRTCONSUME
- ,BESTROWDOSAGE
- ,RESIDUETHICKNESS
- ,POTNO
- ,POTDISTINCTION
- ,POTAGE
- ,POTWRAPSTATE
- ,ODERO2TIMES
- ,BLOWARTIMES
- ,REPOSEBEGINTIME
- ,REPOSECLOSETIME
- ,REPOSETIME
- ,COVERUPPERTIME
- ,COVERDOWNTIME
- ,FEEDSILKBEGINTIME
- ,FEEDSILKCLOSETIME
- ,MOLSTLLEAVE
- ,PLANSTEEL
- ,CCMTEMPT
- ,FLEXIBLEBLOWTIME
- ,TEMPTNUM
- ,MOLSTLWGT
- ,POLE_A
- ,POLE_C
- ,POLE_B
- ,OPTPERSONNEL
- ,WSID
- ,MEMO
- ,UPDATETIME
- ,AGE
- ,LFSNO
- ,CLEARENCELHEIGHT
- ,LADLECOVERAGE
- ,SOFTBLOWBEGINTIME
- ,DILUTEDRESIDUEDOSE
- from (select * from stl_lfs_optinfo where 1=1 and HEATPROCESSNO= ?
- union select * from j#stl_lfs_optinfo where 1=1 and HEATPROCESSNO= ? )
- ]]>
- </query>
- <query id="GetRHStoveInfo_Load.select" desc="加载RH炉信息" fetchSize="10">
- <![CDATA[
-
- select HEATPROCESSNO, HEATNO, DisposalTime
- from (select HEATPROCESSNO, HEATNO, DisposalTime, OPTDATE
- from STL_RHS_OPTINFO where 1=1 and STATIONCODE = '0'||? and
- to_char(OPTDATE, 'yyyy-MM-dd') between ? and ?
- union
- select HEATPROCESSNO, HEATNO, DisposalTime, OPTDATE
- from J#STL_RHS_OPTINFO where 1=1 and STATIONCODE = '0'||? and
- to_char(OPTDATE, 'yyyy-MM-dd') between ? and ?)
- ORDER BY OPTDATE DESC
- ]]>
- </query>
- <query id="GetRHStoveInfo.select" desc="获取RH炉号信息" fetchSize="10">
- <![CDATA[
-
- select HEATPROCESSNO, HEATNO, DisposalTime
- from (select HEATPROCESSNO, HEATNO, DisposalTime, OPTDATE
- from STL_RHS_OPTINFO where 1=1 and STATIONCODE = '0'||? and substr(SHIFTCODE, 2, 1)= decode(?,null,substr(SHIFTCODE, 2, 1),?)
- and PLANSTEEL = decode(?,null,PLANSTEEL,?) and HEATNO=decode(?,null,HEATNO,?) and
- to_char(OPTDATE, 'yyyy-MM-dd') between ? and ?
- union
- select HEATPROCESSNO, HEATNO, DisposalTime, OPTDATE
- from J#STL_RHS_OPTINFO where 1=1 and STATIONCODE = '0'||? and substr(SHIFTCODE, 2, 1)= decode(?,null,substr(SHIFTCODE, 2, 1),?)
- and PLANSTEEL = decode(?,null,PLANSTEEL,?) and HEATNO=decode(?,null,HEATNO,?) and
- to_char(OPTDATE, 'yyyy-MM-dd') between ? and ? )
- ORDER BY OPTDATE DESC
- ]]>
- </query>
- <query id="GetRhsObInfo.select" desc="获取RH炉吹氧信息" fetchSize="10">
- <![CDATA[
-
-
- select o2numid,
- heatprocessno,
- stationcode,
- disposaltime,
- heatno,
- o2time,
- o2consume,
- o2starttime,
- o2endtime
- from (SELECT *
- FROM STL_rhs_oxygenblowing
- where 1 = 1
- and HEATNO = decode(?, null, HEATNO, ?)
- and STATIONCODE = decode(?, null, STATIONCODE, ?)
- and disposaltime = decode(?, null, disposaltime, ?)
- UNION
- SELECT * FROM STL_rhs_oxygenblowing
- where 1 = 1
- and HEATNO = decode(?, null, HEATNO, ?)
- and STATIONCODE = decode(?, null, STATIONCODE, ?)
- and disposaltime = decode(?, null, disposaltime, ?))
- order by o2starttime desc
- ]]>
- </query>
- <query id="GetRHsOperateInfo.select" desc="获取RH炉操作信息" fetchSize="10">
- <![CDATA[
-
- select HEATPROCESSNO,
- HEATNO,
- STATIONCODE,
- DISPOSALTIME,
- WOID,
- SHIFTCODE,
- OPTDATE,
- ARCONSUME,
- O2CONSUME,
- STEAMCONSUME,
- ARRIVETIME,
- LEAVETIME,
- REFINETIME,
- ARFTEMPT,
- ARBTEMPT,
- FEEDINGSPEED,
- ARRIVEWGT,
- LEAVEWGT,
- HPCONSUME,
- RESIDUETHICKNESS,
- TWSTEELWGT,
- MANTLEFLAG,
- MANTLENUM,
- N2_CONS_C,
- AR_CONS_S,
- N2_CONS_S,
- REPOSEBEGINTIME,
- REPOSECLOSETIME,
- SUM_TIME,
- PURE_TIME,
- LANCE_NO,
- LANCE_TIMES,
- VES_NO,
- BEF_VAC_TIME,
- VACBEGINTIME,
- VACLOSETIME,
- VAC_TIME,
- O2BEGINTIME,
- O2CLOSETIME,
- O2_TIME,
- O2USEDTOTALAL,
- O2USEDTOTALC,
- RHSNO,
- RHSNO2,
- FEEDBEGINTIME,
- FEEDCLOSETIME,
- FEED_TIME,
- ARBEGINTIME,
- ARCLOSETIME,
- AR_TIME,
- WATER_CONS_LNQ,
- WATER_CONS_JX,
- VAC_MIN,
- POTNO,
- POTDISTINCTION,
- POTAGE,
- POTWRAPSTATE,
- COMPONENTCODE1,
- COMPONENTCODE2,
- COMPONENTCODE3,
- COMPONENTCODE4,
- COMPONENTCODE5,
- ARRIVECPTCODE,
- LEAVECPTCODE,
- PRODUCTCPTCODE,
- MOLSTLWGT,
- MOLSTLLEAVE,
- PLANSTEEL,
- OPTPERSONNEL,
- CLEARENCELHEIGHT,
- WSID,
- MEMO,
- UPDATETIME,
- ARRIVEO2,
- LEAVEO2
- from (select * from stl_Rhs_optinfo where 1=1 and HEATPROCESSNO= decode(?, null, HEATPROCESSNO, ?)
- union
- select * from j#stl_Rhs_optinfo where 1=1 and HEATPROCESSNO= decode(?, null, HEATPROCESSNO, ?) )
- ]]>
- </query>
-
- <query id="GetVDStoveInfo_Load.select" desc="加载VD炉信息" fetchSize="10">
- <![CDATA[
-
- select HEATPROCESSNO, HEATNO, DisposalTime
- from (select HEATPROCESSNO, HEATNO, DisposalTime, OPTDATE
- from STL_VDS_OPTINFO where 1=1 and STATIONCODE = '0'||? and
- to_char(OPTDATE, 'yyyy-MM-dd') between ? and ?
- union
- select HEATPROCESSNO, HEATNO, DisposalTime, OPTDATE
- from J#STL_VDS_OPTINFO where 1=1 and STATIONCODE = '0'||? and
- to_char(OPTDATE, 'yyyy-MM-dd') between ? and ?)
- ORDER BY OPTDATE DESC
- ]]>
- </query>
- <query id="GetVDStoveInfo.select" desc="获取VD炉号信息" fetchSize="10">
- <![CDATA[
-
- select HEATPROCESSNO, HEATNO, DisposalTime
- from (select HEATPROCESSNO, HEATNO, DisposalTime, OPTDATE
- from STL_VDS_OPTINFO where 1=1 and STATIONCODE = '0'||? and substr(SHIFTCODE, 2, 1)= decode(?,null,substr(SHIFTCODE, 2, 1),?)
- and PLANSTEEL = decode(?,null,PLANSTEEL,?) and HEATNO=decode(?,null,HEATNO,?) and
- to_char(OPTDATE, 'yyyy-MM-dd') between ? and ?
- union
- select HEATPROCESSNO, HEATNO, DisposalTime, OPTDATE
- from J#STL_VDS_OPTINFO where 1=1 and STATIONCODE = '0'||? and substr(SHIFTCODE, 2, 1)= decode(?,null,substr(SHIFTCODE, 2, 1),?)
- and PLANSTEEL = decode(?,null,PLANSTEEL,?) and HEATNO=decode(?,null,HEATNO,?) and
- to_char(OPTDATE, 'yyyy-MM-dd') between ? and ? )
- ORDER BY OPTDATE DESC
- ]]>
- </query>
- <query id="GetVDsObInfo.select" desc="获取VD炉吹氧信息" fetchSize="10">
- <![CDATA[
-
-
- select o2numid,
- heatprocessno,
- stationcode,
- disposaltime,
- heatno,
- o2time,
- o2consume,
- o2starttime,
- o2endtime
- from (SELECT *
- FROM STL_rhs_oxygenblowing
- where 1 = 1
- and HEATNO = decode(?, null, HEATNO, ?)
- and STATIONCODE = decode(?, null, STATIONCODE, ?)
- and disposaltime = decode(?, null, disposaltime, ?)
- UNION
- SELECT * FROM STL_rhs_oxygenblowing
- where 1 = 1
- and HEATNO = decode(?, null, HEATNO, ?)
- and STATIONCODE = decode(?, null, STATIONCODE, ?)
- and disposaltime = decode(?, null, disposaltime, ?))
- order by o2starttime desc
- ]]>
- </query>
-
- <query id="GetVDsOperateInfo.select" desc="获取VD炉操作信息" fetchSize="10">
- <![CDATA[
-
- select heatprocessno,
- heatno,
- stationcode,
- disposaltime,
- plansteel,
- woid,
- shiftcode,
- optdate,
- arrivetime,
- leavetime,
- refinetime,
- reposebegintime,
- reposeclosetime,
- treattime,
- oxygenstarttime,
- oxygenendtime,
- oxygentime,
- hydgenstarttime,
- hydgenendtime,
- hydgentime,
- mixstarttime,
- mixendtime,
- mixtime,
- vacbegintime,
- vaclosetime,
- vac_time,
- feedbegintime,
- feedclosetime,
- feed_time,
- feedingspeed,
- sum_time,
- arftempt,
- arbtempt,
- arrivewgt,
- leavewgt,
- hpconsume,
- mantleflag,
- mantlenum,
- vdage,
- vdno,
- vacuumpress,
- stop_date,
- slag_wgt,
- vac_min,
- o2consume,
- steamconsume,
- steam_tem,
- steam_pres,
- potno,
- potdistinction,
- potage,
- potwrapstate,
- cover,
- molstlwgt,
- isrs,
- optpersonnel,
- wsid,
- arriveo2,
- leaveo2,
- updatetime,
- memo,
- ARRIVEH,
- LEAVEH,
- RESIDUETHICKNESS,
- CLEARENCELHEIGHT,
- ARBEGINTIME,
- ARCLOSETIME,
- VAC_KEEP_TIME,
- AR_TIME
- from (select * from stl_Vds_optinfo where 1=1 and HEATPROCESSNO= decode(?, null, HEATPROCESSNO, ?)
- union
- select * from j#stl_Vds_optinfo where 1=1 and HEATPROCESSNO= decode(?, null, HEATPROCESSNO, ?) )
- ]]>
- </query>
-
- <query id="GetCcmMouldInfo.select" desc="获取浇次信息" fetchSize="10">
- <![CDATA[
-
- select MOULDNO,
- MWRAPNO,
- BALESTARTTIME,
- BALEENDTIME,
- BALEENDDATE,
- ACCIDENTENDTIME,
- MWRAPINFUSE,
- MWRAPREMAIN,
- S1CRYSTALCODE,
- S2CRYSTALCODE,
- S3CRYSTALCODE,
- S4CRYSTALCODE,
- S5CRYSTALCODE,
- S6CRYSTALCODE,
- CRYSTALWIDE,
- CRYSTALTHICK,
- S1STARTTIME,
- S2STARTTIME,
- S3STARTTIME,
- S4STARTTIME,
- S5STARTTIME,
- S6STARTTIME,
- S1ENDTIME,
- S2ENDTIME,
- S3ENDTIME,
- S4ENDTIME,
- S5ENDTIME,
- S6ENDTIME,
- S1ENDCAUSE,
- S2ENDCAUSE,
- S3ENDCAUSE,
- S4ENDCAUSE,
- S5ENDCAUSE,
- S6ENDCAUSE,
- S1PLANENDTIME,
- S2PLANENDTIME,
- S3PLANENDTIME,
- S4PLANENDTIME,
- S5PLANENDTIME,
- S6PLANENDTIME,
- S1ENDOVERTIME,
- S2ENDOVERTIME,
- S3ENDOVERTIME,
- S4ENDOVERTIME,
- S5ENDOVERTIME,
- S6ENDOVERTIME,
- S1CUTFRONT,
- S2CUTFRONT,
- S3CUTFRONT,
- S4CUTFRONT,
- S5CUTFRONT,
- S6CUTFRONT,
- S1CUTBACK,
- S2CUTBACK,
- S3CUTBACK,
- S4CUTBACK,
- S5CUTBACK,
- S6CUTBACK,
- MOULDPLAN,
- LONGGAP,
- UPGAP,
- DOWNGAP,
- DIPGAP,
- STUFFSTICK,
- PROTECTDTEG,
- S1CRPASSSTEELWEIGHT,
- S2CRPASSSTEELWEIGHT,
- MWRAPFIRINGBEGINTIME1,
- MWRAPFIRINGENDTIME1,
- MWRAPNO2,
- MWRAPFIRINGBEGINTIME2,
- MWRAPFIRINGENDTIME2,
- MEMO,
- UPDATETIME,
- MWRAPNO3,
- MWRAPFIRINGBEGINTIME3,
- MWRAPFIRINGENDTIME3,
- S3CRPASSSTEELWEIGHT,
- S4CRPASSSTEELWEIGHT,
- S5CRPASSSTEELWEIGHT,
- MWRAPBESTROWNAME,
- MWRAPBESTROWDOSAGE,
- PROTECTDTEGDOSAGE,
- MINFIREBEGINTIME,
- MIDDLEFIREBEGINTIME,
- MAXBEGINTIME
- from stl_ccm_mouldinfo where 1=1 and MouldNo=decode(?, null, MouldNo, ?)
-
- ]]>
- </query>
- <query id="GetCcmOperateInfo.select" desc="获取连铸机实绩操作信息" fetchSize="10">
- <![CDATA[
-
- select HEATPROCESSNO
- ,HEATNO
- ,STATIONCODE
- ,DISPOSALTIME
- ,CCMSTOVENO
- ,WOID
- ,BILLETSECTION
- ,BILLETFIXSIZE
- ,OPTDATE
- ,SHIFTCODE
- ,POTNO
- ,POTDISTINCTION
- ,POTAGE
- ,POTWRAPSTATE
- ,MOULDSTOVENUM
- ,PFBALETEMPT
- ,PFBALEWGT
- ,BALEPFTIME
- ,MOULDINGPOTNO
- ,MOULDINGPOTRANK
- ,MOULDBALEWGT
- ,MOULDBALETEMPT
- ,BALESTARTTIME
- ,BALEENDTIME
- ,BALELEAVETIME
- ,BALELEAVEWGT
- ,PLANPFTIME
- ,WAITMOULDTIME
- ,MOULDTIME
- ,BALEFLOWFLAG
- ,BALEMOULDFLAG
- ,BALEFLOWTIEMS
- ,RSMOLSTLWGT
- ,MWRAPNO
- ,MWRAPTEMPT
- ,MWRAPWGT
- ,MWRAPSTARTTIME
- ,MWRAPENDTIME
- ,HEAT_SEQ
- ,BIGPOTARM1WEIGHT
- ,BIGPOTARM2WEIGHT
- ,CRYSTALLIZERID
- ,CRYSTALLIZERTIMES
- ,MOULDNUMID
- ,MOULDNO
- ,PLANSTEEL
- ,METERODDWGT
- ,LMLTEMPT
- ,SWRAPREMAINWGT
- ,SWRAPENDCAUSE
- ,MOULDWAITTIME
- ,MWRAPTEMPT05
- ,MWRAPTEMPT20
- ,MWRAPLIQUID
- ,MWRAPLIQUID15
- ,SMWRAPLIQUID
- ,SMWRAPWGT
- ,BILLETLENGTH
- ,BILLETWGT
- ,BILLETNUM
- ,PRODUCTCPTCODE
- ,0 S1FBLENGTH
- ,0 S2FBLENGTH
- ,0 S3FBLENGTH
- ,0 S4FBLENGTH
- ,0 S5FBLENGTH
- ,0 S6FBLENGTH
- ,0 S7FBLENGTH
- ,0 S8FBLENGTH
- ,BAKEO2TIEMS
- ,FLAG
- ,0 为没拉成罐数
- ,FBTOTALWGT
- ,HOTPITCH
- ,WSID
- ,OPTPERSONNEL
- ,MEMO
- ,S2BILLETLENGTH
- ,S1BILLETLENGTH
- ,RESIDUETHICKNESS
- ,UPDATETIME
- ,BALEMOULDTIME
- from (select * from stl_ccm_optinfo where 1=1 and HEATPROCESSNO =decode(?, null, HEATPROCESSNO, ?)
- union select * from J#stl_ccm_optinfo where 1=1 and HEATPROCESSNO =decode(?, null, HEATPROCESSNO, ?))
- ]]>
- </query>
- <query id="GetCmmBMvalue.select" desc="连铸实绩取S1,S2的水流量、压力和水温差" fetchSize="10">
- <![CDATA[
-
- select t.S1cetempt,
- t.S2CETEMPT,
- t.S1CEWRTRPLUX,
- t.S2CEWRTRPLUX,
- t.S1CETEMPTPRESS,
- S2CETEMPTPRESS
- from scm_CCM_BMILLSAMPLING t
- where t.samplingid = (select max(samplingid)
- from JOB_CCM_BMILLSAMPLING
- where t.heatprocessno = decode(?, null, heatprocessno, ?))
- and t.heatprocessno = decode(?, null, heatprocessno, ?)
- union
- select t.S1cetempt,
- t.S2CETEMPT,
- t.S1CEWRTRPLUX,
- t.S2CEWRTRPLUX,
- t.S1CETEMPTPRESS,
- S2CETEMPTPRESS
- from Y#JOB_CCM_BMILLSAMPLING t
- where t.samplingid = (select max(samplingid)
- from Y#JOB_CCM_BMILLSAMPLING
- where t.heatprocessno = decode(?, null, heatprocessno, ?))
- and t.heatprocessno = decode(?, null, heatprocessno, ?)
- ]]>
- </query>
- <query id="GetCCMHNoData_Load.select" desc="获取连铸机炉号信息_加载" fetchSize="10">
- <![CDATA[
-
- select HEATPROCESSNO, HEATNO,DisposalTime
- from (select HEATPROCESSNO, HEATNO,DisposalTime,OPTDATE,BALESTARTTIME
- from STL_CCM_OPTINFO where 1=1 and STATIONCODE = '0'||? and
- to_char(OPTDATE, 'yyyy-MM-dd') between ? and ?
- union
- select HEATPROCESSNO, HEATNO,DisposalTime,OPTDATE,BALESTARTTIME
- from J#STL_CCM_OPTINFO where 1=1 and STATIONCODE = '0'||? and
- to_char(OPTDATE, 'yyyy-MM-dd') between ? and ?)
- ORDER BY optdate DESC
- ]]>
- </query>
- <query id="GetCCMHeatNoData.select" desc="获取连铸机炉号信息" fetchSize="10">
- <![CDATA[
-
- select HEATPROCESSNO, HEATNO,DisposalTime
- from (select HEATPROCESSNO, HEATNO,DisposalTime,OPTDATE,BALESTARTTIME
- from STL_CCM_OPTINFO where 1=1 and STATIONCODE = '0'||? and substr(SHIFTCODE, 2, 1)= decode(?,null,substr(SHIFTCODE, 2, 1),?)
- and PLANSTEEL = decode(?,null,PLANSTEEL,?) and HEATNO=decode(?,null,HEATNO,?) and
- to_char(OPTDATE, 'yyyy-MM-dd') between ? and ?
- union
- select HEATPROCESSNO, HEATNO, DisposalTime,OPTDATE,BALESTARTTIME
- from J#STL_CCM_OPTINFO where 1=1 and STATIONCODE = '0'||? and substr(SHIFTCODE, 2, 1)= decode(?,null,substr(SHIFTCODE, 2, 1),?)
- and PLANSTEEL = decode(?,null,PLANSTEEL,?) and HEATNO=decode(?,null,HEATNO,?) and
- to_char(OPTDATE, 'yyyy-MM-dd') between ? and ? )
- ORDER BY OPTDATE DESC
- ]]>
- </query>
-
- <query id="GetSampleDataOne.select" desc="返回指定SQL语句" fetchSize="10">
- - <![CDATA[
- select temp,
- to_char(samplingTime, 'yyyy-MM-dd HH24:mi:ss') samplingTime,
- round(S1CASTSPEED, 2) S1CASTSPEED,
- round(S2CASTSPEED, 2) S2CASTSPEED,
- round(S3CASTSPEED, 2) S3CASTSPEED,
- round(S4CASTSPEED, 2) S4CASTSPEED,
- round(S5CASTSPEED, 2) S5CASTSPEED,
- round(mes_lg_sampling.maxval(nvl(midladle1weight, 0),
- nvl(midladle2weight, 0))) midladle1weight,
- round(mes_lg_sampling.maxval(nvl(ARMLADLEAWEIGHT, 0),
- nvl(ARMLADLEBWEIGHT, 0))) ARMBIGPOTTOTALWEIGHT
- from (select *
- from stl_ccm_f1sampling
- where heatno = ?
- and disposaltime = ?
- union
- select *
- from J#stl_ccm_f1sampling
- where heatno = ?
- and disposaltime = ?) a,
- (select temp, min(samplingtime) samplingTime, heatno, disposaltime
- from (select round(MIDLADLETEMP) temp,
- min(lastfreshtime) samplingTime,
- heatno,
- disposaltime
- from (select *
- from stl_ccm_f1sampling
- where heatno = ?
- and disposaltime = ?
- union
- select *
- from J#stl_ccm_f1sampling
- where heatno = ?
- and disposaltime = ?)
- group by MIDLADLETEMP, heatno, disposaltime)
- group by temp, heatno, disposaltime) t
- where a.heatno = t.heatno
- and a.disposaltime = t.disposaltime
- and a.lastfreshtime = t.samplingTime
- and temp > 1390
- order by samplingTime asc
-
- ]]>
- </query>
- - <query id="GetSampleDataTwo.select" desc="返回指定SQL语句" fetchSize="10">
- - <![CDATA[
- select temp,
- to_char(samplingTime, 'yyyy-MM-dd HH24:mi:ss') samplingTime,
- round(S1CASTSPEED, 2) S1CASTSPEED,
- round(S2CASTSPEED, 2) S2CASTSPEED,
- round(S3CASTSPEED, 2) S3CASTSPEED,
- round(S4CASTSPEED, 2) S4CASTSPEED,
- round(S5CASTSPEED, 2) S5CASTSPEED,
- round(mes_lg_sampling.maxval(nvl(midladle1weight, 0),
- nvl(midladle2weight, 0))) midladle1weight,
- round(mes_lg_sampling.maxval(nvl(ARMLADLEAWEIGHT, 0),
- nvl(ARMLADLEBWEIGHT, 0))) ARMBIGPOTTOTALWEIGHT
- from (select *
- from stl_ccm_f2sampling
- where heatno = ?
- and disposaltime = ?
- union
- select *
- from J#stl_ccm_f2sampling
- where heatno = ?
- and disposaltime = ?) a,
- (select temp, min(samplingtime) samplingTime, heatno, disposaltime
- from (select round(MIDLADLETEMP) temp,
- min(lastfreshtime) samplingTime,
- heatno,
- disposaltime
- from (select *
- from stl_ccm_f2sampling
- where heatno = ?
- and disposaltime = ?
- union
- select *
- from J#stl_ccm_f2sampling
- where heatno = ?
- and disposaltime = ?)
- group by MIDLADLETEMP, heatno, disposaltime)
- group by temp, heatno, disposaltime) t
- where a.heatno = t.heatno
- and a.disposaltime = t.disposaltime
- and a.lastfreshtime = t.samplingTime
- and temp > 1390
- order by samplingTime asc
-
- ]]>
- </query>
- - <query id="GetSampleDataThree.select" desc="返回指定SQL语句" fetchSize="10">
- - <![CDATA[
- select temp,
- to_char(samplingTime, 'yyyy-MM-dd HH24:mi:ss') samplingTime,
- round(S1CASTSPEED, 2) S1CASTSPEED,
- round(S2CASTSPEED, 2) S2CASTSPEED,
- round(S3CASTSPEED, 2) S3CASTSPEED,
- round(S4CASTSPEED, 2) S4CASTSPEED,
- round(S5CASTSPEED, 2) S5CASTSPEED,
- round(mes_lg_sampling.maxval(nvl(midladle1weight, 0),
- nvl(midladle2weight, 0))) midladle1weight,
- round(mes_lg_sampling.maxval(nvl(ARMLADLEAWEIGHT, 0),
- nvl(ARMLADLEBWEIGHT, 0))) ARMBIGPOTTOTALWEIGHT
- from (select *
- from stl_ccm_f3sampling
- where heatno = ?
- and disposaltime = ?
- union
- select *
- from J#stl_ccm_f3sampling
- where heatno = ?
- and disposaltime = ?) a,
- (select temp, min(samplingtime) samplingTime, heatno, disposaltime
- from (select round(MIDLADLETEMP) temp,
- min(lastfreshtime) samplingTime,
- heatno,
- disposaltime
- from (select *
- from stl_ccm_f3sampling
- where heatno = ?
- and disposaltime = ?
- union
- select *
- from J#stl_ccm_f3sampling
- where heatno = ?
- and disposaltime = ?)
- group by MIDLADLETEMP, heatno, disposaltime)
- group by temp, heatno, disposaltime) t
- where a.heatno = t.heatno
- and a.disposaltime = t.disposaltime
- and a.lastfreshtime = t.samplingTime
- and temp > 1390
- order by samplingTime asc
-
- ]]>
- </query>
- - <query id="GetSampleDataFour.select" desc="返回指定SQL语句" fetchSize="10">
- - <![CDATA[
- select temp,
- to_char(samplingTime, 'yyyy-MM-dd HH24:mi:ss') samplingTime,
- round(S1CASTSPEED, 2) S1CASTSPEED,
- round(S2CASTSPEED, 2) S2CASTSPEED,
- round(S3CASTSPEED, 2) S3CASTSPEED,
- round(S4CASTSPEED, 2) S4CASTSPEED,
- round(S5CASTSPEED, 2) S5CASTSPEED,
- round(mes_lg_sampling.maxval(nvl(midladle1weight, 0),
- nvl(midladle2weight, 0))) midladle1weight,
- round(mes_lg_sampling.maxval(nvl(ARMLADLEAWEIGHT, 0),
- nvl(ARMLADLEBWEIGHT, 0))) ARMBIGPOTTOTALWEIGHT
- from (select *
- from stl_ccm_f4sampling
- where heatno = ?
- and disposaltime = ?
- union
- select *
- from J#stl_ccm_f4sampling
- where heatno = ?
- and disposaltime = ?) a,
- (select temp, min(samplingtime) samplingTime, heatno, disposaltime
- from (select round(MIDLADLETEMP) temp,
- min(lastfreshtime) samplingTime,
- heatno,
- disposaltime
- from (select *
- from stl_ccm_f4sampling
- where heatno = ?
- and disposaltime = ?
- union
- select *
- from J#stl_ccm_f4sampling
- where heatno = ?
- and disposaltime = ?)
- group by MIDLADLETEMP, heatno, disposaltime)
- group by temp, heatno, disposaltime) t
- where a.heatno = t.heatno
- and a.disposaltime = t.disposaltime
- and a.lastfreshtime = t.samplingTime
- and temp > 1390
- order by samplingTime asc
-
- ]]>
- </query>
-
-
- <query id="UpdateMouldInfo.select" desc="新增炉号信息" fetchSize="10">
- <![CDATA[
-
- Update stl_CCM_MOULDINFO
- set MWRAPNO = ?,
- BALESTARTTIME = to_date(?, 'yyyy-MM-dd HH24:mi:ss'),
- BALEENDTIME = to_date(?, 'yyyy-MM-dd HH24:mi:ss'),
- BALEENDDATE = ?,
- ACCIDENTENDTIME = ?,
- S1CRYSTALCODE = ?,
- S2CRYSTALCODE = ?,
- S3CRYSTALCODE = ?,
- S4CRYSTALCODE = ?,
- S5CRYSTALCODE = ?,
- S1STARTTIME = to_date(?, 'yyyy-MM-dd HH24:mi:ss'),
- S2STARTTIME = to_date(?, 'yyyy-MM-dd HH24:mi:ss'),
- S3STARTTIME = to_date(?, 'yyyy-MM-dd HH24:mi:ss'),
- S4STARTTIME = to_date(?, 'yyyy-MM-dd HH24:mi:ss'),
- S5STARTTIME = to_date(?, 'yyyy-MM-dd HH24:mi:ss'),
- S1ENDTIME = to_date(?, 'yyyy-MM-dd HH24:mi:ss'),
- S2ENDTIME = to_date(?, 'yyyy-MM-dd HH24:mi:ss'),
- S3ENDTIME = to_date(?, 'yyyy-MM-dd HH24:mi:ss'),
- S4ENDTIME = to_date(?, 'yyyy-MM-dd HH24:mi:ss'),
- S5ENDTIME = to_date(?, 'yyyy-MM-dd HH24:mi:ss'),
- S1ENDCAUSE = ?,
- S2ENDCAUSE = ?,
- S3ENDCAUSE = ?,
- S4ENDCAUSE = ?,
- S5ENDCAUSE = ?,
- S1PLANENDTIME = to_date(?, 'yyyy-MM-dd HH24:mi:ss'),
- S2PLANENDTIME = to_date(?, 'yyyy-MM-dd HH24:mi:ss'),
- S3PLANENDTIME = to_date(?, 'yyyy-MM-dd HH24:mi:ss'),
- S4PLANENDTIME = to_date(?, 'yyyy-MM-dd HH24:mi:ss'),
- S5PLANENDTIME = to_date(?, 'yyyy-MM-dd HH24:mi:ss'),
-
- S1ENDOVERTIME = ?,
- S2ENDOVERTIME = ?,
- S3ENDOVERTIME = ?,
- S4ENDOVERTIME = ?,
- S5ENDOVERTIME = ?,
- S1CUTFRONT = ?,
- S2CUTFRONT = ?,
- S3CUTFRONT = ?,
- S4CUTFRONT = ?,
- S5CUTFRONT = ?,
- S1CUTBACK = ?,
- S2CUTBACK = ?,
- S3CUTBACK = ?,
- S4CUTBACK = ?,
- S5CUTBACK = ?,
- UPGAP = ?,
- DOWNGAP = ?,
- STUFFSTICK = ?,
- PROTECTDTEG = ?,
- S1CRPASSSTEELWEIGHT = ?,
- S2CRPASSSTEELWEIGHT = ?,
- MEMO = ?,
- UPDATETIME = sysdate,
- S3CRPASSSTEELWEIGHT = ?,
- S4CRPASSSTEELWEIGHT = ?,
- S5CRPASSSTEELWEIGHT = ?,
- MWRAPBESTROWNAME = ?,
- MWRAPBESTROWDOSAGE = ?,
- PROTECTDTEGDOSAGE = ?
- where MOULDNO=?
- ]]>
- </query>
-
- <query id="GetCmmManualTemp.select" desc="获取温度采样数据" fetchSize="10">
- <![CDATA[
-
- select lastfreshtime
- from (select *
- from $ t
- where heatno = ?
- and disposaltime = ?
- union
- select *
- from J#$ t
- where heatno = ?
- and disposaltime = ?)
- order by lastfreshtime asc
- ]]>
- </query>
- <query id="SetResHopperName.select" desc="设置料斗信息" fetchSize="10">
- <![CDATA[
-
- select a.MSNUMID,
- a.MSLOCATION,
- a.MATERIELTYPE,
- a.MATERIELCODE,
- a.MATERIELUNITS,
- a.JMTYPE,
- b.MATERIELFORSHORT
- from stl_MATERIALCONFG a, scm_MATERIEL b
- where a.MATERIELCODE = b.MATERIELCODE(+)
- and a.MATERIELTYPE = b.MATERIELTYPE(+)
- and a.MSLOCATION = decode(?,null,MSLOCATION,?)
- order by a.MATERIELTYPE, to_number(msnumid) asc
- ]]>
- </query>
- <query id="GetHmpStoveInfo_Load.select" desc="加载脱硫炉信息" fetchSize="10">
- <![CDATA[
-
- select HEATPROCESSNO,HUDWID, HEATNO
- from (select HEATPROCESSNO, HUDWID,HEATNO, OPTDATE
- from STL_Hmp_OPTINFO where 1=1 and substr(HUDWID,3,1) = ?
- and to_char(OPTDATE, 'yyyy-MM-dd') between ? and ?
- union
- select HEATPROCESSNO, HUDWID,HEATNO, OPTDATE
- from J#STL_Hmp_OPTINFO where 1=1 and substr(HUDWID,3,1) = ?
- and to_char(OPTDATE, 'yyyy-MM-dd') between ? and ?)
- ORDER BY OPTDATE DESC
- ]]>
- </query>
- <query id="GetHmpStoveInfo.select" desc="获取脱硫炉号信息" fetchSize="10">
- <![CDATA[
-
- select HEATPROCESSNO, HUDWID,HEATNO
- from (select HEATPROCESSNO, HUDWID, HEATNO,OPTDATE
- from STL_Hmp_OPTINFO where 1=1 and substr(HUDWID,3,1) = ? and substr(SHIFTCODE, 2, 1)= decode(?,null,substr(SHIFTCODE, 2, 1),?)
- and decode(?,'','1',plansteel) = decode(?,'','1',?) and HUDWID=decode(?,null,HUDWID,?) and
- to_char(OPTDATE, 'yyyy-MM-dd') between ? and ?
- union
- select HEATPROCESSNO, HUDWID, HEATNO,OPTDATE
- from J#STL_Hmp_OPTINFO where 1=1 and substr(HUDWID,3,1) = ? and substr(SHIFTCODE, 2, 1)= decode(?,null,substr(SHIFTCODE, 2, 1),?)
- and decode(?,'','1',plansteel) = decode(?, '','1',?) and HUDWID=decode(?,null,HUDWID,?) and
- to_char(OPTDATE, 'yyyy-MM-dd') between ? and ? )
- ORDER BY OPTDATE DESC
- ]]>
- </query>
- <query id="GetHmpOperateInfo.select" desc="获取脱硫实绩信息" fetchSize="10">
- <![CDATA[
-
- select a.heatprocessno,
- a.hudwid,
- a.equipmentno,
- a.wsid,
- a.heatno,
- a.plansteel,
- a.arrivetime,
- a.leavetime,
- a.instationtime,
- a.swtime,
- a.whiskbegintime,
- a.whiskclosetime,
- a.sb_first_startime,
- a.sb_first_endtime,
- a.sb_first_time,
- a.firstquantity,
- a.sb_second_startime,
- a.sb_second_endtime,
- a.sb_second_time,
- a.secondquantity,
- a.sb_third_startime,
- a.sb_third_endtime,
- a.sb_third_time,
- a.thirdquantity,
- a.churnupdate,
- a.setchurnupdate,
- a.dr_bef_starttime,
- a.dr_bef_endtime,
- a.dr_bef_time,
- a.dr_bef_wgt,
- a.dr_aft_starttime,
- a.dr_aft_endtime,
- a.dr_aft_time,
- a.dr_aft_wgt,
- a.dreffect,
- a.dfrstarttime,
- a.dfrendtime,
- a.dfrtime,
- a.swfelementcode,
- a.swftemperature,
- a.swbelementcode,
- a.swbtemperature,
- a.swbspercent,
- a.ironpotgrosswgt,
- t4.TAREWEIGHT ironpottarewgt,
- a.ironwgt,
- a.arrivewgttime,
- a.leavewgttime,
- a.arrivewgt,
- a.leavewgt,
- a.ironpotbofwgt,
- a.pretemperature,
- a.blowspeed,
- a.mostrotatespeed,
- a.ironpwrapno,
- a.potage,
- a.mix_reality_height,
- a.mr_user_times,
- a.ironsource,
- a.molirnleave,
- a.rsstoveno,
- a.rswgt,
- a.sbpress,
- a.sbplux,
- a.sbconsume,
- a.caoconsume,
- a.scontent,
- a.n2plux,
- a.n2consume,
- a.n2press,
- a.sggnumid,
- a.sggage,
- a.sggnumno,
- a.sironwgt,
- a.vflag,
- a.executestate,
- a.dfrstate,
- a.dfrwgt,
- a.reservsecanpressure,
- a.valveopenwidth,
- a.drquantity,
- a.numid,
- a.former_s_value,
- a.dregssolvent,
- a.sith_s_value,
- a.shiftcode,
- a.OPTPERSONNEL,
- a.optdate,
- a.updatetime,
- a.memo
- from (select *
- from stl_hmp_optinfo where 1=1 and HEATPROCESSNO = ?
- union
- select * from J#stl_hmp_optinfo where 1=1 and HEATPROCESSNO = ?) a ,
- (select TFPOTID,MOLIRNSOURCE
- from stl_mis_importiron
- where to_char(operationdate, 'yyyy-MM-dd hh24:mi:ss') between
- ? AND ?) t,
- dev_ib_base_info t4
- where t.MOLIRNSOURCE(+) = a.hudwid
- and t.TFPOTID =t4.ladleid (+)
-
- ]]>
- </query>
- <query id="GetHmpInfo_ByHUDWID.select" desc="根据脱硫号获取脱硫炉信息" fetchSize="10">
- <![CDATA[
- select *
- from (select *
- from stl_hmp_optinfo
- union
- select * from J#stl_hmp_optinfo)
- where HUDWID = decode(?, null, HUDWID, ?)
- ]]>
- </query>
-
-
- <query id="GetZL_SCJH.query" desc="获取转炉生产计划记录" fetchSize="10">
- <![CDATA[
- select a.HEATNO StoveID,'' IronFrom,AIM_GRADE_CODE PlanSteelCode,CAST_ID CutTaskNo,
- decode(HEAT_STATE, '03','计划状态', decode(HEAT_STATE, '09', '生产完成', '生产状态')) PlanExecuteStatus,
- PLAN_MAKING_TIME PlanMakeTime,PLAN_MAKER Maker,CAST_NO CastNo,FACT_ROUTE routeline,
- CAST_SEQ,HEAT_NUM,V_HEAT_ID,'' vanheatno,'' status
- from (select *from PPC_STEEL_HEAT union select * from J#PPC_STEEL_HEAT) a
- where 1 = 1 and heat_state > '02' and heat_state <= '09' $
- order by HEATNO desc
- ]]>
- </query>
- <query id="GetRLMX_Data.query" desc="打开窗体时自动取入炉明细数据" fetchSize="10">
- <![CDATA[
- select jobid ZYXH,heatno LH,
- stationcode GWBH,DISPOSALTIME CLCS,
- SHIFTCODE BC,CHARGENO ZDDH,WSTEELTYPE FGZL,
- PIGIRONWGT STZL,JOINMARLWGT CLZL,RSTEELWGT ZGZL,
- GOODMARLWGT HGZL,TOTALWGT ZZ,CHUTEWGT DZ,JOINSTOVEWGT RLZL,
- OPTPERSONNEL CZRY,JOBDATE ZYSJ,MEMO BZ,C,SI,MN,P,S,ASN
- from STL_SCRAPSTEEL $
- order by jobid desc
- ]]>
- </query>
- <query id="GetClassCode.query" desc="取当前班次" fetchSize="10">
- <![CDATA[
- select mes_lg_common.getlgshift1(sysdate) mes from dual
- ]]>
- </query>
-
- <query id="getZLCurrentLH.query" desc="取当前转炉正在冶炼的炉号 CVT01_DEVICE" fetchSize="10">
- <![CDATA[
- select t.objectpos, t.objectid from tpm_trackobjectinfor t
- where (t.objectpos like upper('bof0%_DEVICE') or t.objectpos like upper('bof0%_BACK'))
- and t.objectid is not null
- ]]>
- </query>
- <query id="HeatNo_HudwId_Exist.query" desc="判断是否已经发送过铁水" fetchSize="10">
- <![CDATA[
- select Count(*) intCount from stl_Bof_Optinfo where heatno = ?
- AND disposaltime = (SELECT disposaltime FROM stl_bof_optinfo WHERE heatno = ?) and nvl(WSTEELWGT,0)>0
- ]]>
- </query>
- <query id="GetSubSpingByHeatNo.query" desc="根据炉号获取副枪温度采样信息" fetchSize="10">
- <![CDATA[
- select SAMPLINGTYPE, TEMPERATURE, TERMINUSC_O2C, TERMINUSO2, SAMPLINGDATE
- from STL_BOF_SUBSAMPLING t
- where t.heatno = decode(?, null, heatno, ?)
- union
- select SAMPLINGTYPE, TEMPERATURE, TERMINUSC_O2C, TERMINUSO2, SAMPLINGDATE
- from j#STL_BOF_SUBSAMPLING t
- where t.heatno = decode(?, null, heatno, ?) order by SAMPLINGTYPE,SAMPLINGDATE desc
- ]]>
- </query>
- </queryMap>
|