comment excel data
This commit is contained in:
@@ -51,16 +51,16 @@ public class CaseHistoryController : ClientBaseController
|
||||
return await _rollCallApplication.GetCaseHistoryDetails(_workshopId, titleId, searchModel);
|
||||
}
|
||||
|
||||
[HttpGet("excel")]
|
||||
public async Task<IActionResult> GetDownload(string titleId,RollCallCaseHistorySearchModel searchModel)
|
||||
{
|
||||
var data = await _rollCallApplication.GetCaseHistoryDetails(_workshopId, titleId, searchModel);
|
||||
byte[] excelBytes = RollCallExcelGenerator.CaseHistoryExcelForOneDay(data);
|
||||
return File(excelBytes,
|
||||
"application/vnd.openxmlformats-officedocument.spreadsheetml.sheet",
|
||||
$"{workshopFullName} - {caseHistoryRollCallExcelForOneDay.DayOfWeekFa}،{caseHistoryRollCallExcelForOneDay.DateFa}.xlsx");
|
||||
|
||||
}
|
||||
// [HttpGet("excel")]
|
||||
// public async Task<IActionResult> GetDownload(string titleId,RollCallCaseHistorySearchModel searchModel)
|
||||
// {
|
||||
// var data = await _rollCallApplication.GetCaseHistoryDetails(_workshopId, titleId, searchModel);
|
||||
// byte[] excelBytes = RollCallExcelGenerator.CaseHistoryExcelForOneDay(data);
|
||||
// return File(excelBytes,
|
||||
// "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet",
|
||||
// $"{workshopFullName} - {caseHistoryRollCallExcelForOneDay.DayOfWeekFa}،{caseHistoryRollCallExcelForOneDay.DateFa}.xlsx");
|
||||
//
|
||||
// }
|
||||
|
||||
// [HttpGet("edit")]
|
||||
// public ActionResult<> GetEditDetails(string date,long employeeId)
|
||||
|
||||
Reference in New Issue
Block a user