| | |
| | | return R.ok(orderDetlService.getPakoutPage(toPage(curr, limit, param, OrderDetl.class))); |
| | | } |
| | | |
| | | //只有销售单 |
| | | @RequestMapping(value = "/orderDetl/pakout/list/auth/xs") |
| | | @ManagerAuth |
| | | public R pakoutListxs(@RequestParam(defaultValue = "1")Integer curr, |
| | | @RequestParam(defaultValue = "10")Integer limit, |
| | | @RequestParam Map<String, Object> param){ |
| | | return R.ok(orderDetlService.getPakoutPagexs(toPage(curr, limit, param, OrderDetl.class))); |
| | | } |
| | | |
| | | //没有销售单 |
| | | @RequestMapping(value = "/orderDetl/pakout/list/auth/notxs") |
| | | @ManagerAuth |
| | | public R pakoutListnotxs(@RequestParam(defaultValue = "1")Integer curr, |
| | | @RequestParam(defaultValue = "10")Integer limit, |
| | | @RequestParam Map<String, Object> param){ |
| | | return R.ok(orderDetlService.getPakoutPagenotxs(toPage(curr, limit, param, OrderDetl.class))); |
| | | } |
| | | |
| | | private <T> void convert(Map<String, Object> map, EntityWrapper<T> wrapper){ |
| | | for (Map.Entry<String, Object> entry : map.entrySet()){ |
| | | String val = String.valueOf(entry.getValue()); |