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);