/// <summary> /// 操作类型 /// </summary> /// <param name="Type">操作类型</param> /// <param name="ObjId">操作对象编号</param> /// <param name="Remark">备注</param> /// <param name="Operator">操作者</param> public int Insert(OperationType Type, int ObjId, string Remark, string Operator) { TB_Admin_Log log = new TB_Admin_Log(); log.Operator = Operator; log.Type = Type.ToStr(); log.ObjId = ObjId; log.Remark = Remark; log.AddDate = DateTime.Now; return(Insert(log)); }