From 77134286e023ee659ce8af905dbc32a813473e46 Mon Sep 17 00:00:00 2001 From: GUO <1923636941@qq.com> Date: Wed, 19 Jun 2024 23:19:43 +0800 Subject: [PATCH] =?UTF-8?q?=E9=85=8D=E7=BD=AE=E4=B8=80=E5=91=A8=E8=A7=86?= =?UTF-8?q?=E9=A2=91bug=E4=BF=AE=E5=A4=8D?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../xz/service/impl/EducationConfigWeekVideoServiceImpl.java | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/main/java/com/zhgd/xmgl/modules/xz/service/impl/EducationConfigWeekVideoServiceImpl.java b/src/main/java/com/zhgd/xmgl/modules/xz/service/impl/EducationConfigWeekVideoServiceImpl.java index 549c5a0d1..cb9ef4e44 100644 --- a/src/main/java/com/zhgd/xmgl/modules/xz/service/impl/EducationConfigWeekVideoServiceImpl.java +++ b/src/main/java/com/zhgd/xmgl/modules/xz/service/impl/EducationConfigWeekVideoServiceImpl.java @@ -93,8 +93,11 @@ public class EducationConfigWeekVideoServiceImpl extends ServiceImpl() - .eq(EducationConfigWeekVideo::getProjectSn, educationConfigWeekVideo.getProjectSn())); + .eq(EducationConfigWeekVideo::getProjectSn, educationConfigWeekVideo.getProjectSn()) + .eq(EducationConfigWeekVideo::getType, educationConfigWeekVideo.getType()) + ); if (v != null) { + educationConfigWeekVideo.setId(v.getId()); edit(educationConfigWeekVideo); } else { add(educationConfigWeekVideo);