/// <summary> /// 批量更新药房对应病区的顺序号 /// </summary> /// <param name="m_objVOArr"></param> /// <returns></returns> public long m_lngUpdateOrderOfTable(clsMedStoreVsArea[] m_objVOArr) { long lngRes = 0; clsMedStoreBseInfoSvc objSvc = (clsMedStoreBseInfoSvc)com.digitalwave.iCare.common.clsObjectGenerator.objCreatorObjectByType(typeof(clsMedStoreBseInfoSvc)); lngRes = objSvc.m_lngUpdateOrderOfTable(objPrincipal, m_objVOArr); objSvc.Dispose(); return(lngRes); }
/// <summary> /// 载入药房信息 /// </summary> /// <param name="p_dtable"></param> /// <returns></returns> public long m_lngGetMedStoreInfo(out DataTable p_dtable) { long lngRes = 0; clsMedStoreBseInfoSvc objSvc = (clsMedStoreBseInfoSvc)com.digitalwave.iCare.common.clsObjectGenerator.objCreatorObjectByType(typeof(clsMedStoreBseInfoSvc)); lngRes = objSvc.m_lngGetMedStoreInfo(objPrincipal, out p_dtable); objSvc.Dispose(); return(lngRes); }
/// <summary> /// 根据病人药房id和窗口id删除药房叫号内容信息表 /// </summary> /// <param name="m_strMedStoreID"></param> /// <param name="m_strWindowsID"></param> /// <returns></returns> public long m_lngDelMedStoreCallInfoByID(string m_strMedStoreID, string m_strWindowsID) { long lngRes = 0; clsMedStoreBseInfoSvc objSvc = (clsMedStoreBseInfoSvc)com.digitalwave.iCare.common.clsObjectGenerator.objCreatorObjectByType(typeof(clsMedStoreBseInfoSvc)); lngRes = objSvc.m_lngDelMedStoreCallInfoByID(objPrincipal, m_strMedStoreID, m_strWindowsID); objSvc.Dispose(); return(lngRes); }
/// <summary> /// 新增药房排班信息 /// </summary> /// <param name="p_intSeq"></param> /// <param name="p_objDuty"></param> /// <returns></returns> public long m_lngAddDeptDutyInfo(out int p_intSeq, clsMedDeptDuty_VO p_objDuty) { long lngRes = 0; clsMedStoreBseInfoSvc objSvc = (clsMedStoreBseInfoSvc)com.digitalwave.iCare.common.clsObjectGenerator.objCreatorObjectByType(typeof(clsMedStoreBseInfoSvc)); lngRes = objSvc.m_lngAddDeptDutyInfo(objPrincipal, out p_intSeq, p_objDuty); objSvc.Dispose(); return(lngRes); }
/// <summary> /// 删除药房专用窗口与科室对应 /// </summary> public long m_lngDeleteMEDSTOREWINDEPT(clsMEDSTOREWINDEPTDEF_VO[] p_VO) { long lngRes = 0; clsMedStoreBseInfoSvc objSvc = (clsMedStoreBseInfoSvc)com.digitalwave.iCare.common.clsObjectGenerator.objCreatorObjectByType(typeof(clsMedStoreBseInfoSvc)); lngRes = objSvc.m_lngDeleteMEDSTOREWINDEPT(objPrincipal, p_VO); objSvc.Dispose(); return(lngRes); }
/// <summary> /// 删除排班信息 /// </summary> /// <param name="p_intID"></param> /// <returns></returns> public long m_thDelDeptDutyInfo(int p_intID) { long lngRes = 0; clsMedStoreBseInfoSvc objSvc = (clsMedStoreBseInfoSvc)com.digitalwave.iCare.common.clsObjectGenerator.objCreatorObjectByType(typeof(clsMedStoreBseInfoSvc)); lngRes = objSvc.m_thDelDeptDutyInfo(objPrincipal, p_intID); objSvc.Dispose(); return(lngRes); }
/// <summary> /// 根据病房ID获取各药房当天的未发药信息 /// </summary> /// <param name="m_strCurrentDataTime"></param> /// <param name="m_strMedStoreID"></param> /// <param name="m_objTable"></param> /// <returns></returns> public long m_lngGetMedStoreSendInfo(string m_strCurrentDataTime, string m_strMedStoreID, out DataTable m_objTable) { long lngRes = 0; clsMedStoreBseInfoSvc objSvc = (clsMedStoreBseInfoSvc)com.digitalwave.iCare.common.clsObjectGenerator.objCreatorObjectByType(typeof(clsMedStoreBseInfoSvc)); lngRes = objSvc.m_lngGetMedStoreSendInfo(objPrincipal, m_strCurrentDataTime, m_strMedStoreID, out m_objTable); objSvc.Dispose(); return(lngRes); }
/// <summary> /// 根据药房ID获取药房排班信息 /// </summary> /// <param name="p_TypeID"></param> /// <param name="p_objResArr"></param> /// <returns></returns> public long m_lngGetDeptDutyInfo(string p_TypeID, out clsMedDeptDuty_VO[] p_objResArr) { long lngRes = 0; clsMedStoreBseInfoSvc objSvc = (clsMedStoreBseInfoSvc)com.digitalwave.iCare.common.clsObjectGenerator.objCreatorObjectByType(typeof(clsMedStoreBseInfoSvc)); lngRes = objSvc.m_lngGetDeptDutyInfo(objPrincipal, p_TypeID, out p_objResArr); objSvc.Dispose(); return(lngRes); }
/// <summary> /// 根据中心药房id插入相应管理病区的信息 /// </summary> /// <param name="m_objData"></param> /// <returns></returns> public long m_lngInsertMedStoreAreaRelation(clsMedStoreVsArea m_objData) { long lngRes = 0; clsMedStoreBseInfoSvc objSvc = (clsMedStoreBseInfoSvc)com.digitalwave.iCare.common.clsObjectGenerator.objCreatorObjectByType(typeof(clsMedStoreBseInfoSvc)); lngRes = objSvc.m_lngInsertMedStoreAreaRelation(objPrincipal, m_objData); objSvc.Dispose(); return(lngRes); }
/// <summary> /// 删除药房单据类型 /// </summary> /// <param name="p_strID">药房单据类型代码</param> /// <returns></returns> public long m_lngDeleteMedStoreOrdType(string p_strID) { long lngRes = 0; clsMedStoreBseInfoSvc objSvc = (clsMedStoreBseInfoSvc)com.digitalwave.iCare.common.clsObjectGenerator.objCreatorObjectByType(typeof(clsMedStoreBseInfoSvc)); lngRes = objSvc.m_lngDeleteMedStoreOrdType(objPrincipal, p_strID); objSvc.Dispose(); return(lngRes); }
/// <summary> /// 修改药房单据类型 /// </summary> /// <param name="p_objItem">药房单据类型数据</param> /// <returns></returns> public long m_lngUpdMedStoreOrdTypeByID(clsMedStoreOrdType_VO p_objItem) { long lngRes = 0; clsMedStoreBseInfoSvc objSvc = (clsMedStoreBseInfoSvc)com.digitalwave.iCare.common.clsObjectGenerator.objCreatorObjectByType(typeof(clsMedStoreBseInfoSvc)); lngRes = objSvc.m_lngUpdMedStoreOrdTypeByID(objPrincipal, p_objItem); objSvc.Dispose(); return(lngRes); }
/// <summary> /// 新增药房限额 /// </summary> /// <param name="p_objItem">药房限额数据</param> /// <returns></returns> public long m_lngAddNewMedStoreLimit(DataRow p_objItem) { long lngRes = 0; clsMedStoreBseInfoSvc objSvc = (clsMedStoreBseInfoSvc)com.digitalwave.iCare.common.clsObjectGenerator.objCreatorObjectByType(typeof(clsMedStoreBseInfoSvc)); lngRes = objSvc.m_lngAddNewMedStoreLimit(objPrincipal, p_objItem); objSvc.Dispose(); return(lngRes); }
/// <summary> /// 根据中心药房id获取相应管理病区的信息 /// </summary> /// <param name="m_strMedStoreID"></param> /// <param name="p_dtable"></param> /// <returns></returns> public long m_lngGetAreaInformationByMedStoreID(string m_strMedStoreID, out DataTable p_dtable) { long lngRes = 0; p_dtable = null; clsMedStoreBseInfoSvc objSvc = (clsMedStoreBseInfoSvc)com.digitalwave.iCare.common.clsObjectGenerator.objCreatorObjectByType(typeof(clsMedStoreBseInfoSvc)); lngRes = objSvc.m_lngGetAreaInformationByMedStoreID(objPrincipal, m_strMedStoreID, out p_dtable); objSvc.Dispose(); return(lngRes); }
/// <summary> /// 药房专用窗口与科室对应表内容 /// </summary> public long m_lngGetMedStoreWinDeptDefInfo(string p_strMedStoreId, string p_strWindowId, out DataTable p_dtable) { long lngRes = 0; p_dtable = null; clsMedStoreBseInfoSvc objSvc = (clsMedStoreBseInfoSvc)com.digitalwave.iCare.common.clsObjectGenerator.objCreatorObjectByType(typeof(clsMedStoreBseInfoSvc)); lngRes = objSvc.m_lngGetMedStoreWinDeptDefInfo(objPrincipal, p_strMedStoreId, p_strWindowId, out p_dtable); objSvc.Dispose(); return(lngRes); }
/// <summary> /// 按药房查询药房限额(新) /// </summary> /// <param name="winid"></param> /// <param name="p_objResultArr"></param> /// <returns></returns> public long m_lngGetMedStoreLimitByAnyWinID(string winid, out DataTable p_objResultArr) { long lngRes = 0; p_objResultArr = new DataTable(); clsMedStoreBseInfoSvc objSvc = (clsMedStoreBseInfoSvc)com.digitalwave.iCare.common.clsObjectGenerator.objCreatorObjectByType(typeof(clsMedStoreBseInfoSvc)); lngRes = objSvc.m_lngGetMedStoreLimitByAnyWinID(objPrincipal, winid, out p_objResultArr); objSvc.Dispose(); return(lngRes); }
/// <summary> /// 模糊查询药房信息 /// </summary> /// <param name="p_strSQL">SQL语句</param> /// <param name="p_objResultArr">输出数据</param> /// <returns></returns> public long m_lngGetMedStoreByAny(string p_strSQL, out clsMedStore_VO[] p_objResultArr) { long lngRes = 0; p_objResultArr = new clsMedStore_VO[0]; clsMedStoreBseInfoSvc objSvc = (clsMedStoreBseInfoSvc)com.digitalwave.iCare.common.clsObjectGenerator.objCreatorObjectByType(typeof(clsMedStoreBseInfoSvc)); lngRes = objSvc.m_lngGetMedStoreByAny(objPrincipal, p_strSQL, out p_objResultArr); objSvc.Dispose(); return(lngRes); }
/// <summary> /// 得到当前最大的窗口号 /// </summary> /// <param name="p_strID">窗口号</param> /// <returns></returns> public long m_lngGetMedStoreWinID(out string p_strID) { long lngRes = 0; p_strID = null; clsMedStoreBseInfoSvc objSvc = (clsMedStoreBseInfoSvc)com.digitalwave.iCare.common.clsObjectGenerator.objCreatorObjectByType(typeof(clsMedStoreBseInfoSvc)); lngRes = objSvc.m_lngGetMedStoreWinID(objPrincipal, out p_strID); objSvc.Dispose(); return(lngRes); }