/// <summary> /// 添加日志 /// </summary> /// <param name="s">添加状态</param> /// <param name="resultsDescribed">执行结果描述</param> public void Add_Log(int s, string resultsDescribed) { if (Log_Operating == null) { Log_Operating = new Log_Operating_Add_DAL(); } Log_Entity(s, "添加"); AddLog(resultsDescribed); }
/// <summary> /// 更新日志 /// </summary> /// <param name="status">更新状态</param> /// <param name="resultsDescribed">执行结果描述</param> public void Update_Log(int s, string resultsDescribed) { if (Log_Operating == null) { Log_Operating = new Log_Operating_Add_DAL(); } Log_Entity(s, "更新"); UpdateLog(resultsDescribed); }
/// <summary> /// 状态日志 /// </summary> /// <param name="s"></param> /// <param name="operationType"></param> /// <param name="moduleName">模块名称</param> public void Status_Log(int s, string operationType, string resultsDescribed) { if (Log_Operating == null) { Log_Operating = new Log_Operating_Add_DAL(); } Log_Entity(s, operationType); StatusLog(resultsDescribed); }