//獲取相應物流配送模式
 public JsonResult GetProductDeliverySetById(string rangeid)
 {
     IParametersrcImplMgr parame = new ParameterMgr(connectionString);
     Parametersrc p = new Parametersrc();
     JsonResult result = null;
     try
     {
         p.ParameterType = "freight_type";
         p.TopValue = rangeid;
         result = Json(parame.QueryForTopValue(p));
     }
     catch (Exception ex)
     {
         Log4NetCustom.LogMessage logMessage = new Log4NetCustom.LogMessage();
         logMessage.Content = string.Format("TargetSite:{0},Source:{1},Message:{2}", ex.TargetSite.Name, ex.Source, ex.Message);
         logMessage.MethodName = System.Reflection.MethodBase.GetCurrentMethod().Name;
         log.Error(logMessage);
     }
     return result;
 }