public string GetNotCompleteRecord() { string token = TokenHelper.GetTokenJson(HttpContext.Request.Headers["Authorization"]);//利用这个进行数据按部门进行隔离 TokenInfo tokenInfo = JSONHelper.JSONToObject <TokenInfo>(token); int WorkcellId = tokenInfo.workCell; RepairRecord repairRecord = new RepairRecord(); repairRecord.WorkcellId = WorkcellId; List <RepairRecord> result = repairService.GetNotCompleteRecord(repairRecord); return(JSONHelper.ObjectToJSON(ResponseUtil.Ok(result))); }