Update gestione report

This commit is contained in:
Samuele E. Locatelli
2020-02-28 15:07:54 +01:00
parent 7494d42b4e
commit 06f10df8ac
13 changed files with 2336 additions and 1477 deletions
+9 -5
View File
@@ -47,13 +47,17 @@ namespace MP_API.Controllers
DataTable tab = new DataTable();
switch (tipoReport)
{
case reportRichiesto.CartellinoPedane:
tab = MagDataLayer.man.taCPed.GetData(keyParam);
answ.Add("stp_prt_PartLabel", tab);
break;
case reportRichiesto.CartellinoFinitiOdette:
tab = MagDataLayer.man.taCFOdette.GetData(keyParam);
answ.Add("stp_prt_StackLabel", tab);
answ.Add("stp_prt_CartellinoFinitiOdette", tab);
break;
case reportRichiesto.CartellinoPedane:
tab = MagDataLayer.man.taCPed.GetData(keyParam);
answ.Add("stp_prt_CartellinoPedane", tab);
break;
case reportRichiesto.CartellinoSemilavorati:
tab = MagDataLayer.man.taCSemil.GetData(keyParam);
answ.Add("stp_prt_CartellinoSemilavorati", tab);
break;
default:
break;