返回字典修改

parent 65b03bc5
......@@ -641,7 +641,7 @@ public ApiResponse RedistributionCompute([FromBody] SecondComputeDto request)
// 重算顶部医院其他绩效
_redistributionService.OverviewCalculate_OtherPerformance(request.Head, cleanDatas);
var dic = _redistributionService.GetTableHeaderDictionary(loads);
var dic = _redistributionService.GetTableHeaderDictionary(second, loads);
return new ApiResponse(ResponseType.OK, new { Head = request.Head, Body = cleanDatas, Dic = dic });
}
......
......@@ -6,17 +6,19 @@ public class SecondColumnDictionary
public string Key { get; set; }
public bool IsTrue { get; set; }
public int Sort { get; set; }
public string Site { get; set; }
public SecondColumnDictionary()
{
}
public SecondColumnDictionary(string label, string key, bool isTrue, int sort)
public SecondColumnDictionary(string label, string key, bool isTrue, int sort, string site = "Table")
{
Label = label;
Key = key;
IsTrue = isTrue;
Sort = sort;
Site = site;
}
}
}
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