From a84b85377ace8724de4611968691a8e0b30b30bf Mon Sep 17 00:00:00 2001 From: zhc077 <565291854> Date: Fri, 13 Jan 2023 18:54:16 +0800 Subject: [PATCH] =?UTF-8?q?=E7=8F=AD=E7=BB=84=E7=AE=A1=E7=90=86=E9=97=AE?= =?UTF-8?q?=E9=A2=98=E5=A4=84=E7=90=86=201.13?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../jeecg/modules/team/service/impl/StationServiceImpl.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/jeecg-boot/jeecg-boot-module-system/src/main/java/org/jeecg/modules/team/service/impl/StationServiceImpl.java b/jeecg-boot/jeecg-boot-module-system/src/main/java/org/jeecg/modules/team/service/impl/StationServiceImpl.java index 878e87ac..5d03e585 100644 --- a/jeecg-boot/jeecg-boot-module-system/src/main/java/org/jeecg/modules/team/service/impl/StationServiceImpl.java +++ b/jeecg-boot/jeecg-boot-module-system/src/main/java/org/jeecg/modules/team/service/impl/StationServiceImpl.java @@ -54,12 +54,12 @@ public class StationServiceImpl extends ServiceImpl impl //先把下一编号减1 Station station1 = this.getOne(new LambdaQueryWrapper().eq(Station::getStationNum, entity.getStationNum() + 1)); // station1.setStationNum(null); - this.lambdaUpdate().set(Station::getStationNum, 333).eq(Station::getId, station1.getId()).update(); + this.lambdaUpdate().set(Station::getStationNum, null).eq(Station::getId, station1.getId()).update(); // Station station = new Station(); // station.setId(id); // station.setStationNum(null); - this.lambdaUpdate().set(Station::getStationNum, 666).eq(Station::getId, id).update(); + this.lambdaUpdate().set(Station::getStationNum, null).eq(Station::getId, id).update(); // station.setStationNum(entity.getStationNum() + 1); // this.updateById(station);