| | |
| | | |
| | | break; |
| | | case "2": |
| | | case "4": |
| | | if (InsertOrUpdate(db, entity)) return 1; |
| | | |
| | | break; |
| | |
| | | CreateOrg = Convert.ToDecimal(depots.FCreateOrgId), |
| | | UseOrg = Convert.ToDecimal(depots.FUseOrgId), |
| | | CreateDate = DateTime.Now, |
| | | FZYC= depots.FZYC, |
| | | FGYC= depots.FGYC, |
| | | FZMC= depots.FZMC, |
| | | CGYMC= depots.FCGYMC, |
| | | Company = "1000", |
| | | Factory = "1000" |
| | | Factory = "1000", |
| | | Type=depots.Type, |
| | | }; |
| | | } |
| | | |
| | |
| | | throw new NotImplementedException("删除失败"); |
| | | break; |
| | | case "2": |
| | | case "4": |
| | | if (!InsertOrUpdateBatch(db, |
| | | depotsGroup.Value)) // 批量插入或更新仓库 |
| | | throw new NotImplementedException("同步失败"); |