diff --git a/Learun.Application.Web/AppApi/PlotLayoutApiController.cs b/Learun.Application.Web/AppApi/PlotLayoutApiController.cs index 91139941..db7efda6 100644 --- a/Learun.Application.Web/AppApi/PlotLayoutApiController.cs +++ b/Learun.Application.Web/AppApi/PlotLayoutApiController.cs @@ -162,12 +162,12 @@ namespace Learun.Application.Web.AppApi } // 找出area和deck列组合重复的行 var duplicateGroups = res - .GroupBy(r => new { r.area, r.deck }) + .GroupBy(r => new { r.area, r.deck, r.RoomNo }) .Where(g => g.Count() > 1) .ToList(); if (duplicateGroups.Any()) { - return Fail("该图纸上有区域和甲板信息重复的基点存在。"); + return Fail("该图纸上有甲板、房间号信息重复的基点存在。"); } //这里要考虑下拉列表 带 ||的问题