public ProductInfo GetProductInfoByPid(string pid) { try { Func <SqlConnection, ProductInfo> action = (connection) => DalProductVehicleInfo.GetProductInfoByPid(connection, pid); return(dbManagerReadOnly.Execute(action)); } catch (Exception e) { Monitor.ExceptionMonitor.AddNewMonitor("根据PID检索产品信息异常", e, "检索异常", MonitorLevel.Critial, MonitorModule.Other); return(new ProductInfo()); } }