| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194119511961197119811991200120112021203120412051206120712081209121012111212121312141215121612171218121912201221122212231224122512261227122812291230123112321233123412351236123712381239124012411242124312441245124612471248124912501251125212531254125512561257125812591260126112621263126412651266126712681269127012711272127312741275127612771278127912801281128212831284128512861287128812891290129112921293129412951296129712981299130013011302130313041305130613071308130913101311131213131314131513161317131813191320132113221323132413251326132713281329133013311332133313341335133613371338133913401341134213431344134513461347134813491350135113521353135413551356135713581359136013611362136313641365136613671368136913701371137213731374137513761377137813791380138113821383138413851386138713881389139013911392 |
- <?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
- 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.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="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="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[
- res_lg_lfsmanage.mouldinfo_update
-
- ]]>
- </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, com_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,heatno,blockfur,case when stationcode is not null then substr(stationcode,2,1)||'#转炉' end stationcode,
- decode(substr(shiftcode,2,1),'1','甲班','2','乙班','3','丙班','4','丁班','') shiftcode,
- chargeno,totalwgt,chutewgt,joinstovewgt,optpersonnel,
- to_char(jobdate,'yyyy-MM-dd HH24:mi:ss') jobdate,memo
- from stl_scrapsteel $
- order by heatno,jobid desc
- ]]>
- </query>
- <query id="ScrapSteelMaterAdd.Query" desc="获取入炉明细从表数据" fetchSize="10">
- <![CDATA[
- select jobid, scrapsteelcode, scrapsteelname, jmwgt,
- to_char(feedingtime,'yyyy-MM-dd HH24:mi:ss') feedingtime, feedinger
- from stl_scrapsteel_detail $
- order by jobid
- ]]>
- </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>
|