鞍钢的动火bug修改
This commit is contained in:
parent
f0f3337c3e
commit
7218501f04
@ -190,6 +190,9 @@ public class XzSpecialOperationFireSafetyController {
|
|||||||
JSONObject j = safeMeasures.getJSONObject(i);
|
JSONObject j = safeMeasures.getJSONObject(i);
|
||||||
int k = 0;
|
int k = 0;
|
||||||
for (String s : j.keySet()) {
|
for (String s : j.keySet()) {
|
||||||
|
if (k > param1.length - 1) {
|
||||||
|
break;
|
||||||
|
}
|
||||||
detailObj.put(param1[k], j.get(s));
|
detailObj.put(param1[k], j.get(s));
|
||||||
k++;
|
k++;
|
||||||
}
|
}
|
||||||
@ -206,6 +209,9 @@ public class XzSpecialOperationFireSafetyController {
|
|||||||
JSONObject j = otherSafeMeasures.getJSONObject(i);
|
JSONObject j = otherSafeMeasures.getJSONObject(i);
|
||||||
int k = 0;
|
int k = 0;
|
||||||
for (String s : j.keySet()) {
|
for (String s : j.keySet()) {
|
||||||
|
if (k > param2.length - 1) {
|
||||||
|
break;
|
||||||
|
}
|
||||||
detailObj.put(param2[k], j.get(s));
|
detailObj.put(param2[k], j.get(s));
|
||||||
k++;
|
k++;
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user