public bool IsExisting(string appId) { using (var cmd = new DBCommand()) { try { var od = AppCore.AppSingleton.FindObjDef <StatusObjDef>(); return(StatusDAL.IsExisting(cmd, new Dictionary <IAttributeDefinition, object>() { { od.ID, appId } })); } catch (Exception ex) { using (var builder = new MessageBuilder()) { string err = builder.AppendLine("查找状态记录错误!").AppendLine(ex).Message; throw new Exception(err); } } } }