自动化立体仓库 - WMS系统
#
gt-fuwuqi
2024-11-30 891fa06cf39c457a07214f1c82efc0b12b4c1d43
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")