wankeda
2025-12-29 60fb2fdfaddceda64b934b2167ca255f8c3579b8
WMS/WIDESEA_WMSServer/WIDESEA_TaskInfoRepository/TaskRepository.cs
@@ -51,10 +51,10 @@
                throw new Exception("任务数组数据托盘号重复");
            }
            if (QueryFirst(x => listEntity.Select(v => v.PalletCode).Contains(x.PalletCode)) != null)
            {
                throw new Exception("有重复任务");
            }
            //if (QueryFirst(x => listEntity.Select(v => v.PalletCode).Contains(x.PalletCode)) != null)
            //{
            //    throw new Exception("有重复任务");
            //}
            return base.AddData(listEntity);
        }