| | |
| | | using MES.Service.DB; |
| | | using MES.Service.Dto.webApi; |
| | | using MES.Service.Modes; |
| | | using SqlSugar; |
| | | |
| | | namespace MES.Service.service.BasicData; |
| | | |
| | |
| | | |
| | | private ShipmentNotice GetShipmentNotice(ErpShipmentNotice notice) |
| | | { |
| | | ShipmentNotice entity = new ShipmentNotice(); |
| | | var entity = new ShipmentNotice(); |
| | | |
| | | entity.Creator = notice.FCreatorId; |
| | | entity.DocId = notice.FBillNo; |
| | | entity.Approver = notice.FApproverID; |
| | | |
| | | if (notice.FCreateDate != null) |
| | | { |
| | | entity.CreateDate = DateTime.ParseExact(notice.FCreateDate, |
| | | "yyyy-MM-dd HH:mm:ss", null); |
| | | } |
| | | |
| | | if (notice.FApproveDate != null) |
| | | { |
| | | entity.ApproveDate = DateTime.ParseExact(notice.FApproveDate, |
| | | "yyyy-MM-dd HH:mm:ss", null); |
| | | } |
| | | |
| | | entity.DeptCode = notice.FSaleDeptId; |
| | | entity.CustCode = notice.FCustomerID; |