コード例 #1
0
 public List <ProductVehicleTypeConfigDb> GetProductVehicleTypeConfigInfoListByPid(string pid)
 {
     try
     {
         Func <SqlConnection, List <ProductVehicleTypeConfigDb> > action = (connection) => DalProductVehicleInfo.GetProductVehicleTypeConfigInfoListByPid(connection, pid);
         return(dbManagerReadOnly.Execute(action));
     }
     catch (Exception e)
     {
         Monitor.ExceptionMonitor.AddNewMonitor("根据PID查询产品车型配置信息异常", e, "检索异常", MonitorLevel.Critial, MonitorModule.Other);
         return(new List <ProductVehicleTypeConfigDb>());
     }
 }