| | |
| | | var mesRohIn = new MesRohIn(); |
| | | |
| | | var single = base.GetSingle(it => it.EbelnK3id == eid); |
| | | if (single != null) mesRohIn.Id = single.Id; |
| | | if (single != null) |
| | | { |
| | | mesRohIn.Id = single.Id; |
| | | |
| | | if (single.CheckDate != null) |
| | | mesRohIn.CheckDate = single.CheckDate; |
| | | else |
| | | mesRohIn.CheckDate = DateTime.Now; |
| | | } |
| | | |
| | | var mesLinkU9 = Db.Queryable<MesLinkU9>() |
| | | .Where(s => s.U9Id == rohIn.FSupplierId |
| | |
| | | mesRohIn.PrivateDescSeg1 = rohIn.PrivateDescSeg1; |
| | | mesRohIn.Version = rohIn.FVersion; |
| | | mesRohIn.ZzpoNo = rohIn.ZzpoNo; |
| | | mesRohIn.Remark1 = rohIn.Ywlx; |
| | | |
| | | //作废的相关字段 |
| | | mesRohIn.CancellationStatus = rohIn.FCancelStatus; |