diff --git a/Services/Hncore.Pass.Vpn/Service/ProductOrderService.cs b/Services/Hncore.Pass.Vpn/Service/ProductOrderService.cs index 8f5e938..2f22b08 100644 --- a/Services/Hncore.Pass.Vpn/Service/ProductOrderService.cs +++ b/Services/Hncore.Pass.Vpn/Service/ProductOrderService.cs @@ -952,7 +952,7 @@ FROM product_order where {where} GROUP BY Channel,ProductName order by Channel, rest_amount2 = score_money }; - agentEntity.account -= score_money; + agentEntity.account = score_money; await m_AgentScoreService.Add(agnetScoreEntity); await m_AgentUserService.Update(agentEntity);