二次分配误差金额改为0

parent d1979dac
...@@ -1615,7 +1615,7 @@ public bool AuditSubmit(ag_secondallot second, int userId) ...@@ -1615,7 +1615,7 @@ public bool AuditSubmit(ag_secondallot second, int userId)
bool VerifySubmissioAmount(decimal? leftAmount, decimal? rightAmount) bool VerifySubmissioAmount(decimal? leftAmount, decimal? rightAmount)
{ {
decimal floatValue = 0.1m; decimal floatValue = 0m;
return Math.Abs((rightAmount ?? 0) - (leftAmount ?? 0)) <= floatValue; return Math.Abs((rightAmount ?? 0) - (leftAmount ?? 0)) <= floatValue;
} }
......
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