esb流程的逻辑处理连接数据库//访问web service接口
HL7V2Service(xml文件5-21) DataConn conn = new ConnOracle(); conn.ConnString = this.setting["ESB数据库连接"]; BusinessFlow.HL7Msg msg = new BusinessFlow.HL7Msg(); msg.load(msg_in.get_str("hl7v2")); string sql = msg.make_sql_hl7_send(); string err_code = ""; string err = ""; conn.exec(sql,out err); if(err!="") { err_code="999"; err=err+ this.setting["ESB数据库连接"] ; } string ack = msg.make_ack(err_code,err) ; msg_out.add_str("result",ack); =======his_dept 连接数据库查dt System.Data.DataTable dt = (System.Data.DataTable) (msg_in.get_parm("his_dept")); DataConn conn = new ConnOracle(); if(dt==null||dt.Rows.Count<