临时提交

This commit is contained in:
648540858
2024-06-26 18:36:32 +08:00
parent 81049b5a9e
commit f32eb14125
10 changed files with 269 additions and 181 deletions

View File

@@ -7,6 +7,9 @@ import lombok.Data;
@Schema(description = "国标通道")
public class CommonGBChannel {
@Schema(description = "国标-数据库自增ID")
private int gbId;
@Schema(description = "国标-编码")
private String gbDeviceId;

View File

@@ -0,0 +1,25 @@
package com.genersoft.iot.vmp.gb28181.service;
import com.genersoft.iot.vmp.gb28181.bean.CommonGBChannel;
import java.util.List;
public interface IGbChannelService {
CommonGBChannel queryByDeviceId(String gbDeviceId);
int add(CommonGBChannel commonGBChannel);
int delete(int gbId);
int update(CommonGBChannel commonGBChannel);
int offline(CommonGBChannel commonGBChannel);
int online(CommonGBChannel commonGBChannel);
void closeSend(CommonGBChannel commonGBChannel);
void batchAdd(List<CommonGBChannel> commonGBChannels);
}

View File

@@ -0,0 +1,10 @@
package com.genersoft.iot.vmp.gb28181.service.impl;
import com.genersoft.iot.vmp.gb28181.service.IGbChannelService;
import lombok.extern.slf4j.Slf4j;
import org.springframework.stereotype.Service;
@Slf4j
@Service
public class GbChannelServiceImpl implements IGbChannelService {
}