public bool SaveProductInfoByPid(string pid, string cpremark, bool isAuto, string vehicleLevel)
        {
            bool result = false;

            try
            {
                int isAutometic = isAuto ? 1 : 0;
                #region 车型信息变更 则删除原有车型信息配置
                bool configNotChange = DalProductVehicleInfo.IsExistProductVehicleTypeConfig(pid, vehicleLevel);
                bool?deleteResult    = null;
                if (!configNotChange)
                {
                    Func <SqlConnection, bool> deleteAction = (connection) => DalProductVehicleInfo.DeleteOldProductVehicleTypeConfig(connection, pid);
                    deleteResult = dbManager.Execute(deleteAction);
                    if (deleteResult != true)
                    {
                        throw new Exception("删除旧车型配置失败");
                    }
                }
                #endregion
                Func <SqlConnection, bool> action = (connection) => DalProductVehicleInfo.SaveProductInfoByPid(connection, pid, cpremark, isAutometic, vehicleLevel);
                result = dbManager.Execute(action);
            }
            catch (Exception e)
            {
                logger.Info($"SaveProductInfoByPid;ErrorMessage:{e.Message};ErrorStackTrace:{e.StackTrace}");
                Monitor.ExceptionMonitor.AddNewMonitor("编辑页保存车型级别异常", e, "保存数据异常", MonitorLevel.Critial, MonitorModule.Other);
                throw e;
            }

            return(result);
        }