From e56d87c4f96231e59c4b46e6e2aac8a1df0c3d3b Mon Sep 17 00:00:00 2001 From: lxd <1004405501@qq.com> Date: Mon, 9 Dec 2024 18:36:02 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E8=B6=85=E5=A3=B0=E5=88=A0?= =?UTF-8?q?=E9=99=A4=E5=9B=BE=E7=89=87=E6=96=B9=E6=B3=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../controller/admin/ultrasonic/ultrasonicController.java | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/yudao-module-ultrasoniccom/yudao-module-ultrasoniccom-biz/src/main/java/cn/iocoder/yudao/module/ultrasoniccom/controller/admin/ultrasonic/ultrasonicController.java b/yudao-module-ultrasoniccom/yudao-module-ultrasoniccom-biz/src/main/java/cn/iocoder/yudao/module/ultrasoniccom/controller/admin/ultrasonic/ultrasonicController.java index b5d32bab1..1bb26cd0d 100644 --- a/yudao-module-ultrasoniccom/yudao-module-ultrasoniccom-biz/src/main/java/cn/iocoder/yudao/module/ultrasoniccom/controller/admin/ultrasonic/ultrasonicController.java +++ b/yudao-module-ultrasoniccom/yudao-module-ultrasoniccom-biz/src/main/java/cn/iocoder/yudao/module/ultrasoniccom/controller/admin/ultrasonic/ultrasonicController.java @@ -281,8 +281,12 @@ public class ultrasonicController { demedicalimgDO.setRegId(updateReqVO.get(0).getRegid()); demedicalimgDO.setSelected("0"); } - dedoList.add(demedicalimgDO); - doList.add(medicalimgDO); + if(demedicalimgDO.getRegId()!=null) + { + dedoList.add(demedicalimgDO); + } + doList.add(medicalimgDO); + } //先进行更新 if (!dedoList.isEmpty()) {