南骏 池
2025-02-24 10cced0eeb7d17aab1d1a58c9be163ba0aeb2640
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)) // 批量插入或更新仓库