|  |  |  | 
|---|
|  |  |  |  | 
|---|
|  |  |  | // 导出 | 
|---|
|  |  |  | @RequestMapping(value = "/viewStockUseExport.action") | 
|---|
|  |  |  | @ManagerAuth | 
|---|
|  |  |  | @ManagerAuth(memo = "库位使用统计导出") | 
|---|
|  |  |  | public R viewStockUseExport(@RequestBody JSONObject param){ | 
|---|
|  |  |  | List<String> fields = JSONObject.parseArray(param.getJSONArray("fields").toJSONString(), String.class); | 
|---|
|  |  |  | List<ViewStockUseBean> list = reportQueryMapper.getViewStockUseAll(new ViewStockUseBean()); | 
|---|
|  |  |  | 
|---|
|  |  |  | } | 
|---|
|  |  |  |  | 
|---|
|  |  |  | //------------------库存滞留统计-------------------------------------- | 
|---|
|  |  |  | @ResponseBody | 
|---|
|  |  |  | @RequestMapping("/viewStayTimeList.action") | 
|---|
|  |  |  | public Map<String,Object> queryViewStayTimeListByPages(@RequestParam(defaultValue = "1")Integer curr, | 
|---|
|  |  |  | @RequestParam(defaultValue = "10")Integer limit, | 
|---|
|  |  |  | 
|---|
|  |  |  |  | 
|---|
|  |  |  | // 导出 | 
|---|
|  |  |  | @RequestMapping(value = "/viewStayTimeExport.action") | 
|---|
|  |  |  | @ManagerAuth | 
|---|
|  |  |  | @ManagerAuth(memo = "库存滞留统计导出") | 
|---|
|  |  |  | public R viewStayTimeExport(@RequestBody JSONObject param){ | 
|---|
|  |  |  | List<String> fields = JSONObject.parseArray(param.getJSONArray("fields").toJSONString(), String.class); | 
|---|
|  |  |  | List<ViewStayTimeBean> list = reportQueryMapper.getViewStayTimeAll(new ViewStayTimeBean()); | 
|---|
|  |  |  | 
|---|
|  |  |  |  | 
|---|
|  |  |  | //excel导出 | 
|---|
|  |  |  | @RequestMapping("/viewInOutExport.action") | 
|---|
|  |  |  | @ManagerAuth | 
|---|
|  |  |  | @ManagerAuth(memo = "站点日入出库次数统计导出") | 
|---|
|  |  |  | public R viewInOutExport(@RequestBody JSONObject param){ | 
|---|
|  |  |  | List<String> fields = JSONObject.parseArray(param.getJSONArray("fields").toJSONString(), String.class); | 
|---|
|  |  |  | List<ViewInOutBean> list = reportQueryMapper.getViewInOutAll(new ViewInOutBean()); | 
|---|
|  |  |  | 
|---|
|  |  |  |  | 
|---|
|  |  |  | //excel导出 | 
|---|
|  |  |  | @RequestMapping("/viewWorkInExport.action") | 
|---|
|  |  |  | @ManagerAuth | 
|---|
|  |  |  | @ManagerAuth(memo = "日入库明细统计导出") | 
|---|
|  |  |  | public R viewWorkInExport(@RequestBody JSONObject param){ | 
|---|
|  |  |  | List<String> fields = JSONObject.parseArray(param.getJSONArray("fields").toJSONString(), String.class); | 
|---|
|  |  |  | List<ViewWorkInBean> list = reportQueryMapper.getViewWorkInAll(new ViewWorkInBean()); | 
|---|
|  |  |  | 
|---|
|  |  |  |  | 
|---|
|  |  |  | //excel导出 | 
|---|
|  |  |  | @RequestMapping("/viewWorkOutExport.action") | 
|---|
|  |  |  | @ManagerAuth | 
|---|
|  |  |  | @ManagerAuth(memo = "日出库明细统计导出") | 
|---|
|  |  |  | public R viewWorkOutExport(@RequestBody JSONObject param){ | 
|---|
|  |  |  | List<String> fields = JSONObject.parseArray(param.getJSONArray("fields").toJSONString(), String.class); | 
|---|
|  |  |  | List<ViewWorkInBean> list = reportQueryMapper.getViewWorkOutAll(new ViewWorkInBean()); | 
|---|