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()) {