临时提交
This commit is contained in:
@@ -7,6 +7,9 @@ import lombok.Data;
|
||||
@Schema(description = "国标通道")
|
||||
public class CommonGBChannel {
|
||||
|
||||
@Schema(description = "国标-数据库自增ID")
|
||||
private int gbId;
|
||||
|
||||
@Schema(description = "国标-编码")
|
||||
private String gbDeviceId;
|
||||
|
||||
|
||||
@@ -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);
|
||||
|
||||
}
|
||||
@@ -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 {
|
||||
}
|
||||
Reference in New Issue
Block a user