opt:优化
This commit is contained in:
@@ -139,6 +139,7 @@ public class BakingServiceImpl implements BakingService {
|
||||
jsonMap.put("point_location", jsonPointZc.getString("point_location"));
|
||||
JSONArray hot_rows = WQL.getWO("PDA_BAKING_01").addParamMap(jsonMap).process().getResultJSONArray(0);
|
||||
JSONObject jsonHotIvt = new JSONObject();
|
||||
log.debug("获取温度幅度hot_rows:"+hot_rows);
|
||||
for (int i = 0; i < hot_rows.size(); i++) {
|
||||
JSONObject hot_row = hot_rows.getJSONObject(i);
|
||||
String point_code = hot_row.getString("point_code");
|
||||
@@ -150,6 +151,7 @@ public class BakingServiceImpl implements BakingService {
|
||||
if (ObjectUtil.isNotEmpty(point_temperature)) {
|
||||
if (point_temperature.equals(temperature)) {
|
||||
jsonHotIvt = hot_row;
|
||||
log.debug("获取满足温度幅度jsonHotIvt:"+jsonHotIvt);
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user