Commit 54823c0a authored by fangxinjiang's avatar fangxinjiang

税友反馈文件下载-fxj

parent 5991dd1f
...@@ -8499,6 +8499,7 @@ public class TDispatchInfoServiceImpl extends ServiceImpl<TDispatchInfoMapper, T ...@@ -8499,6 +8499,7 @@ public class TDispatchInfoServiceImpl extends ServiceImpl<TDispatchInfoMapper, T
} }
} catch (Exception e) { } catch (Exception e) {
log.error("下载附件失败: {}", url, e); log.error("下载附件失败: {}", url, e);
throw new RuntimeException("下载附件失败:", e);
} }
} }
} }
...@@ -8511,12 +8512,7 @@ public class TDispatchInfoServiceImpl extends ServiceImpl<TDispatchInfoMapper, T ...@@ -8511,12 +8512,7 @@ public class TDispatchInfoServiceImpl extends ServiceImpl<TDispatchInfoMapper, T
} catch (Exception e) { } catch (Exception e) {
log.error("下载自动化办理反馈文件异常", e); log.error("下载自动化办理反馈文件异常", e);
try { throw new RuntimeException("下载自动化办理反馈文件失败,请联系管理员", e);
response.setContentType("application/json");
sendJsonError(response, "下载自动化办理反馈文件失败,请联系管理员","200");
} catch (IOException ex) {
log.error("发送错误响应失败", ex);
}
} }
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment