From 2ba62a83f16373b5cc281266e0a381001a092e63 Mon Sep 17 00:00:00 2001 From: wangning <164851225@qq.com> Date: Mon, 16 Apr 2018 23:40:03 +0800 Subject: [PATCH] bug fix --- .../manage/system/core/impl/ClientContractServiceImpl.java | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/src/main/java/au/com/royalpay/payment/manage/system/core/impl/ClientContractServiceImpl.java b/src/main/java/au/com/royalpay/payment/manage/system/core/impl/ClientContractServiceImpl.java index 14a0bc760..2564de76a 100644 --- a/src/main/java/au/com/royalpay/payment/manage/system/core/impl/ClientContractServiceImpl.java +++ b/src/main/java/au/com/royalpay/payment/manage/system/core/impl/ClientContractServiceImpl.java @@ -7,7 +7,6 @@ import au.com.royalpay.payment.manage.merchants.core.ClientManager; import au.com.royalpay.payment.manage.system.core.ClientContractService; import au.com.royalpay.payment.tools.env.SysConfigManager; import au.com.royalpay.payment.tools.exceptions.NotFoundException; -import au.com.royalpay.payment.tools.exceptions.ServerErrorException; import au.com.royalpay.payment.tools.utils.PageListUtils; import com.alibaba.fastjson.JSONObject; @@ -50,8 +49,8 @@ public class ClientContractServiceImpl implements ClientContractService { try { clientManager.getNewAggregateAgreeFile(client.getString("client_moniker"), null, true); } catch (Exception e) { - logger.info("App generate PDF failed"); - throw new ServerErrorException("System error"); +// logger.info("App generate PDF failed"); +// throw new ServerErrorException("System error"); } List files = clientFilesMapper.findFileByClientAndType(client_id, "source_agree_file"); return files.get(0);