去掉了

This commit is contained in:
陈向学 2024-06-27 09:46:22 +08:00
parent d0c29666ad
commit d73f83e340
1 changed files with 0 additions and 15 deletions

View File

@ -171,13 +171,6 @@ namespace CompetitionAPI.Controllers.api
dic[a.First().INSTRG_DATE.Value.Month]++; dic[a.First().INSTRG_DATE.Value.Month]++;
}); });
//总数
decimal yearNum = 0;
foreach (var item in dic)
{
yearNum += item.Value;
}
dic.Add(13, yearNum);
return Json(Tool.GetJsonWithCode(APICode.Success, dic)); return Json(Tool.GetJsonWithCode(APICode.Success, dic));
} }
@ -210,14 +203,6 @@ namespace CompetitionAPI.Controllers.api
dic[a.INSTRG_DATE.Value.Month] += a.BILL_GROSS_WT.Value; dic[a.INSTRG_DATE.Value.Month] += a.BILL_GROSS_WT.Value;
}); });
//总数
decimal yearNum = 0;
foreach (var item in dic)
{
yearNum += item.Value;
}
dic.Add(13, yearNum);
return Json(Tool.GetJsonWithCode(APICode.Success, dic)); return Json(Tool.GetJsonWithCode(APICode.Success, dic));
} }