|
|
|
@ -91,6 +91,19 @@ namespace DS.WMS.Core.TaskPlat.Method
|
|
|
|
|
if (queryList.Count == 0)
|
|
|
|
|
throw new Exception(string.Format(MultiLanguageConst.GetDescription(nameof(MultiLanguageConst.TaskBaseInfoFromTaskIdNull)), taskPKId));
|
|
|
|
|
|
|
|
|
|
var planInfo = queryList.FirstOrDefault().Plan;
|
|
|
|
|
|
|
|
|
|
dto.BillNo = planInfo.MBL_NO;
|
|
|
|
|
dto.BookingNo = planInfo.BOOKING_NO;
|
|
|
|
|
dto.Carrier = planInfo.CARRIER;
|
|
|
|
|
dto.OrigBillNo = planInfo.ORIG_MBL_NO;
|
|
|
|
|
dto.TaskPkId = planInfo.TASK_ID;
|
|
|
|
|
dto.Id = planInfo.Id;
|
|
|
|
|
dto.BookingId = planInfo.BOOKING_ID;
|
|
|
|
|
dto.ChangeReasonNotes = planInfo.CHANGE_REASON;
|
|
|
|
|
dto.GroupBatchNo = planInfo.GROUP_BATCH_NO;
|
|
|
|
|
dto.IsLast = planInfo.IS_LAST == 1 ? true : false;
|
|
|
|
|
|
|
|
|
|
var parentIdList = queryList.Select(a => a.Plan.Id).ToList();
|
|
|
|
|
|
|
|
|
|
var detailList = await tenantDb.Queryable<TaskTransPlanHasChangeDetail>()
|
|
|
|
|