From be4675e119a7346c6b08c25d06e0d7c87961cc2c Mon Sep 17 00:00:00 2001 From: qiuyt Date: Tue, 31 Dec 2024 16:45:54 +0800 Subject: [PATCH] =?UTF-8?q?=E9=80=89=E5=85=A5=E8=8D=AF=E5=93=81=E5=8A=A0?= =?UTF-8?q?=E4=B8=8A=E5=85=88=E5=88=A0=E9=99=A4=E7=A9=BA=E7=9A=84=E8=8D=AF?= =?UTF-8?q?=E5=93=81?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../glxp/api/service/basic/impl/UdiProductServiceImpl.java | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/main/java/com/glxp/api/service/basic/impl/UdiProductServiceImpl.java b/src/main/java/com/glxp/api/service/basic/impl/UdiProductServiceImpl.java index e085ce26..c8bcb848 100644 --- a/src/main/java/com/glxp/api/service/basic/impl/UdiProductServiceImpl.java +++ b/src/main/java/com/glxp/api/service/basic/impl/UdiProductServiceImpl.java @@ -643,6 +643,10 @@ public class UdiProductServiceImpl implements UdiProductService { ); if (thirdAliDrugList != null && thirdAliDrugList.size() > 0) { + udiProductDao.delete(new QueryWrapper() + .eq("uuid",thirdAliDrugRequest.getUuid()) + .isNull("nameCode") + ); ThrProductsEntity thrProductsEntity = thrProductsService.selectByCode(thirdAliDrugRequest.getYbbm()); for (ThirdAliDrug thirdAliDrug : thirdAliDrugList) { ThrInsDrugFeeRequest thrInsDrugFeeRequest = new ThrInsDrugFeeRequest();