From 8cbbbaffdce58f563454f3552a4853611b51a207 Mon Sep 17 00:00:00 2001 From: liguoyang Date: Wed, 15 Oct 2025 18:49:54 +0800 Subject: [PATCH] =?UTF-8?q?fix=20>0=20=E5=9B=A0=E4=B8=BA=E6=95=B0=E6=8D=AE?= =?UTF-8?q?=E4=B8=BA=E8=B4=9F=E6=95=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../TaskAssignment/Controllers/AssignmentsController.cs | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/Src/Dlhis.ScheduledTask/TaskAssignment/Controllers/AssignmentsController.cs b/Src/Dlhis.ScheduledTask/TaskAssignment/Controllers/AssignmentsController.cs index c1ef4fd7..aaade91f 100644 --- a/Src/Dlhis.ScheduledTask/TaskAssignment/Controllers/AssignmentsController.cs +++ b/Src/Dlhis.ScheduledTask/TaskAssignment/Controllers/AssignmentsController.cs @@ -251,9 +251,9 @@ public class AssignmentsController : ControllerBase TenantId = data.TenantId }; - if (newData.ClosingAmount < 0) + if (newData.ClosingAmount > 0) { - throw new UserFriendlyException("结算金额过大,导致期末金额小于0"); + throw new UserFriendlyException("结算金额过大"); } data.Valid = false; @@ -287,9 +287,9 @@ public class AssignmentsController : ControllerBase TenantId = data.TenantId }; - if (newData.ClosingAmount < 0) + if (newData.ClosingAmount > 0) { - throw new UserFriendlyException("退款金额过大,导致期末金额小于0"); + throw new UserFriendlyException("退款金额过大"); } data.Valid = false;