From 6892c31200a7ed1b0e60ee5aff794b1fcecc7ef6 Mon Sep 17 00:00:00 2001 From: liusheng <337615773@qq.com> Date: 星期三, 01 十一月 2023 16:28:06 +0800 Subject: [PATCH] 解决文件上传时,文件名重复问题 --- ruoyi-project/src/main/java/com/ruoyi/project/service/impl/ServiceMedicalevaluationServiceImpl.java | 3 +++ 1 files changed, 3 insertions(+), 0 deletions(-) diff --git a/ruoyi-project/src/main/java/com/ruoyi/project/service/impl/ServiceMedicalevaluationServiceImpl.java b/ruoyi-project/src/main/java/com/ruoyi/project/service/impl/ServiceMedicalevaluationServiceImpl.java index 027276d..2397c4e 100644 --- a/ruoyi-project/src/main/java/com/ruoyi/project/service/impl/ServiceMedicalevaluationServiceImpl.java +++ b/ruoyi-project/src/main/java/com/ruoyi/project/service/impl/ServiceMedicalevaluationServiceImpl.java @@ -45,6 +45,9 @@ if (StringUtils.isNotNull(serviceMedicalevaluation.getId())){ wrappers.eq(ServiceMedicalevaluation::getId ,serviceMedicalevaluation.getId()); } + if (StringUtils.isNotNull(serviceMedicalevaluation.getInfoid())){ + wrappers.eq(ServiceMedicalevaluation::getInfoid ,serviceMedicalevaluation.getInfoid()); + } if (StringUtils.isNotBlank(serviceMedicalevaluation.getDonorno())){ wrappers.eq(ServiceMedicalevaluation::getDonorno ,serviceMedicalevaluation.getDonorno()); } -- Gitblit v1.9.3