|
|
|
@ -622,8 +622,6 @@ namespace Myshipping.Application
|
|
|
|
|
reportUrl += "/";
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
var genUrl = $"{reportUrl}PrintReport";
|
|
|
|
|
|
|
|
|
|
var truckOrder = _taskTruckRepository.AsQueryable().First(a => a.PK_ID == taskTruckId);
|
|
|
|
|
|
|
|
|
|
if (truckOrder == null)
|
|
|
|
@ -667,7 +665,7 @@ namespace Myshipping.Application
|
|
|
|
|
|
|
|
|
|
_logger.LogInformation($"taskTruckId={taskTruckId} 请求打印 JSON={JSON.Serialize(model)}");
|
|
|
|
|
|
|
|
|
|
return await PrintHelper.GeneratePrintFile(JSON.Serialize(model), genUrl, PRINT_DATASOURCE_KEY,
|
|
|
|
|
return await PrintHelper.GeneratePrintFile(JSON.Serialize(model), reportUrl, PRINT_DATASOURCE_KEY,
|
|
|
|
|
printFileType, printTemplate);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|