| | |
| | | allLike(LocNormalLog.class, param.keySet(), wrapper, condition); |
| | | return R.ok(locNormalLogService.selectPage(new Page<>(curr, limit), wrapper)); |
| | | } |
| | | |
| | | //excel导出 |
| | | @RequestMapping("/locNomal/normalReportExport.action") |
| | | @ManagerAuth(memo = "日入库明细统计导出") |
| | | public R normalReportExport(@RequestBody JSONObject param){ |
| | | List<String> fields = JSONObject.parseArray(param.getJSONArray("fields").toJSONString(), String.class); |
| | | @SuppressWarnings("unchecked") |
| | | List<LocNormalReport> list = JSONObject.parseArray(param.getJSONArray("exportData").toJSONString(), LocNormalReport.class); |
| | | return R.ok(exportSupport(list, fields)); |
| | | } |
| | | } |