From bb2469f1841e2ece4b2389c2da8397a221872a5b Mon Sep 17 00:00:00 2001 From: 15856 <15856818120@163.com> Date: Fri, 14 Jun 2024 09:18:06 +0800 Subject: [PATCH 1/5] =?UTF-8?q?=E6=8A=A5=E5=BA=9F=E5=8E=9F=E5=9B=A0?= =?UTF-8?q?=E5=92=8C=E6=8A=A5=E5=BA=9F=E5=9B=BE=E7=89=87=E5=9B=9E=E6=98=BE?= =?UTF-8?q?=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../service/impl/RepairAuditDetailsServiceImpl.java | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/sgzb-modules/sgzb-material/src/main/java/com/bonus/sgzb/material/service/impl/RepairAuditDetailsServiceImpl.java b/sgzb-modules/sgzb-material/src/main/java/com/bonus/sgzb/material/service/impl/RepairAuditDetailsServiceImpl.java index 94d907c3..8df93ff5 100644 --- a/sgzb-modules/sgzb-material/src/main/java/com/bonus/sgzb/material/service/impl/RepairAuditDetailsServiceImpl.java +++ b/sgzb-modules/sgzb-material/src/main/java/com/bonus/sgzb/material/service/impl/RepairAuditDetailsServiceImpl.java @@ -299,7 +299,11 @@ public class RepairAuditDetailsServiceImpl implements IRepairAuditDetailsService for (int i = 0; i < fileIsList.length; i++) { SysFile sysFile = sysFileMapper.selectSysFileInfoById(Long.valueOf(fileIsList[i])); //对获取的图片地址进行拼接 - fileUrl.append(","+sysFile.getFileUrl()); + if (i==fileIsList.length-1){ + fileUrl.append(sysFile.getFileUrl()); + }else { + fileUrl.append(sysFile.getFileUrl()+","); + } } scrapApplyDetails.setFileUrl(fileUrl.toString()); scrapApplyDetailsMapper.insertScrapApplyDetails(scrapApplyDetails); From 960aa873992c67730d79ef54aff44d88faf70e94 Mon Sep 17 00:00:00 2001 From: hayu <1604366271@qq.com> Date: Fri, 14 Jun 2024 11:30:10 +0800 Subject: [PATCH 2/5] =?UTF-8?q?=E6=96=B0=E8=B4=AD=E7=8A=B6=E6=80=81?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../toolsAcceptance/component/queryTools.vue | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/sgzb-ui/src/views/warehouseManage/newPurchase/toolsAcceptance/component/queryTools.vue b/sgzb-ui/src/views/warehouseManage/newPurchase/toolsAcceptance/component/queryTools.vue index 3ae4b098..97678653 100644 --- a/sgzb-ui/src/views/warehouseManage/newPurchase/toolsAcceptance/component/queryTools.vue +++ b/sgzb-ui/src/views/warehouseManage/newPurchase/toolsAcceptance/component/queryTools.vue @@ -159,14 +159,14 @@ width="180" > Date: Fri, 14 Jun 2024 13:37:26 +0800 Subject: [PATCH 3/5] =?UTF-8?q?=E6=96=B0=E8=B4=AD=E6=96=B0=E5=A2=9E?= =?UTF-8?q?=E7=B1=BB=E5=9E=8B=E4=B8=8B=E6=8B=89=E6=A1=86=E5=8E=BB=E9=87=8D?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../src/main/resources/mapper/base/MaMachineTypeMapper.xml | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/sgzb-modules/sgzb-base/src/main/resources/mapper/base/MaMachineTypeMapper.xml b/sgzb-modules/sgzb-base/src/main/resources/mapper/base/MaMachineTypeMapper.xml index 786ad5ff..8dc79719 100644 --- a/sgzb-modules/sgzb-base/src/main/resources/mapper/base/MaMachineTypeMapper.xml +++ b/sgzb-modules/sgzb-base/src/main/resources/mapper/base/MaMachineTypeMapper.xml @@ -175,21 +175,22 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"