| | |
| | | return R.ok(exportSupport(list, fields)); |
| | | } |
| | | |
| | | //excel导出 |
| | | @RequestMapping("/viewWorkInExportByPage.action") |
| | | @ManagerAuth(memo = "日入库明细统计导出(分页数据)") |
| | | public R viewWorkInExportByPage(@RequestBody JSONObject param){ |
| | | List<String> fields = JSONObject.parseArray(param.getJSONArray("fields").toJSONString(), String.class); |
| | | @SuppressWarnings("unchecked") |
| | | List<ViewWorkInBean> list = JSONObject.parseArray(param.getJSONArray("exportData").toJSONString(), ViewWorkInBean.class); |
| | | return R.ok(exportSupport(list, fields)); |
| | | } |
| | | |
| | | //------------------日出库明细统计-------------------------------------- |
| | | @RequestMapping("/viewWorkOutList.action") |
| | | public R viewWorkOutList(ViewWorkInBean bean){ |
| | |
| | | return R.ok(exportSupport(list, fields)); |
| | | } |
| | | |
| | | //excel导出 |
| | | @RequestMapping("/viewWorkOutExportByPage.action") |
| | | @ManagerAuth(memo = "日出库明细统计导出(分页数据)") |
| | | public R viewWorkOutExportByPage(@RequestBody JSONObject param){ |
| | | List<String> fields = JSONObject.parseArray(param.getJSONArray("fields").toJSONString(), String.class); |
| | | @SuppressWarnings("unchecked") |
| | | List<ViewWorkInBean> list = JSONObject.parseArray(param.getJSONArray("exportData").toJSONString(), ViewWorkInBean.class); |
| | | return R.ok(exportSupport(list, fields)); |
| | | } |
| | | |
| | | } |