动火作业

This commit is contained in:
pengjie 2024-05-16 22:17:28 +08:00
parent ad72c12d5f
commit eeb507dfc2
2 changed files with 40 additions and 40 deletions

View File

@ -108,30 +108,30 @@ public class XzLimitSpaceSafeController {
// if (otherRelatedSpecialTask != null) {
// paramMap.put("otherRelatedSpecialTask", otherRelatedSpecialTask.get(0));
// }
JSONArray safetyInformant = paramMap.getJSONArray("safetyInformant");
if (safetyInformant != null) {
paramMap.put("safetyInformant", safetyInformant.get(0));
}
JSONArray assignmentPersonInCharge = paramMap.getJSONArray("assignmentPersonInCharge");
if (assignmentPersonInCharge != null) {
paramMap.put("assignmentPersonInCharge", assignmentPersonInCharge.get(0));
}
// JSONArray safetyInformant = paramMap.getJSONArray("safetyInformant");
// if (safetyInformant != null) {
// paramMap.put("safetyInformant", safetyInformant.get(0));
// }
// JSONArray assignmentPersonInCharge = paramMap.getJSONArray("assignmentPersonInCharge");
// if (assignmentPersonInCharge != null) {
// paramMap.put("assignmentPersonInCharge", assignmentPersonInCharge.get(0));
// }
JSONArray jobApplicationUnit = paramMap.getJSONArray("jobApplicationUnit");
if (jobApplicationUnit != null) {
paramMap.put("jobApplicationUnit", jobApplicationUnit.get(0));
}
JSONArray jobPerson = paramMap.getJSONArray("jobPerson");
if (jobPerson != null) {
paramMap.put("jobPerson", jobPerson.get(0));
}
JSONArray guardian = paramMap.getJSONArray("guardian");
if (guardian != null) {
paramMap.put("guardian", guardian.get(0));
}
JSONArray acceptTheInformant = paramMap.getJSONArray("acceptTheInformant");
if (acceptTheInformant != null) {
paramMap.put("acceptTheInformant", acceptTheInformant.get(0));
}
// JSONArray jobPerson = paramMap.getJSONArray("jobPerson");
// if (jobPerson != null) {
// paramMap.put("jobPerson", jobPerson.get(0));
// }
// JSONArray guardian = paramMap.getJSONArray("guardian");
// if (guardian != null) {
// paramMap.put("guardian", guardian.get(0));
// }
// JSONArray acceptTheInformant = paramMap.getJSONArray("acceptTheInformant");
// if (acceptTheInformant != null) {
// paramMap.put("acceptTheInformant", acceptTheInformant.get(0));
// }
String [] param = {"name", "standard"};
JSONArray toxicAndHarmfulGasInformations = paramMap.getJSONArray("toxicAndHarmfulGasInformation");
JSONArray toxicAndHarmfulGasInformation = new JSONArray();

View File

@ -112,30 +112,30 @@ public class XzSpecialOperationFireSafetyController {
// if (otherRelatedSpecialTask != null) {
// paramMap.put("otherRelatedSpecialTask", otherRelatedSpecialTask.get(0));
// }
JSONArray safetyInformant = paramMap.getJSONArray("safetyInformant");
if (safetyInformant != null) {
paramMap.put("safetyInformant", safetyInformant.get(0));
}
JSONArray assignmentPersonInCharge = paramMap.getJSONArray("assignmentPersonInCharge");
if (assignmentPersonInCharge != null) {
paramMap.put("assignmentPersonInCharge", assignmentPersonInCharge.get(0));
}
// JSONArray safetyInformant = paramMap.getJSONArray("safetyInformant");
// if (safetyInformant != null) {
// paramMap.put("safetyInformant", safetyInformant.get(0));
// }
// JSONArray assignmentPersonInCharge = paramMap.getJSONArray("assignmentPersonInCharge");
// if (assignmentPersonInCharge != null) {
// paramMap.put("assignmentPersonInCharge", assignmentPersonInCharge.get(0));
// }
JSONArray jobApplicationUnit = paramMap.getJSONArray("jobApplicationUnit");
if (jobApplicationUnit != null) {
paramMap.put("jobApplicationUnit", jobApplicationUnit.get(0));
}
JSONArray fireman = paramMap.getJSONArray("fireman");
if (fireman != null) {
paramMap.put("fireman", fireman.get(0));
}
JSONArray guardian = paramMap.getJSONArray("guardian");
if (guardian != null) {
paramMap.put("guardian", guardian.get(0));
}
JSONArray acceptTheInformant = paramMap.getJSONArray("acceptTheInformant");
if (acceptTheInformant != null) {
paramMap.put("acceptTheInformant", acceptTheInformant.get(0));
}
// JSONArray fireman = paramMap.getJSONArray("fireman");
// if (fireman != null) {
// paramMap.put("fireman", fireman.get(0));
// }
// JSONArray guardian = paramMap.getJSONArray("guardian");
// if (guardian != null) {
// paramMap.put("guardian", guardian.get(0));
// }
// JSONArray acceptTheInformant = paramMap.getJSONArray("acceptTheInformant");
// if (acceptTheInformant != null) {
// paramMap.put("acceptTheInformant", acceptTheInformant.get(0));
// }
String [] param = {"gasAnalyzeTime", "representativeGas", "analyzeResult", "analyzer"};
JSONArray detail = paramMap.getJSONArray("xzGasAnalyzeList");
List<XzGasAnalyze> list = new ArrayList<>();