Update gestione report
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user