|
|
|
@@ -170,10 +170,10 @@ public class ApiController { |
|
|
|
return AjaxResult.warn("新增失败,请检查"); |
|
|
|
// 添加播报信息 |
|
|
|
R<DmBroadcastVo> broadcastVoR = remoteBroadcastService.innerlist(manDeviceDtoR.getData().getManCode(), manDeviceDtoR.getData().getTId(), source.getMaster(), SecurityConstants.INNER); |
|
|
|
if (broadcastVoR.isFail()) { |
|
|
|
return AjaxResult.warn("新增失败,请检查"); |
|
|
|
if (!broadcastVoR.isFail()) { |
|
|
|
syncDmDto.getData().setBroadcast(broadcastVoR.getData()); |
|
|
|
} |
|
|
|
syncDmDto.getData().setBroadcast(broadcastVoR.getData()); |
|
|
|
|
|
|
|
return AjaxResult.success(syncDmDto.getData()).put("timestamp", timestamp); |
|
|
|
case 3: |
|
|
|
R<DmReceptionVo> receptionVo = remoteReceptionService.getReceptionTaskInner(manDeviceDtoR.getData().getManCode(), manDeviceDtoR.getData().getTId(), source.getMaster(), SecurityConstants.INNER); |
|
|
|
|