From a622695a0cd6ea5aa63869f5c1a891e589909f48 Mon Sep 17 00:00:00 2001
From: 小飞侠 <8277136+liaoxujun@user.noreply.gitee.com>
Date: 星期二, 07 四月 2026 16:14:57 +0800
Subject: [PATCH] no message
---
cylsg/cylsg.Application/Users/UserAppService.cs | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/cylsg/cylsg.Application/Users/UserAppService.cs b/cylsg/cylsg.Application/Users/UserAppService.cs
index 07f0d41..aea49ae 100644
--- a/cylsg/cylsg.Application/Users/UserAppService.cs
+++ b/cylsg/cylsg.Application/Users/UserAppService.cs
@@ -74,7 +74,7 @@
}
}
userDto.userWorker.IsLingHuoYongGong = IsGuDing;
- decimal ab = userDto.userWorker.TiXianZonge ?? 0 - userDto.userWorker.YiTiXianJine ?? 0 ;
+ decimal ab = (userDto.userWorker.TiXianZonge ?? 0) - (userDto.userWorker.YiTiXianJine ?? 0 );
userDto.userWorker.Balance =ab < 0 ? 0 : ab;
if (IsGuDing)
{
@@ -338,7 +338,7 @@
}
userDto.userWorker.IsLingHuoYongGong = IsGuDing;
- decimal ab = userDto.userWorker.TiXianZonge ?? 0 - userDto.userWorker.YiTiXianJine ?? 0;
+ decimal ab = (userDto.userWorker.TiXianZonge ?? 0) - (userDto.userWorker.YiTiXianJine ?? 0);
userDto.userWorker.Balance = ab < 0 ? 0 : ab;
if (IsGuDing)
{
--
Gitblit v1.9.1