/// <summary> /// 清零病人操作 /// </summary> /// <param name="PatListID">病人列表ID</param> /// <returns>true成功false失败</returns> public bool ClearPatData(int PatListID) { if (!CheckPatCost(PatListID)) { try { ZY_PresOrder zyP = new ZY_PresOrder(oleDb); zyP.ClearPatPresData(PatListID); } catch { return(false); } return(true); } else { throw new Exception("该病人已经做了结算操作,不能再清零!"); } }