| | |
| | | using Castle.Core.Resource; |
| | | using MES.Service.DB; |
| | | using MES.Service.DB; |
| | | using MES.Service.Dto.webApi; |
| | | using MES.Service.Modes; |
| | | using SqlSugar; |
| | |
| | | { |
| | | return new MesDepots |
| | | { |
| | | DepotId = Convert.ToDecimal(depots.Id), |
| | | DepotCode = depots.FNumber, |
| | | DepotName = depots.FName, |
| | | DepotId = Convert.ToDecimal(depots.Id), |
| | | IsFkc = depots.FAllowMinusQty, |
| | | CreateBy = depots.FPrincipal, |
| | | Depottype = depots.FStockProperty, |
| | | IsNg = depots.FForbidStatus, |
| | | Zuid = depots.FGroup, |
| | | FSubsidiary = depots.FSubsidiary, |
| | | Fumbrella = depots.Fumbrella, |
| | | FSUPPLIERID = depots.FSUPPLIERID, |
| | | Fdeptid = depots.Fdeptid, |
| | | Company = "1000", |
| | | CreateOrg= Convert.ToDecimal(depots.FCreateOrgId), |
| | | UseOrg= Convert.ToDecimal(depots.FUseOrgId), |
| | | CreateDate = DateTime.Now, |
| | | Company = "1000", |
| | | Factory = "1000" |
| | | }; |
| | | } |