自动化立体仓库 - WMS系统
#
luxiaotao1123
2022-03-31 9b983bd1cd996553ee10b99d15772210f76b84cc
src/main/java/com/zy/asrs/controller/TrayCodeController.java
@@ -132,7 +132,7 @@
    @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")