修改派车任务打印

optimize
jianghaiqing 2 years ago
parent 4fcce982b3
commit fb6d0e551b

@ -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);
}

Loading…
Cancel
Save