From 4c65e0c6c30b5f8f3d7605e0c420228a8e072044 Mon Sep 17 00:00:00 2001 From: zhangqihang Date: Wed, 28 Feb 2024 09:01:16 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8Dbug?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../zcloud/controller/hidden/HiddenController.java | 3 +++ .../zcloud/entity/hotWorkApplication/NodeApp.java | 12 +++++++----- .../mybatis/datasource/hidden/HiddenMapper.xml | 12 ++++++++++-- 3 files changed, 20 insertions(+), 7 deletions(-) diff --git a/src/main/java/com/zcloud/controller/hidden/HiddenController.java b/src/main/java/com/zcloud/controller/hidden/HiddenController.java index 2d22ef8..1fdbedf 100644 --- a/src/main/java/com/zcloud/controller/hidden/HiddenController.java +++ b/src/main/java/com/zcloud/controller/hidden/HiddenController.java @@ -924,6 +924,8 @@ public class HiddenController extends BaseController { List hImgs = imgFilesService.listAll(pd2);// 隐患图片 pd2.put("TYPE", 4); List rImgs = imgFilesService.listAll(pd2);// 整改图片 + pd2.put("TYPE", 50); + List yImgs = imgFilesService.listAll(pd2);// 整改图片 /* * pd2.put("TYPE",5); List cImgs = imgFilesService.listAll(pd2);//验收图片 */ // 查询整改方案 @@ -958,6 +960,7 @@ public class HiddenController extends BaseController { map.put("hs", hs); map.put("hImgs", hImgs); map.put("rImgs", rImgs); + map.put("yImgs", yImgs); // map.put("cImgs", cImgs); map.put("sImgs", sImgs); map.put("pImgs", pImgs); diff --git a/src/main/java/com/zcloud/entity/hotWorkApplication/NodeApp.java b/src/main/java/com/zcloud/entity/hotWorkApplication/NodeApp.java index 5f5b398..368e3ce 100644 --- a/src/main/java/com/zcloud/entity/hotWorkApplication/NodeApp.java +++ b/src/main/java/com/zcloud/entity/hotWorkApplication/NodeApp.java @@ -121,6 +121,8 @@ public class NodeApp { buffer.append("\n"); if (StringUtils.isNotBlank(inspector.getString("INSPECTION_USER_SIGN_TIME"))){ buffer.append(inspector.getString("INSPECTION_USER_NAME")); + buffer.append("\n"); + buffer.append(inspector.getString("INSPECTION_USER_SIGN_TIME")); // buffer.append("("); // buffer.append(")"); }else { @@ -132,11 +134,11 @@ public class NodeApp { this.title = buffer.toString(); buffer.setLength(0); - for (PageData inspector : inspectors) { - if (StringUtils.isNotBlank(inspector.getString("INSPECTION_USER_SIGN_TIME"))){ - buffer.append(inspector.getString("INSPECTION_USER_SIGN_TIME")); - } - } +// for (PageData inspector : inspectors) { +// if (StringUtils.isNotBlank(inspector.getString("INSPECTION_USER_SIGN_TIME"))){ +// buffer.append(inspector.getString("INSPECTION_USER_SIGN_TIME")); +// } +// } if (buffer.length() > 0) { this.desc = buffer.toString(); diff --git a/src/main/resources/mybatis/datasource/hidden/HiddenMapper.xml b/src/main/resources/mybatis/datasource/hidden/HiddenMapper.xml index 58748f1..5e04288 100644 --- a/src/main/resources/mybatis/datasource/hidden/HiddenMapper.xml +++ b/src/main/resources/mybatis/datasource/hidden/HiddenMapper.xml @@ -433,6 +433,9 @@