This commit is contained in:
何美荣 2026-05-25 09:29:29 +08:00
parent 7a3a92ee03
commit 823f20da6e

View File

@ -271,11 +271,7 @@ namespace APT.FO.WebApi.Controllers
{ {
throw new Exception("接班人不能为空"); throw new Exception("接班人不能为空");
} }
if (detailList!=null && detailList.Any()) if (!detailList.Any())
{
}
else
{ {
throw new Exception("明细行至少填写一行"); throw new Exception("明细行至少填写一行");
} }