|
|
@ -44,7 +44,7 @@ public class AluminumTtankController {
|
|
|
|
@GetMapping("/getTeamStatisticsJson")
|
|
|
|
@GetMapping("/getTeamStatisticsJson")
|
|
|
|
@ResponseBody
|
|
|
|
@ResponseBody
|
|
|
|
public String getTeamStatisticsJson(){
|
|
|
|
public String getTeamStatisticsJson(){
|
|
|
|
List<MesTeamStatistics> mesTeamStatisticsList = iMesProductionDataService.getMesTeamStatisticsList("1001");
|
|
|
|
List<MesTeamStatistics> mesTeamStatisticsList = iMesProductionDataService.getMesTeamStatisticsList("1006");
|
|
|
|
if(mesTeamStatisticsList.size()>0){
|
|
|
|
if(mesTeamStatisticsList.size()>0){
|
|
|
|
return JSONArray.toJSONString(mesTeamStatisticsList.get(0));
|
|
|
|
return JSONArray.toJSONString(mesTeamStatisticsList.get(0));
|
|
|
|
}
|
|
|
|
}
|
|
|
@ -61,7 +61,7 @@ public class AluminumTtankController {
|
|
|
|
@ResponseBody
|
|
|
|
@ResponseBody
|
|
|
|
public String getHourProdutionStatisticsJson(){
|
|
|
|
public String getHourProdutionStatisticsJson(){
|
|
|
|
List<MesHourProdutionStatistics> mesHourProdutionStatisticsList =
|
|
|
|
List<MesHourProdutionStatistics> mesHourProdutionStatisticsList =
|
|
|
|
iMesProductionDataService.getMesHourProdutionStatisticsList("1001");
|
|
|
|
iMesProductionDataService.getMesHourProdutionStatisticsList("1006");
|
|
|
|
if(mesHourProdutionStatisticsList.size()>0){
|
|
|
|
if(mesHourProdutionStatisticsList.size()>0){
|
|
|
|
return JSONArray.toJSONString(mesHourProdutionStatisticsList);
|
|
|
|
return JSONArray.toJSONString(mesHourProdutionStatisticsList);
|
|
|
|
}
|
|
|
|
}
|
|
|
@ -79,7 +79,7 @@ public class AluminumTtankController {
|
|
|
|
public String getMaterialProdutionStatisticsJson(){
|
|
|
|
public String getMaterialProdutionStatisticsJson(){
|
|
|
|
|
|
|
|
|
|
|
|
List<MesMaterialProductionStatistics> mesMaterialProductionStatisticsList =
|
|
|
|
List<MesMaterialProductionStatistics> mesMaterialProductionStatisticsList =
|
|
|
|
iMesProductionDataService.getMesMaterialProductionStatisticsList("1001");
|
|
|
|
iMesProductionDataService.getMesMaterialProductionStatisticsList("1006");
|
|
|
|
|
|
|
|
|
|
|
|
return JSONArray.toJSONString(mesMaterialProductionStatisticsList);
|
|
|
|
return JSONArray.toJSONString(mesMaterialProductionStatisticsList);
|
|
|
|
}
|
|
|
|
}
|
|
|
|