检查问题

This commit is contained in:
sxu 2024-11-14 19:09:10 +08:00
parent c276200441
commit 4b31fba776
1 changed files with 5 additions and 0 deletions

View File

@ -208,6 +208,11 @@ public class LeaseOutDetailsServiceImpl implements LeaseOutDetailsService {
return AjaxResult.error("已领数量大于预领数量或该机具未在库"); return AjaxResult.error("已领数量大于预领数量或该机具未在库");
} }
} catch (Exception e) { } catch (Exception e) {
e.printStackTrace();
log.error(e.fillInStackTrace().toString());
log.error(e.getCause().toString());
log.error(e.getCause().getMessage());
log.error(e.getStackTrace().toString());
throw new ServiceException("出库异常"); throw new ServiceException("出库异常");
} }
return AjaxResult.success("出库成功"); return AjaxResult.success("出库成功");