From 24960cf538d4821e929182ecb2530f352608e5f5 Mon Sep 17 00:00:00 2001 From: liguoyang Date: Tue, 9 Dec 2025 14:57:40 +0800 Subject: [PATCH] =?UTF-8?q?fix=20=E6=B1=87=E6=80=BB=E6=B6=88=E8=B4=B9?= =?UTF-8?q?=E9=9C=80=E8=A6=81ABS?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Src/Dlhis.ScheduledTask/Jobs/CostUploadJob.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Src/Dlhis.ScheduledTask/Jobs/CostUploadJob.cs b/Src/Dlhis.ScheduledTask/Jobs/CostUploadJob.cs index 8d18ae87..5842eb8b 100644 --- a/Src/Dlhis.ScheduledTask/Jobs/CostUploadJob.cs +++ b/Src/Dlhis.ScheduledTask/Jobs/CostUploadJob.cs @@ -26,7 +26,7 @@ public class CostUploadJob : BaseJob var year = now.Month == 1 ? now.Year - 1 : now.Year; var month = now.Month == 1 ? 12 : now.Month - 1; - + var s = new DateTime(year, month, 1); var e = new DateTime(year, month + 1, 1); var endDayOfMonth = e.AddDays(-1); @@ -60,7 +60,7 @@ public class CostUploadJob : BaseJob { WorkCode = userCode, BeginDate = endDayOfMonth.ToString("yyyy-MM-dd"), - Charge = balance, + Charge = Math.Abs(balance), Code= "2086" } }