/// <summary> /// 保存某个记录单打印到第几条记录 /// </summary> /// <param name="p_strInPatientID"></param> /// <param name="p_strInPatientDate"></param> /// <param name="p_strFormName"></param> /// <param name="p_intRecord"></param> /// <returns></returns> public long m_lngSavePrintToRecord(string p_strInPatientID, string p_strInPatientDate, string p_strFormName, int p_intToRecord) { clsPrintDateInfoServ m_objServ = (clsPrintDateInfoServ)com.digitalwave.iCare.common.clsObjectGenerator.objCreatorObjectByType(typeof(clsPrintDateInfoServ)); return(m_objServ.m_lngSavePrintToRecord(clsLoginContext.s_ObjLoginContext.m_ObjPrincial, p_strInPatientID, p_strInPatientDate, p_strFormName, p_intToRecord)); }
//private clsPrintDateInfoServ m_objServ; /// <summary> /// 查找该条记录的第一次打印时间 /// </summary> /// <param name="p_strInPatientID"></param> /// <param name="p_strInPatientDate"></param> /// <param name="p_strCreateDate"></param> /// <param name="p_strTableName"></param> /// <returns></returns> public string m_strGetFirstPrintDate(string p_strInPatientID, string p_strInPatientDate, string p_strCreateDate, string p_strTableName) { clsPrintDateInfoServ m_objServ = (clsPrintDateInfoServ)com.digitalwave.iCare.common.clsObjectGenerator.objCreatorObjectByType(typeof(clsPrintDateInfoServ)); return(m_objServ.m_strGetFirstPrintDate(clsLoginContext.s_ObjLoginContext.m_ObjPrincial, p_strInPatientID, p_strInPatientDate, p_strCreateDate, p_strTableName)); }
/// <summary> /// 先判断该记录是否已经打印过,如有,则不再写入时间,否则,保存该条记录的第一次打印时间 /// </summary> /// <param name="p_strInPatientIDArr"></param> /// <param name="p_strInPatientDateArr"></param> /// <param name="p_strCreateDateArr"></param> /// <param name="p_strTableName"></param> /// <returns></returns> public long m_lngSetFirstPrintDateWithCheck(string[] p_strInPatientIDArr, string[] p_strInPatientDateArr, string[] p_strCreateDateArr, string p_strTableName) { clsPrintDateInfoServ m_objServ = (clsPrintDateInfoServ)com.digitalwave.iCare.common.clsObjectGenerator.objCreatorObjectByType(typeof(clsPrintDateInfoServ)); long m_lngRes = m_objServ.m_lngSetFirstPrintDateWithCheck(clsLoginContext.s_ObjLoginContext.m_ObjPrincial, p_strInPatientIDArr, p_strInPatientDateArr, p_strCreateDateArr, p_strTableName); return(m_lngRes); }