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("明细行至少填写一行"); }