车车 пре 2 месеци
родитељ
комит
a6c4a6bec0

+ 2 - 2
ktg-iscs/src/main/java/com/ktg/iscs/service/impl/IsLotoSwitchMapServiceImpl.java

@@ -104,13 +104,13 @@ public class IsLotoSwitchMapServiceImpl extends ServiceImpl<IsLotoSwitchMapMappe
             // 开始绑定
             iIsIsolationPointService.update(Wrappers.<IsIsolationPoint>lambdaUpdate()
                     .in(IsIsolationPoint::getPointId, dto.getBindingPointIds())
-                    .set(IsIsolationPoint::getLotoId, dto.getSwitchMapId()));
+                    .set(IsIsolationPoint::getSwitchMapId, dto.getSwitchMapId()));
         }
         if (!dto.getUnbindPointIds().isEmpty()) {
             // 开始解绑
             iIsIsolationPointService.update(Wrappers.<IsIsolationPoint>lambdaUpdate()
                     .in(IsIsolationPoint::getPointId, dto.getUnbindPointIds())
-                    .set(IsIsolationPoint::getLotoId, null));
+                    .set(IsIsolationPoint::getSwitchMapId, null));
         }
         return true;
     }