public JsonResult GetPaintDiscountOprLog(string servicePid, int surfaceCount, int packageId = 0) { if (string.IsNullOrEmpty(servicePid) || surfaceCount < 1) { return(Json(new { Status = false, Msg = "未知的对象" }, JsonRequestBehavior.AllowGet)); } var logType = "PaintDiscountConfig"; var identityID = $"{packageId}_{servicePid}_{surfaceCount}"; var manager = new PaintDiscountConfigManager(); var result = manager.SelectPaintDiscountOprLog(logType, identityID); return(Json(new { Status = result != null, Data = result }, JsonRequestBehavior.AllowGet)); }