Commit 60246bed by levphon

更换绑定设备时添加设备组合校验

1 parent 94a54103
...@@ -1293,6 +1293,9 @@ public class VehicleService extends AbstractCommonService { ...@@ -1293,6 +1293,9 @@ public class VehicleService extends AbstractCommonService {
verifyBO.setDevices(devices); verifyBO.setDevices(devices);
R verifyR = vehicleServiceClient.verifyDevicesCompose(verifyBO); R verifyR = vehicleServiceClient.verifyDevicesCompose(verifyBO);
log.info(JSONUtil.toJsonStr(verifyR)); log.info(JSONUtil.toJsonStr(verifyR));
if (!verifyR.isSuccess()) {
throw new AdminException(verifyR.getCode(), verifyR.getMessage());
}
} }
@Transactional(rollbackFor = Exception.class) @Transactional(rollbackFor = Exception.class)
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!