修改区块链日志,使用mongdb存储,只记录错误日志

This commit is contained in:
zhangqinbin
2022-04-22 17:12:08 +08:00
parent a6a77438ea
commit c42b9b8178

View File

@ -141,7 +141,7 @@ public class CrypConfigureServiceImpl extends BaseServiceImpl<CrypConfigureMappe
blockChainLog.setResult(e.getMessage());
}finally {
if("1".equals(blockChainLog.getStatus())){
if(blockChainLog.getStatus().equals(1)){
log.error("区块链调用失败!~-----------------");
operationLogService.addOperationLog("区块链同步失败信息,参数{}"+json+"返回信息{}"+str,false, EbtpLogBusinessModule.CRYPT_DECRYPT, EbtpLogType.INSERT);
}