去除flyway配置
This commit is contained in:
@@ -176,6 +176,7 @@ public class PlatformServiceImpl implements IPlatformService {
|
||||
// 保存时启用就发送注册
|
||||
// 注册成功时由程序直接调用了online方法
|
||||
try {
|
||||
logger.info("[国标级联] 平台注册 {}", parentPlatform.getDeviceGBId());
|
||||
commanderForPlatform.register(parentPlatform, eventResult -> {
|
||||
logger.info("[国标级联] {},添加向上级注册失败,请确定上级平台可用时重新保存", parentPlatform.getServerGBId());
|
||||
}, null);
|
||||
|
||||
@@ -441,9 +441,6 @@ public class VideoManagerStorageImpl implements IVideoManagerStorage {
|
||||
*/
|
||||
@Override
|
||||
public synchronized boolean insertMobilePosition(MobilePosition mobilePosition) {
|
||||
if (mobilePosition.getDeviceId().equals(mobilePosition.getChannelId())) {
|
||||
mobilePosition.setChannelId(null);
|
||||
}
|
||||
return deviceMobilePositionMapper.insertNewPosition(mobilePosition) > 0;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user