动火作业

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) { // if (otherRelatedSpecialTask != null) {
// paramMap.put("otherRelatedSpecialTask", otherRelatedSpecialTask.get(0)); // paramMap.put("otherRelatedSpecialTask", otherRelatedSpecialTask.get(0));
// } // }
JSONArray safetyInformant = paramMap.getJSONArray("safetyInformant"); // JSONArray safetyInformant = paramMap.getJSONArray("safetyInformant");
if (safetyInformant != null) { // if (safetyInformant != null) {
paramMap.put("safetyInformant", safetyInformant.get(0)); // paramMap.put("safetyInformant", safetyInformant.get(0));
} // }
JSONArray assignmentPersonInCharge = paramMap.getJSONArray("assignmentPersonInCharge"); // JSONArray assignmentPersonInCharge = paramMap.getJSONArray("assignmentPersonInCharge");
if (assignmentPersonInCharge != null) { // if (assignmentPersonInCharge != null) {
paramMap.put("assignmentPersonInCharge", assignmentPersonInCharge.get(0)); // paramMap.put("assignmentPersonInCharge", assignmentPersonInCharge.get(0));
} // }
JSONArray jobApplicationUnit = paramMap.getJSONArray("jobApplicationUnit"); JSONArray jobApplicationUnit = paramMap.getJSONArray("jobApplicationUnit");
if (jobApplicationUnit != null) { if (jobApplicationUnit != null) {
paramMap.put("jobApplicationUnit", jobApplicationUnit.get(0)); paramMap.put("jobApplicationUnit", jobApplicationUnit.get(0));
} }
JSONArray jobPerson = paramMap.getJSONArray("jobPerson"); // JSONArray jobPerson = paramMap.getJSONArray("jobPerson");
if (jobPerson != null) { // if (jobPerson != null) {
paramMap.put("jobPerson", jobPerson.get(0)); // paramMap.put("jobPerson", jobPerson.get(0));
} // }
JSONArray guardian = paramMap.getJSONArray("guardian"); // JSONArray guardian = paramMap.getJSONArray("guardian");
if (guardian != null) { // if (guardian != null) {
paramMap.put("guardian", guardian.get(0)); // paramMap.put("guardian", guardian.get(0));
} // }
JSONArray acceptTheInformant = paramMap.getJSONArray("acceptTheInformant"); // JSONArray acceptTheInformant = paramMap.getJSONArray("acceptTheInformant");
if (acceptTheInformant != null) { // if (acceptTheInformant != null) {
paramMap.put("acceptTheInformant", acceptTheInformant.get(0)); // paramMap.put("acceptTheInformant", acceptTheInformant.get(0));
} // }
String [] param = {"name", "standard"}; String [] param = {"name", "standard"};
JSONArray toxicAndHarmfulGasInformations = paramMap.getJSONArray("toxicAndHarmfulGasInformation"); JSONArray toxicAndHarmfulGasInformations = paramMap.getJSONArray("toxicAndHarmfulGasInformation");
JSONArray toxicAndHarmfulGasInformation = new JSONArray(); JSONArray toxicAndHarmfulGasInformation = new JSONArray();

View File

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