| | |
| | | @ManagerAuth |
| | | public R trayCodeLatest() { |
| | | List<TrayCode> latest = trayCodeService.selectList(new EntityWrapper<TrayCode>().orderBy("id", false)); |
| | | return R.ok().add(latest.isEmpty()?"100001": Integer.parseInt(latest.get(0).getTrayNo())+1); |
| | | return R.ok().add(latest.isEmpty()?"10000001": Integer.parseInt(latest.get(0).getTrayNo())+1); |
| | | } |
| | | |
| | | @RequestMapping(value = "/trayCode/print/preview") |
| | |
| | | } |
| | | |
| | | @RequestMapping(value = "/trayCode/print/auth") |
| | | @ManagerAuth(memo = "托盘码打印") |
| | | @ManagerAuth(memo = "货架码打印") |
| | | public R print(@RequestParam String startNo, |
| | | @RequestParam Integer count, |
| | | @RequestParam Integer type){ |