From 823f20da6ec2347edda40c3d9686594f1704b031 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E4=BD=95=E7=BE=8E=E8=8D=A3?= <10755671+mei-rong-he@user.noreply.gitee.com> Date: Mon, 25 May 2026 09:29:29 +0800 Subject: [PATCH] 1 --- .../APT.FO.WebApi/Controllers/LeaderWellRecordController.cs | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/APT.MicroApi/APT.FO.WebApi/Controllers/LeaderWellRecordController.cs b/APT.MicroApi/APT.FO.WebApi/Controllers/LeaderWellRecordController.cs index 5d6e231..a39ff28 100644 --- a/APT.MicroApi/APT.FO.WebApi/Controllers/LeaderWellRecordController.cs +++ b/APT.MicroApi/APT.FO.WebApi/Controllers/LeaderWellRecordController.cs @@ -271,11 +271,7 @@ namespace APT.FO.WebApi.Controllers { throw new Exception("接班人不能为空"); } - if (detailList!=null && detailList.Any()) - { - - } - else + if (!detailList.Any()) { throw new Exception("明细行至少填写一行"); }