|
|
@ -183,57 +183,57 @@ public class FoamBoxController {
|
|
|
|
return JSONArray.toJSONString(mesMaterialStoreStatisticsList);
|
|
|
|
return JSONArray.toJSONString(mesMaterialStoreStatisticsList);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
// /**
|
|
|
|
* 根据型号统计产量
|
|
|
|
// * 根据型号统计产量
|
|
|
|
*
|
|
|
|
// *
|
|
|
|
* @author WenJY
|
|
|
|
// * @author WenJY
|
|
|
|
* @date 2022/4/20 10:15
|
|
|
|
// * @date 2022/4/20 10:15
|
|
|
|
* @return java.lang.String
|
|
|
|
// * @return java.lang.String
|
|
|
|
*/
|
|
|
|
// */
|
|
|
|
@GetMapping("/getStatisticalOutputByModel")
|
|
|
|
// @GetMapping("/getStatisticalOutputByModel")
|
|
|
|
@ResponseBody
|
|
|
|
// @ResponseBody
|
|
|
|
public String getStatisticalOutputByModel() {
|
|
|
|
// public String getStatisticalOutputByModel() {
|
|
|
|
String info =
|
|
|
|
// String info =
|
|
|
|
"{\n"
|
|
|
|
// "{\n"
|
|
|
|
+ "\t\"datas\":[\n"
|
|
|
|
// + "\t\"datas\":[\n"
|
|
|
|
+ " {\"ranking\": 1,\"station\":\"SC227\",\"value\": 199999},\n"
|
|
|
|
// + " {\"ranking\": 1,\"station\":\"SC227\",\"value\": 199999},\n"
|
|
|
|
+ " {\"ranking\": 2,\"station\":\"SC228\",\"value\": 104970},\n"
|
|
|
|
// + " {\"ranking\": 2,\"station\":\"SC228\",\"value\": 104970},\n"
|
|
|
|
+ " {\"ranking\": 3,\"station\":\"SC229\",\"value\": 29034},\n"
|
|
|
|
// + " {\"ranking\": 3,\"station\":\"SC229\",\"value\": 29034},\n"
|
|
|
|
+ " {\"ranking\": 4,\"station\":\"SC223\",\"value\": 23489},\n"
|
|
|
|
// + " {\"ranking\": 4,\"station\":\"SC223\",\"value\": 23489},\n"
|
|
|
|
+ " {\"ranking\": 5,\"station\":\"SC224\",\"value\": 18203}\n"
|
|
|
|
// + " {\"ranking\": 5,\"station\":\"SC224\",\"value\": 18203}\n"
|
|
|
|
+ " ],\n"
|
|
|
|
// + " ],\n"
|
|
|
|
+ "\t\"plan\":[290000, 290000, 290000, 290000, 290000, 290000]\n"
|
|
|
|
// + "\t\"plan\":[290000, 290000, 290000, 290000, 290000, 290000]\n"
|
|
|
|
+ "}";
|
|
|
|
// + "}";
|
|
|
|
return info;
|
|
|
|
// return info;
|
|
|
|
}
|
|
|
|
// }
|
|
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
// /**
|
|
|
|
* 库存 统计
|
|
|
|
// * 库存 统计
|
|
|
|
*
|
|
|
|
// *
|
|
|
|
* @author WenJY
|
|
|
|
// * @author WenJY
|
|
|
|
* @date 2022/4/20 10:16
|
|
|
|
// * @date 2022/4/20 10:16
|
|
|
|
* @return java.lang.String
|
|
|
|
// * @return java.lang.String
|
|
|
|
*/
|
|
|
|
// */
|
|
|
|
@GetMapping("/getInventoryStatistics")
|
|
|
|
// @GetMapping("/getInventoryStatistics")
|
|
|
|
@ResponseBody
|
|
|
|
// @ResponseBody
|
|
|
|
public String getInventoryStatistics() {
|
|
|
|
// public String getInventoryStatistics() {
|
|
|
|
String info =
|
|
|
|
// String info =
|
|
|
|
"{\n"
|
|
|
|
// "{\n"
|
|
|
|
+ "\t\"datas\":[\n"
|
|
|
|
// + "\t\"datas\":[\n"
|
|
|
|
+ " {\n"
|
|
|
|
// + " {\n"
|
|
|
|
+ " \"name\": \"SC528\",\n"
|
|
|
|
// + " \"name\": \"SC528\",\n"
|
|
|
|
+ " \"value\": 175.17\n"
|
|
|
|
// + " \"value\": 175.17\n"
|
|
|
|
+ " },\n"
|
|
|
|
// + " },\n"
|
|
|
|
+ " {\n"
|
|
|
|
// + " {\n"
|
|
|
|
+ " \"name\": \"SC529\",\n"
|
|
|
|
// + " \"name\": \"SC529\",\n"
|
|
|
|
+ " \"value\": 148.35\n"
|
|
|
|
// + " \"value\": 148.35\n"
|
|
|
|
+ " },\n"
|
|
|
|
// + " },\n"
|
|
|
|
+ " {\n"
|
|
|
|
// + " {\n"
|
|
|
|
+ " \"name\": \"SC327\",\n"
|
|
|
|
// + " \"name\": \"SC327\",\n"
|
|
|
|
+ " \"value\": 95.36\n"
|
|
|
|
// + " \"value\": 95.36\n"
|
|
|
|
+ " }\n"
|
|
|
|
// + " }\n"
|
|
|
|
+ " ]\n"
|
|
|
|
// + " ]\n"
|
|
|
|
+ "}";
|
|
|
|
// + "}";
|
|
|
|
return info;
|
|
|
|
// return info;
|
|
|
|
}
|
|
|
|
// }
|
|
|
|
}
|
|
|
|
}
|
|
|
|