This commit is contained in:
张江玮
2023-11-21 15:26:53 +08:00
parent 0a7d4f53cf
commit f19562afb2
2 changed files with 2 additions and 3 deletions

View File

@@ -11,7 +11,6 @@ import org.nl.wms.ext.acs.service.WmsToAcsService;
import org.springframework.http.HttpStatus;
import org.springframework.stereotype.Service;
import java.util.Arrays;
import java.util.HashMap;
import java.util.List;
import java.util.Map;
@@ -158,7 +157,7 @@ public class DashboardService {
// 设备产能利用 --------------------------------------------------------------------------------------------------
JSONObject capacityRate = new JSONObject();
result.put("capacityRate", capacityRate);
result.put("capacityRate", capacityRate);
capacityRate.put("mix", Math.random() * (90 - 50) + 50);
capacityRate.put("press", Math.random() * (90 - 50) + 50);
capacityRate.put("dry", Math.random() * (90 - 50) + 50);

View File

@@ -81,7 +81,7 @@
IF 输入.flag = "3"
QUERY
SELECT
dn.device_code,
d.device_name AS "deviceName",
COUNT(dn.device_code) AS "count"
FROM
das_device_number dn LEFT JOIN pdm_bi_device d ON dn.device_code = d.device_code