特殊科室医院奖罚计算位置调整

parent 6c3fcf94
...@@ -201,8 +201,8 @@ public class ResultComputeService : IAutoInjection ...@@ -201,8 +201,8 @@ public class ResultComputeService : IAutoInjection
Adjust = (groupAdjust == 0) ? 1 : groupAdjust, Adjust = (groupAdjust == 0) ? 1 : groupAdjust,
}; };
res.GiveFee = Math.Round((sumValue + (extra ?? 0)) ?? 0); res.GiveFee = Math.Round(sumValue ?? 0);
res.RealGiveFee = Math.Round(res.GiveFee * (res.ScoringAverage ?? 0) * (groupAdjust == 0 ? 1 : groupAdjust) ?? 0); res.RealGiveFee = Math.Round(res.GiveFee * (res.ScoringAverage ?? 0) * (groupAdjust == 0 ? 1 : groupAdjust) + (extra ?? 0) ?? 0);
res.Avg = Math.Round((group.Number != 0 ? res.GiveFee / group.Number : null) ?? 0); res.Avg = Math.Round((group.Number != 0 ? res.GiveFee / group.Number : null) ?? 0);
res.ResultsTotalFee = Math.Round(sumValue ?? 0); res.ResultsTotalFee = Math.Round(sumValue ?? 0);
......
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