|
@@ -171,8 +171,8 @@ public class RtkDeviceServiceImpl extends ServiceImpl<IRtkDeviceMapper, RtkDevic
|
|
@Override
|
|
@Override
|
|
public void updateTypeById(Integer id, Integer rtkType) {
|
|
public void updateTypeById(Integer id, Integer rtkType) {
|
|
LambdaUpdateWrapper<RtkDevice> wrapper = new LambdaUpdateWrapper<>();
|
|
LambdaUpdateWrapper<RtkDevice> wrapper = new LambdaUpdateWrapper<>();
|
|
- wrapper.eq(RtkDevice::getRtkType,rtkType);
|
|
|
|
- wrapper.set(RtkDevice::getId,id);
|
|
|
|
|
|
+ wrapper.eq(RtkDevice::getId,id);
|
|
|
|
+ wrapper.set(RtkDevice::getRtkType,rtkType);
|
|
this.update(wrapper);
|
|
this.update(wrapper);
|
|
}
|
|
}
|
|
|
|
|