修正loggor提示信息
parent
03ec48e32c
commit
fa98c6b8c2
|
@ -17,8 +17,6 @@ import com.genersoft.iot.vmp.gb28181.transmit.request.SIPRequestAbstractProcesso
|
||||||
import com.genersoft.iot.vmp.media.zlm.ZLMRTPServerFactory;
|
import com.genersoft.iot.vmp.media.zlm.ZLMRTPServerFactory;
|
||||||
import com.genersoft.iot.vmp.storager.IRedisCatchStorage;
|
import com.genersoft.iot.vmp.storager.IRedisCatchStorage;
|
||||||
|
|
||||||
import org.apache.log4j.Logger;
|
|
||||||
|
|
||||||
import java.text.ParseException;
|
import java.text.ParseException;
|
||||||
import java.util.HashMap;
|
import java.util.HashMap;
|
||||||
import java.util.Map;
|
import java.util.Map;
|
||||||
|
|
|
@ -60,7 +60,7 @@ public class PlatformController {
|
||||||
public ResponseEntity<String> savePlatform(@RequestBody ParentPlatform parentPlatform){
|
public ResponseEntity<String> savePlatform(@RequestBody ParentPlatform parentPlatform){
|
||||||
|
|
||||||
if (logger.isDebugEnabled()) {
|
if (logger.isDebugEnabled()) {
|
||||||
logger.debug("查询所有上级设备API调用");
|
logger.debug("保存上级平台信息API调用");
|
||||||
}
|
}
|
||||||
if (StringUtils.isEmpty(parentPlatform.getName())
|
if (StringUtils.isEmpty(parentPlatform.getName())
|
||||||
||StringUtils.isEmpty(parentPlatform.getServerGBId())
|
||StringUtils.isEmpty(parentPlatform.getServerGBId())
|
||||||
|
@ -103,7 +103,7 @@ public class PlatformController {
|
||||||
public ResponseEntity<String> deletePlatform(@RequestBody ParentPlatform parentPlatform){
|
public ResponseEntity<String> deletePlatform(@RequestBody ParentPlatform parentPlatform){
|
||||||
|
|
||||||
if (logger.isDebugEnabled()) {
|
if (logger.isDebugEnabled()) {
|
||||||
logger.debug("查询所有上级设备API调用");
|
logger.debug("删除上级平台API调用");
|
||||||
}
|
}
|
||||||
if (StringUtils.isEmpty(parentPlatform.getServerGBId())
|
if (StringUtils.isEmpty(parentPlatform.getServerGBId())
|
||||||
){
|
){
|
||||||
|
@ -138,7 +138,7 @@ public class PlatformController {
|
||||||
public ResponseEntity<String> exitPlatform(@PathVariable String deviceGbId){
|
public ResponseEntity<String> exitPlatform(@PathVariable String deviceGbId){
|
||||||
|
|
||||||
if (logger.isDebugEnabled()) {
|
if (logger.isDebugEnabled()) {
|
||||||
logger.debug("查询所有上级设备API调用");
|
logger.debug("查询上级平台是否存在API调用:" + deviceGbId);
|
||||||
}
|
}
|
||||||
ParentPlatform parentPlatform = storager.queryParentPlatById(deviceGbId);
|
ParentPlatform parentPlatform = storager.queryParentPlatById(deviceGbId);
|
||||||
return new ResponseEntity<>(String.valueOf(parentPlatform != null), HttpStatus.OK);
|
return new ResponseEntity<>(String.valueOf(parentPlatform != null), HttpStatus.OK);
|
||||||
|
@ -184,7 +184,7 @@ public class PlatformController {
|
||||||
public ResponseEntity<String> delChannelForGB(@RequestBody UpdateChannelParam param){
|
public ResponseEntity<String> delChannelForGB(@RequestBody UpdateChannelParam param){
|
||||||
|
|
||||||
if (logger.isDebugEnabled()) {
|
if (logger.isDebugEnabled()) {
|
||||||
logger.debug("给上级平台添加国标通道API调用");
|
logger.debug("给上级平台删除国标通道API调用");
|
||||||
}
|
}
|
||||||
int result = storager.delChannelForGB(param.getPlatformId(), param.getChannelReduces());
|
int result = storager.delChannelForGB(param.getPlatformId(), param.getChannelReduces());
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue