From 91055cd37a3b8fd52efd6c3d934cb57079342ef4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E9=A3=9E=E5=85=89=EF=BC=81=E9=A3=9E=E5=85=89=EF=BC=81?= <2818288013@qq.com> Date: Tue, 20 Jun 2023 00:11:12 +0800 Subject: [PATCH] =?UTF-8?q?guang:=E5=AE=8C=E6=88=90=E5=A5=97=E9=A4=90?= =?UTF-8?q?=E9=83=A8=E5=88=86=E4=BF=AE=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../io/renren/modules/takeout/service/SetmealService.java | 1 - .../modules/takeout/service/impl/SetmealServiceImpl.java | 7 ------- 2 files changed, 8 deletions(-) diff --git a/renren-admin/src/main/java/io/renren/modules/takeout/service/SetmealService.java b/renren-admin/src/main/java/io/renren/modules/takeout/service/SetmealService.java index 38c43bd..c05720a 100644 --- a/renren-admin/src/main/java/io/renren/modules/takeout/service/SetmealService.java +++ b/renren-admin/src/main/java/io/renren/modules/takeout/service/SetmealService.java @@ -14,7 +14,6 @@ import java.util.List; */ public interface SetmealService extends CrudService { - void updateStatus(int status, List ids); void updateStatus(List ids); } \ No newline at end of file diff --git a/renren-admin/src/main/java/io/renren/modules/takeout/service/impl/SetmealServiceImpl.java b/renren-admin/src/main/java/io/renren/modules/takeout/service/impl/SetmealServiceImpl.java index 385096d..1b80467 100644 --- a/renren-admin/src/main/java/io/renren/modules/takeout/service/impl/SetmealServiceImpl.java +++ b/renren-admin/src/main/java/io/renren/modules/takeout/service/impl/SetmealServiceImpl.java @@ -35,13 +35,6 @@ public class SetmealServiceImpl extends CrudServiceImpl ids) { - LambdaUpdateWrapper wrapper = new LambdaUpdateWrapper<>(); - wrapper.in(SetmealEntity::getId, ids).set(SetmealEntity::getStatus, status); - this.update(new SetmealEntity(), wrapper); - } @Override public void updateStatus(List ids) { if (ids == null || ids.isEmpty()) {