南骏 池
2025-05-23 9bda2a9c4dcd6512b32a31cde6af4d5d8e80c668
MES.Service/service/BasicData/MesDepotsManager.cs
@@ -103,6 +103,10 @@
            Fumbrella = depots.FCreateOrgId,
            CreateDate = DateTime.Now,
            LastupdateDate = DateTime.Now,
            SupplierId = depots.FSUPPLIERID,
            ClientId = depots.ClientId,
            Department = depots.Fdeptid,
            Phone = depots.Phone,
            Company = "1000",
            Factory = "1000"
        };
@@ -136,16 +140,12 @@
                                "B")) // 批量禁用仓库
                            throw new NotImplementedException("禁用失败");
                        break;
                    case "2":
                        if (!InsertDepotBatch(db,
                                depotsGroup.Value)) // 批量插入仓库
                            throw new NotImplementedException("插入失败");
                        break;
                    case "3":
                        if (!DeleteDepotBatch(db,
                                depotsGroup.Value)) // 批量删除仓库
                            throw new NotImplementedException("删除失败");
                        break;
                    case "2":
                    case "4":
                        if (!InsertOrUpdateBatch(db,
                                depotsGroup.Value)) // 批量插入或更新仓库