| | |
| | | using MES.Service.DB; |
| | | using MES.Service.Dto.webApi; |
| | | using MES.Service.Modes; |
| | | using MES.Service.util; |
| | | using SqlSugar; |
| | | |
| | | namespace MES.Service.service.BasicData; |
| | |
| | | private List<MesRohInData> GetMesRohInDatas( |
| | | List<ErpRohinData> erpRohinDatas, string type) |
| | | { |
| | | return erpRohinDatas.Select(s => |
| | | return erpRohinDatas.DistinctByConcurrent(x => x.id).Select(s => |
| | | { |
| | | var entity = new MesRohInData |
| | | { |
| | |
| | | ErpId = Convert.ToDecimal(s.Eid), |
| | | BillNo = s.FBillNo, |
| | | OrderLineId = s.FSeq, |
| | | BusinessFreeze = s.FStatus, |
| | | PurchaseOrderLineNumber = s.FSeq, |
| | | SalesOrderId = s.FDemandBillEntrySeq, |
| | | ItemId = s.FMaterialId, |