摘要: 1 try { 2 DBConnection dbs = new DBConnection(); 3 conn = dbs.getConnection(); 4 stmt = conn.prepareCall("{call P... 阅读全文
posted @ 2016-01-17 15:11 东百牧码人 阅读(396) 评论(1) 推荐(0)
摘要: 1 --创建包2 create or replace package PAK_ExecuteAttendingDoctor is3 type cp_results is ref cursor;4 procedure ExecuteAttendingDoctor(start_time in varc... 阅读全文
posted @ 2016-01-17 15:07 东百牧码人 阅读(965) 评论(0) 推荐(0)
摘要: 报了个错var dt2=new Date(d2Arr[0],d2Arr[1],d2Arr[2]); if(dt1>dt2){//比较日期 alert("开始日期不能晚于结束日期!"); return; } //解了个觉 var userAgent = ... 阅读全文
posted @ 2016-01-12 18:21 东百牧码人 阅读(2580) 评论(0) 推荐(0)
摘要: 多表关联想查a表中除去b表的可用not exists 效率比not in 更高优化后的语句用时0.421秒select john.*,(casewhen round((case john.sumcountwhen 0 then0elsemycount * 100 / sumcountend),2) ... 阅读全文
posted @ 2015-12-30 16:19 东百牧码人 阅读(494) 评论(0) 推荐(0)
摘要: 昨天再监听里新加了个地址,重启电脑后监听无法启动,删除新加地址就好了# listener.ora Network Configuration File: d:\oracle\product\10.2.0\db_2\NETWORK\ADMIN\listener.ora# Generated by Or... 阅读全文
posted @ 2015-12-29 09:16 东百牧码人 阅读(204) 评论(0) 推荐(0)
摘要: privatestaticintsortUnit(int[]array,intlow,inthigh){intkey=array[low];while(low=key&&high>low)--high;/*比key小的放左边*/array[low]=array[high];/*从前向后搜索比key大... 阅读全文
posted @ 2015-10-15 09:36 东百牧码人 阅读(195) 评论(0) 推荐(0)
摘要: 冒泡排序就是把小的元素往前调或者把大的元素往后调。比较是相邻的两个元素比较,交换也发生在这两个元素之间。所以,如果两个元素相等,我想你是不会再无聊地把他们俩交换一下的;如果两个相等的元素没有相邻,那么即使通过前面的两两交换把两个相邻起来,这时候也不会交换,所以相同元素的前后顺序并没有改变,所以冒泡排... 阅读全文
posted @ 2015-10-15 09:29 东百牧码人 阅读(170) 评论(0) 推荐(0)
摘要: usingSystem;usingSystem.Collections.Generic;usingSystem.Linq;usingSystem.Text;namespaceAbstractFactoryPattern{publicclassPizza{publicstringname;intern... 阅读全文
posted @ 2015-05-12 09:17 东百牧码人 阅读(136) 评论(0) 推荐(0)
摘要: /// /// 2014-12-09 吴海龙 /// 测试调用pacs存储过程 /// /// 住院号 /// icd编码 [WebMethod] public void TestHISCONFIRMICD(String inp_no, string i... 阅读全文
posted @ 2015-01-30 15:40 东百牧码人 阅读(199) 评论(0) 推荐(0)
摘要: string strResult = Regex.Replace(drdia["Result"].ToString().Substring(drdia["Result"].ToString().LastIndexOf("诊断:")), @"\s", ""); 阅读全文
posted @ 2015-01-30 15:39 东百牧码人 阅读(254) 评论(0) 推荐(0)