temp.doc.svn-base 13 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592
  1. 11-1405-2131
  2. 112014050100
  3. PCG-11-1405-1010
  4. 112014050626
  5. select t.ASKPLAN_ID,t.TRANS_CAR_NO,t.SND_DTIME,t.SND_REMARK,s2.DEPARTNAME AS TRANS_DEPT_NAME,
  6. s2.DEPARTID as TRANS_DEPT,
  7. CASE t.TRANS_DEPT_TPE WHEN '0' THEN '驻外公司' WHEN '1' THEN '码头' END AS TRANS_DEPT_TPE,
  8. t.PRD_ID,t.SLAB_NO,t.PRD_ROLL_DTIME,
  9. CASE t.PRD_TYPE WHEN '0' THEN '直销' WHEN '1' THEN '自销' WHEN '2' THEN '自用' END as PRD_TYPE,
  10. t.BUYERCODE,NVL((SELECT BUYERNAME FROM SEL_BUYERBASEINFO WHERE BUYERCODE = t.BUYERCODE AND ISACTIVATED = '1'),t.BUYERCODE) AS BUYERNAME,
  11. t.ORD_NO,t.ORD_SEQ,t.ORD_THK,t.ORD_WTH,t.ORD_LEN,t.ORD_INDIA,t.ORD_OUTDIA,
  12. t.ORD_WGT,t.PRD_THK,t.PRD_WTH,t.PRD_LEN,t.PRD_INDIA,t.PRD_OUTDIA,t.CAL_WGT,t.ACT_WGT,
  13. t.CATEGORY,NVL((select name_ from SCM_BASE_INFO where t.CATEGORY = id_),t.CATEGORY) as CATEGORYNAME,
  14. t.STEELCODE,t.SPEC_ABBSYM,
  15. t.FIXSIZE,NVL((select name_ from SCM_BASE_INFO where t.FIXSIZE = id_),t.FIXSIZE) as FIXSIZE_NM,
  16. t.CUTSIDESTATE,NVL((select name_ from SCM_BASE_INFO where t.CUTSIDESTATE = id_),t.CUTSIDESTATE) as CUTSIDESTATE_NM,
  17. t.DTMR_GRD,NVL((select name_ from SCM_BASE_INFO where t.DTMR_GRD = id_),t.DTMR_GRD) as DTMR_GRD_NM,
  18. t.DTMR_RSLT,NVL((select name_ from SCM_BASE_INFO where t.DTMR_RSLT = id_),t.DTMR_RSLT) as DTMR_RSLT_NM,
  19. t.RCL_STATE,t.SND_STATUS,t.EXTSHAPE_DEC_GRD,
  20. CASE t.APRC_DEC_RSLT WHEN '0' THEN '不合格' WHEN '1' THEN '合格' END AS APRC_DEC_RSLT,
  21. t.CRK_CD1,t.CRK_CD2,t.CRK_CD3,
  22. CASE t.TOT_DEC_RSLT WHEN '0' THEN '不合格' WHEN '1' THEN '合格' END AS TOT_DEC_RSLT,
  23. t.CHK_ORG,NVL((select name_ from SCM_BASE_INFO where t.CHK_ORG = id_),t.CHK_ORG) as CHK_ORG_NM,
  24. case t.PACKAGE_FL when '0' then '未包装' WHEN '1' THEN '已包装' END AS PACKAGE_FL,
  25. CASE t.PACKAGE_LEVEL WHEN '1' THEN '不包' WHEN '2' THEN '简包' WHEN '3' THEN '普包' WHEN '4' THEN '精包' END AS PACKAGE_LEVEL,
  26. t.XG_CRET_NO,t.SAL_PRC,t.TRS_MNY,
  27. CASE t.ACP_STAT WHEN '0' THEN '待接收' WHEN '1' THEN '已接收' END AS ACP_STAT,
  28. s1.DEPARTNAME as FORECORPNAME,s1.DEPARTID as FORECORPCODE,
  29. (SELECT M.INCEPTCORPNAME FROM SEL_INCEPTCORPINFO M WHERE M.INCEPTCORPCODE=t.ORDCUST_CD)RECEIVE_DEPT,
  30. (SELECT E.LOADDOCK||'→'||E.UNLOADDOCK FROM SEL_STATIONINFO E WHERE E.STATIONCODE=T.DEPARTURE_CD)ARRIVAL_CD
  31. from OVS_TRAST_COMM t, core_app_department s1 , core_app_department s2
  32. where
  33. t.PRD_ID like '%'||?||'%'
  34. and t.TRANS_CAR_NO like '%'||?||'%'
  35. and t.ORD_NO like '%'||?||'%'
  36. and t.askplan_id like '%'||?||'%'
  37. and t.ACP_DEPT like ?
  38. and t.PRD_ROLL_DTIME between ? and ?
  39. and (t.SND_DTIME between ? and ? or t.SND_DTIME is null)
  40. and t.ACP_DEPT = s1.DEPARTID
  41. and t.TRANS_DEPT = s2.DEPARTID
  42. and t.ACP_STAT = '0'
  43. 6297865 刘
  44. LS140604001
  45. W112013080633
  46. W112013080539
  47. 上海大中物流
  48. 5708.16
  49. 20110329S089
  50. 6290070
  51. 6292342 孙
  52. and INVOICEDATE between to_date('2014-05-01', 'yyyy-MM-dd') and to_date('2014-05-29','yyyy-MM-dd')+1 and BCFLAG = '1' and BALANCESTATUS IN('2','3') and a.PRODUCTLINE = '4001HB1' AND ((A.BCFLAG ='1' and A.CLEARFLAG = '0') or (A.BCFLAG = '0' and A.CLEARFLAG = '1') or (a.bcflag='0' and a.clearflag='0') ) and a.ISOUT = '0'
  53. 6293871
  54. 1120140546
  55. 6297013
  56. 销售报表--- 结算日报
  57. --- 结算查询
  58. J47-04981A 070
  59. J48-03837A
  60. 010
  61. 020
  62. 030
  63. 201405140020
  64. 201405140034
  65. J48-04118A
  66. ftp://172.16.0.11
  67. 6292166
  68. 201404240401
  69. 装车实绩,发运明细登记
  70. 电话:6292361 熊
  71. 发运号:201404200456
  72. 装车实绩 点击明细撤销无法撤销
  73. 发运明细登记中删除明细无法删除
  74. 6292150
  75. 6293718
  76. 13879005567
  77. 18674455264 宾洪斌
  78. 360013317000192901 劳务费:155 重量:147.59
  79. J49-02624A030
  80. J37-11541A
  81. J32-08927A
  82. 13879007879
  83. 何工
  84. 转炉办公室
  85. 张主任:13979045559
  86. J41-01826A
  87. JBA572
  88. 360013317000204567
  89. 发票号重复
  90. 0790-6226077
  91. 201403050664
  92. 6297006
  93. 13879024953
  94. 6293495
  95. 6290481
  96. \\172.16.0.108\C$
  97. \\172.16.0.108\e$
  98. 8731205
  99. J49-02663A
  100. 13979093328
  101. 629
  102. 13979093328 杜工
  103. 6292125 一钢退回坯管理
  104. 6290062 厚板厂,曹,夏微
  105. J48-01163A
  106. j41-01334A
  107. with t as (
  108. select * from stl_ccm_optinfo a
  109. union all
  110. select * from j#stl_ccm_optinfo b)
  111. select * from t where t.heatno in (select a.CHARGE_NO from tbg02_charge_comm@xg3q a where a.CAST_NO = '012659') order by t.optdate
  112. 软吹时间:
  113. PLC1
  114. M2.0 1号,
  115. M2.1 2号
  116. 运行点
  117. 6290467
  118. 6290504
  119. cp0501
  120. Q345
  121. 6292367
  122. 13979015380
  123. 顾工
  124. CoreFS.CA06.FrmBase fr = new FrmBase();
  125. fr.ob = ob;
  126. CoreClientParam CCP_Query = new CoreClientParam();
  127. DataTable dt = new DataTable();
  128. // CCP_Query.ServerName = "Core.LgMes.Server.Common.ComDBQuery";
  129. // CCP_Query.MethodName = "doQuery";
  130. CCP_Query.ServerName = "Core.LgMes.Server.Common.ComDBExecute"; // 考虑原来返回数据形式性能太低,修改为前端传sql,服务端直接执行模式 2013.11.18
  131. CCP_Query.MethodName = "doSimpleQuery";
  132. CCP_Query.ServerParams = new object[] { this.getSqlOfJobAdditiveData(strTableName, strHNo, strSCode, strDTime) };
  133. CCP_Query.SourceDataTable = dt;
  134. fr.ExecuteQueryToDataTable(CCP_Query, CoreInvokeType.Internal);
  135. ds.Tables.Add(dt);
  136. select distinct a.HEATNO,
  137. v.aim_grade_code PLANSTEEL,
  138. a.SHIFTCODE,
  139. v.CAST_ID || '-' || v.cast_seq CAST_ID,
  140. a.POTWRAPSTATE,
  141. a.POTNO,
  142. decode(substr(a.shiftcode, 1, 1),
  143. '1',
  144. '白',
  145. '2',
  146. '中',
  147. '3',
  148. '晚') BC,
  149. decode(substr(a.shiftcode, 2, 1),
  150. '1',
  151. '甲',
  152. '2',
  153. '乙',
  154. '3',
  155. '丙',
  156. '4',
  157. '丁') BB,
  158. to_char(a.LEAVETIME, 'hh24:mi') ZZTIME,
  159. to_char(a.ARRIVETIME, 'HH24:mi') ARRIVETIME,
  160. to_char(a.OPTDATE, 'yyyy-MM-dd hh24:mi') OPTDATE,
  161. to_char(a.BLOWARSTARTTIME, 'HH24:mi') BLOWARSTARTTIME,
  162. to_char(a.BLOWARENDTIME, 'HH24:mi') BLOWARENDTIME,
  163. to_char(a.CASSTARTTIME, 'HH24:mi') CASSTARTTIME,
  164. to_char(a.CASENDTIME, 'HH24:mi') CASENDTIME,
  165. a.ARITEMPT,
  166. a.ARFTEMPT,
  167. a.ARBTEMPT,
  168. a.ARRIVEO2,
  169. a.LEAVEO2,
  170. a.TWSTEELWGT,
  171. a.MANTLENUM,
  172. a.RESIDUETHICKNESS,
  173. a.BLOWARPRESS,
  174. a.ARFLUX,
  175. a.STATIONCODE,
  176. a.DISPOSALTIME,
  177. v.PLAN_LINES,
  178. nvl(t.PFBALEWGT,0)-nvl(t.BALELEAVEWGT,0) MOLSTLWGT,
  179. max(case when a.HEATNO = t4.HEATNO and t4.xh = t4.cnt then t4.C end) over(partition by a.HEATNO) C,
  180. max(case when a.HEATNO = t4.HEATNO and t4.xh = t4.cnt then t4.MN end) over(partition by a.HEATNO) Mn,
  181. max(case when a.HEATNO = t4.HEATNO and t4.xh = t4.cnt then t4.S end) over(partition by a.HEATNO) S,
  182. max(case when a.HEATNO = t4.HEATNO and t4.xh = t4.cnt then t4.P end) over(partition by a.HEATNO) P,
  183. max(case when a.HEATNO = t4.HEATNO and t4.xh = t4.cnt then t4.SI end) over(partition by a.HEATNO) Si,
  184. max(case when a.HEATNO = t4.HEATNO and t4.xh = t4.cnt then t4.ALS end) over(partition by a.HEATNO) AIS,
  185. max(case when a.HEATNO = t4.HEATNO and t4.xh = t4.cnt then t4.ALt end) over(partition by a.HEATNO) AIt,
  186. max(case when a.HEATNO = t4.HEATNO and t4.xh = t4.cnt then T4.CA end) over(partition by a.HEATNO) Ca
  187. from (select *
  188. from STL_CAS_OPTINFO
  189. where to_char(OPTDATE, 'yyyy-MM-dd hh24:mi:ss') between ? and ?
  190. and substr(STATIONCODE, 2, 1) =
  191. decode(?, null, substr(STATIONCODE, 2, 1), ?)
  192. and UPPER(nvl(PLANSTEEL, 'null')) in
  193. (decode(?, null, UPPER(nvl(PLANSTEEL, 'null')), ?))
  194. and substr(SHIFTCODE, 1, 1) =
  195. decode(?, null, substr(SHIFTCODE, 1, 1), ?)
  196. and substr(SHIFTCODE, 2, 1) =
  197. decode(?, null, substr(SHIFTCODE, 2, 1), ?)
  198. union
  199. select *
  200. from J#STL_CAS_OPTINFO
  201. where to_char(OPTDATE, 'yyyy-MM-dd hh24:mi:ss') between ? and ?
  202. and substr(STATIONCODE, 2, 1) =
  203. decode(?, null, substr(STATIONCODE, 2, 1), ?)
  204. and UPPER(nvl(PLANSTEEL, 'null')) in
  205. (decode(?, null, UPPER(nvl(PLANSTEEL, 'null')), ?))
  206. and substr(SHIFTCODE, 1, 1) =
  207. decode(?, null, substr(SHIFTCODE, 1, 1), ?)
  208. and substr(SHIFTCODE, 2, 1) =
  209. decode(?, null, substr(SHIFTCODE, 2, 1), ?)) a,
  210. (select *
  211. from ppc_steel_heat
  212. union
  213. select * from J#ppc_steel_heat) v,
  214. (select *
  215. from STL_CCM_OPTINFO
  216. where to_char(OPTDATE, 'yyyy-MM-dd') between ? and ?
  217. union
  218. select *
  219. from J#STL_CCM_OPTINFO
  220. where to_char(OPTDATE, 'yyyy-MM-dd') between ? and ?) t,
  221. (select *
  222. from STL_LFS_OPTINFO
  223. where to_char(OPTDATE, 'yyyy-MM-dd') between ? and ?
  224. union
  225. select *
  226. from J#STL_LFS_OPTINFO
  227. where to_char(OPTDATE, 'yyyy-MM-dd') between ? and ?) w,
  228. (select y.*
  229. from (select x.*,
  230. count(1) over(partition by x.HEATNO) cnt,
  231. row_number() over(partition by x.HEATNO order by x.ASSAYTYPECODE desc) xh
  232. from (select *
  233. from stl_CHEMELEMENT
  234. where upper(SUBSTR(CHECKNO, 12, 2)) = 'DQ'
  235. and upper(SUBSTR(CHECKNO, -1)) = 'S'
  236. union
  237. select t.*
  238. from j#stl_CHEMELEMENT t
  239. where upper(SUBSTR(CHECKNO, 12, 2)) = 'DQ'
  240. and upper(SUBSTR(CHECKNO, -1)) = 'S'
  241. ) x) y
  242. where y.xh = y.cnt) t4
  243. where a.HEATNO = v.heatNo(+)
  244. and a.HEATNO = t.HEATNO(+)
  245. and a.heatno = w.heatno(+)
  246. and a.heatno = t4.heatno(+)
  247. order by OPTDATE
  248. 转炉操作记录,出钢温度,2号炉没有
  249. 6290824
  250. 6290467
  251. J32-01046A
  252. J32-09809A
  253. jsk06
  254. 324521
  255. J48-00516A
  256. 102014010607
  257. 合同打印 打不出来
  258. 20131231S211
  259. 20140108S223
  260. 6292682
  261. 112013100068
  262. 中板线
  263. 6294610
  264. J47-01252A050
  265. J47-01223A020 6.84
  266. 6291281
  267. 95,70
  268. J28-07782A
  269. 2钢脱硫:铁水温度,‘脱硫前’ 温度为选铁水来源的温度
  270. 脱硫实绩中加入测温时间
  271. 总貌图 显示拉宽
  272. 发运明细报表 中 热送 ,冷松信息有问题???可以参考 生产计划执行表 中的热送冷松
  273. 冷送,有下线原因
  274. 2钢 <<炼钢技术经济指标汇总统计>>
  275. 正确 61695.89
  276. 3qjc205
  277. 9461
  278. 6292367
  279. zhb
  280. 123
  281. 201401010065
  282. 201401010066
  283. 生产预排及交货期确认
  284. J42-00002A 改 J42-00502A
  285. J42-00001A 改 J42-00501A
  286. 排成干特图
  287. dds01
  288. dds01
  289. http://localhost:8080/WebProject/Register?username=林&password=111
  290. 201312180892
  291. 1203
  292. 单价:5343.86
  293. 面积:87.57
  294. 打折:467962
  295. 6292133
  296. J39-11837A
  297. 15170905846
  298. 脱硫站 MES温度进不去
  299. J31-09327A
  300. 6292452 大全
  301. 20131215S063
  302. 201312080066 9.978,
  303. 67
  304. 201312090347
  305. 44.605
  306. 45.0
  307. 6292150
  308. 1炼钢厂,1号连铸机,台下2操台
  309. 2. 13879066469
  310. 虚拟发运提交不了
  311. 6293405
  312. 6290070
  313. 肖强,
  314. 6293405
  315. 二线,综合判定
  316. E3-06784
  317. jcxc02
  318. 1111111
  319. J37-11155A
  320. 65,389.84
  321. 24000
  322. 12000
  323. where to_char(OPTDATE,'yyyy-MM-dd') between '2013-12-16' and '2013-12-16' and CVTPOS = '1' and substr(CLASS,1,1) = '1' and substr(CLASS,2,1) = '1' and LADLEID = '11'
  324. 0731-84430526 转 0
  325. 去湘域中英拿离职的
  326. 带东南融通公司离职证明,
  327. 去方理胜再开证明
  328. 公积金提取
  329. :单位离职证明,个人身份证,提取材料(可在网上下载),
  330. 如果亲戚代办,除上面的外,还需带代办人身份证,结婚证件等
  331. 带身份证原件,户口本原件,到 你们公司拿证明材料
  332. 湘域中央2栋1120
  333. 再找公积金部分提取,公积金提取在周1到周四
  334. 2钢连铸付工:
  335. 1.点啦表 拉速改给定拉速
  336. 2.新作报表,加班次,岗位,断面分开来
  337. 3.CCM1,CCM2,CCM3
  338. 13879028123 郭
  339. CoreClientParam CCP_Query = new CoreClientParam();
  340. DataTable dt = new DataTable();
  341. // CCP_Query.ServerName = "Core.LgMes.Server.Common.ComDBQuery";
  342. // CCP_Query.MethodName = "doQuery";
  343. CCP_Query.ServerName = "Core.LgMes.Server.Common.ComDBExecute"; // 考虑原来返回数据形式性能太低,修改为前端传sql,服务端直接执行模式 2013.11.18
  344. CCP_Query.MethodName = "doSimpleQuery";
  345. CCP_Query.ServerParams = new object[] { this.getSqlOfJobAdditiveData(strTableName, strHNo, strSCode, strDTime) };
  346. CCP_Query.SourceDataTable = dt;
  347. fr.ExecuteQueryToDataTable(CCP_Query, CoreInvokeType.Internal);
  348. ds.Tables.Add(dt);
  349. 201311260244
  350. 201311300064
  351. 厚板在库判定
  352. -- 按入库时间不能查询
  353. -- 15979887588
  354. 韵达1700075080261
  355. 2钢板坯称重理论重量和实际重量,需要个差值
  356. 修改描述
  357. 作者
  358. 修改日期
  359. 次数
  360. 班别
  361. 6292350
  362. 刘工
  363. 13979085094
  364. 切割板坯查询与记录
  365. 201311110276
  366. 201311110283
  367. 201311110274
  368. 44.54
  369. 43.872
  370. 201311100150
  371. 43.492
  372. 40.92
  373. 明细和实物不符合
  374. 6292247 田承兰
  375. SLM_PRICE.TESTMAIN('H3-35555.1.5',sysdate - 9,'902601','SEL_BALANCEDETAIL_ALL','','D','','','','')
  376. declare
  377. v_pricic number;
  378. v1 varchar2(20);
  379. v2 varchar2(20);
  380. begin
  381. SLM_PRICE.COUNTPIRCE('H3-35555.1.5',
  382. '',
  383. '626125',
  384. 'SEL_BALANCEDETAIL_ALL',
  385. '',
  386. v_pricic,
  387. v1,
  388. v2);
  389. dbms_output.put_line(v2);
  390. end;
  391. 唯美鲜花网
  392. 订单:2013121076507