transactionTemplate.execute(new TransactionCallbackWithoutResult() {
@Override
protected void doInTransactionWithoutResult(TransactionStatus status) {
try {
final ChannelDO channelDo = channelDao.findById(channelId);
if (null == channelDo) {
String exceptionCause = "query channelId:" + channelId + " return null.";
logger.error("ERROR ## " + exceptionCause);
throw new ManagerException(exceptionCause);
}
ChannelStatus oldStatus = arbitrateManageService.channelEvent().status(channelDo.getId());
Channel channel = doToModel(channelDo);
channel.setStatus(oldStatus);
ChannelStatus newStatus = channelStatus;
if (newStatus != null) {
if (newStatus.equals(oldStatus)) {