map = new HashMap<>();
+ StringBuilder stringBuilder = new StringBuilder();
+ Object itemsNum = resMap.get("itemsNum");
+ if (null != itemsNum) {
+ stringBuilder.append(itemsNum.toString());
+ } else {
+ stringBuilder.append("undefined");
+ }
+ stringBuilder.append(" ");
+ Object itemsName = resMap.get("itemsName");
+ if (null != itemsName) {
+ stringBuilder.append(itemsName.toString());
+ } else {
+ stringBuilder.append("undefined");
+ }
+ stringBuilder.append("");
+
+ Object itemsTxt = resMap.get("itemsTxt");
+ if (null != itemsTxt) {
+ stringBuilder.append(itemsTxt.toString());
+ }
+ stringBuilder.append("
");
+ map.put("resultHtml", stringBuilder.toString());
+ Object targetStand = resMap.get("targetStand");
+ int targetStandInt = 0;
+ if (null != targetStand) {
+ targetStand = (Integer) targetStand;
+ }
+ map.put("targetStand", targetStand);
+ Object itemsId = resMap.get("itemsId");
+ String itemsIdStr = "undefined";
+ if (null != itemsId) {
+ itemsIdStr = itemsId.toString();
+ }
+ map.put("itemsId", itemsIdStr);
+ resultMapList.add(map);
+ }
+ return resMapList;
+ }
+
+ /**
+ * 保存比对历史
+ *
+ * @param leftStandId
+ * @param rightStandId
+ * @param remark
+ * @param resLeftMapList
+ * @param resRightMapList
+ * @throws Exception
+ */
+ public void addStandCompareHis(String leftStandId, String rightStandId, String remark, List