| | |
| | | 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("同步失败"); |
| | |
| | | Name = organize.FName, |
| | | FNumber = organize.FNumber, |
| | | FParentlD = organize.FParentID, |
| | | IsStatus = organize.FForbidStatus.Equals("A") |
| | | IsStatus = organize.FForbidStatus.Equals("A"), |
| | | Factory = organize.Id, |
| | | }; |
| | | } |
| | | |