From eeb507dfc2eeef7bb27755255ebac1d5d9924ad1 Mon Sep 17 00:00:00 2001 From: pengjie <17373303529@163.com> Date: Thu, 16 May 2024 22:17:28 +0800 Subject: [PATCH] =?UTF-8?q?=E5=8A=A8=E7=81=AB=E4=BD=9C=E4=B8=9A?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../XzLimitSpaceSafeController.java | 40 +++++++++---------- ...zSpecialOperationFireSafetyController.java | 40 +++++++++---------- 2 files changed, 40 insertions(+), 40 deletions(-) diff --git a/src/main/java/com/zhgd/xmgl/modules/xz/special/controller/XzLimitSpaceSafeController.java b/src/main/java/com/zhgd/xmgl/modules/xz/special/controller/XzLimitSpaceSafeController.java index 885f90ee4..7286e36ca 100644 --- a/src/main/java/com/zhgd/xmgl/modules/xz/special/controller/XzLimitSpaceSafeController.java +++ b/src/main/java/com/zhgd/xmgl/modules/xz/special/controller/XzLimitSpaceSafeController.java @@ -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(); diff --git a/src/main/java/com/zhgd/xmgl/modules/xz/special/controller/XzSpecialOperationFireSafetyController.java b/src/main/java/com/zhgd/xmgl/modules/xz/special/controller/XzSpecialOperationFireSafetyController.java index 46ca62a36..85dd6a4d7 100644 --- a/src/main/java/com/zhgd/xmgl/modules/xz/special/controller/XzSpecialOperationFireSafetyController.java +++ b/src/main/java/com/zhgd/xmgl/modules/xz/special/controller/XzSpecialOperationFireSafetyController.java @@ -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 list = new ArrayList<>();