public JsonResult GetRideCheckFailed(string numberPlate) { ExecutionResult result = new ExecutionResult(); if (string.IsNullOrEmpty(numberPlate)) { result.Message = "车牌号不能为空!"; } else { try { RideCheckFeedbackLogic logic = new RideCheckFeedbackLogic(); var rideCheckFaileds = logic.GetRideCheckFailed(numberPlate); if (rideCheckFaileds.Count > 0) { List <string> list = new List <string>(); foreach (var item in rideCheckFaileds) { string str = string.Format("该车于时间:{0} 上车地点:{1} 下车地点:{2} 接受过跳车检查,存在以下不合格项:{3}", item.跳车时间, item.车地点, item.车地点, item.跳车检查结果.Replace("不合格:", "")); list.Add(str); } result.Result = list; result.Success = true; } else { result.Message = "该车辆不存在不合格项!"; } } catch (Exception ex) { result.Message = ex.Message; } } ExecHistry("GetRideCheckFailed", numberPlate, result.Success.ToString()); return(Json(result, JsonRequestBehavior.AllowGet)); }
public HomecomingSurveyController() { _hsl = new HomecomingSurveyLogic(); _logic = new RideCheckFeedbackLogic(); _ol = new OrganizationManagementLogic(); }
public VehicleRepairComplaintsController() { _bvrc = new Business_VehicleRepairComplaintsLogic(); _logic = new RideCheckFeedbackLogic(); }
public RideCheckFeedbackController() { _rl = new RideCheckFeedbackLogic(); _al = new AuthorityManageLogic(); }
public RideCheckFeedbackController() { _logic = new RideCheckFeedbackLogic(); }
public SurveyVaccinationController() { _logic = new RideCheckFeedbackLogic(); _ol = new OrganizationManagementLogic(); }