/// <summary> /// 插入ServerAccountType /// </summary> public bool InsertServerAccountType(ServerAccountTypeInfo info) { if (info.CreateTime == null) { info.CreateTime = Utils.GetNow(); } if (info.ModifyTime == null) { info.ModifyTime = Utils.GetNow(); } SqlMapper.Instance().Insert("ServerInfo.InsertServerAccountType", info); return(true); }
/// <summary> /// 更新ServerAccountType /// </summary> public bool UpdateServerAccountType(ServerAccountTypeInfo info) { SqlMapper.Instance().Update("ServerInfo.UpdateServerAccountType", info); return(true); }