Commit 2a92346e by guanzhenshan

1

parent 18cbbf2a
......@@ -1383,7 +1383,7 @@ namespace Bailun.DC.Web.Areas.Reports.Controllers
{
if (item.company_name == listCol[i])
{
var obj = listValue.Where(a => a.Item1 == item.type_no).FirstOrDefault();
var obj = listValue.Where(a => a.Item1 == item.type_name).FirstOrDefault();
if (obj == null)
{
......@@ -1394,7 +1394,7 @@ namespace Bailun.DC.Web.Areas.Reports.Controllers
}
listItems[i] = item.amount_rmb??0;
listValue.Add(new Tuple<string, List<decimal>>(item.type_no, listItems));
listValue.Add(new Tuple<string, List<decimal>>(item.type_name, listItems));
}
else
{
......@@ -1406,7 +1406,7 @@ namespace Bailun.DC.Web.Areas.Reports.Controllers
{
if (item.department_name == listCol[i])
{
var obj = listValue.Where(a => a.Item1 == item.type_no).FirstOrDefault();
var obj = listValue.Where(a => a.Item1 == item.type_name).FirstOrDefault();
if (obj == null)
{
......@@ -1417,7 +1417,7 @@ namespace Bailun.DC.Web.Areas.Reports.Controllers
}
listItems[i] = item.amount_rmb??0;
listValue.Add(new Tuple<string, List<decimal>>(item.type_no, listItems));
listValue.Add(new Tuple<string, List<decimal>>(item.type_name, listItems));
}
else
{
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment