111
啊鑫
2024-10-30 0a94a4385899cd672a72473ecdf665d9632d3a34
MES.Service/service/BasicData/OrganizeManager.cs
@@ -60,14 +60,11 @@
                        if (!UpdateOrganizetatusBatch(db, itemGroup.Value, "B"))
                            throw new NotImplementedException("禁用失败");
                        break;
                    case "2":
                        if (!InsertItemBatch(db, itemGroup.Value))
                            throw new NotImplementedException("插入失败");
                        break;
                    case "3":
                        if (!DeleteItemBatch(db, itemGroup.Value))
                            throw new NotImplementedException("删除失败");
                        break;
                    case "2":
                    case "4":
                        if (!InsertOrUpdateBatch(db, itemGroup.Value))
                            throw new NotImplementedException("同步失败");
@@ -120,7 +117,8 @@
            Name = organize.FName,
            FNumber = organize.FNumber,
            FParentlD = organize.FParentID,
            IsStatus = organize.FForbidStatus.Equals("A")
            IsStatus = organize.FForbidStatus.Equals("A"),
            Factory = organize.Id,
        };
    }