Commit 4ac3f70c by zhouhb

[+]代码修改

1 parent a034b9ec
...@@ -50,7 +50,7 @@ public class MerchantService { ...@@ -50,7 +50,7 @@ public class MerchantService {
@SysLog(value = "保存商户", action = OperateType.ADD, module = "商户模块") @SysLog(value = "保存商户", action = OperateType.ADD, module = "商户模块")
public Integer saveMerchant(MerchantSaveRequest merchantSaveRequest) { public Integer saveMerchant(MerchantSaveRequest merchantSaveRequest) {
RpcResponse<Integer> booleanRpcResponse = merchantRemote.saveMerchantRemote(converMerchant(merchantSaveRequest)); RpcResponse<Integer> booleanRpcResponse = merchantRemote.saveMerchantRemote(converMerchant(merchantSaveRequest));
if (booleanRpcResponse.isFailed()) { if (booleanRpcResponse.isSuccess()) {
return booleanRpcResponse.getResult(); return booleanRpcResponse.getResult();
} }
throw new RpcServiceException(booleanRpcResponse.getException().getErrId(), booleanRpcResponse.getMessage()); throw new RpcServiceException(booleanRpcResponse.getException().getErrId(), booleanRpcResponse.getMessage());
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!