自动化立体仓库 - WMS系统
Junjie
2023-11-20 20943f263c31beec3f25fcbeb09c73350248e74b
src/main/java/com/zy/asrs/controller/AdjDetlController.java
@@ -45,7 +45,11 @@
        EntityWrapper<AdjDetl> wrapper = new EntityWrapper<>();
        convert(param, wrapper);
        allLike(AdjDetl.class, param.keySet(), wrapper, condition);
        if (!Cools.isEmpty(orderByField)){wrapper.orderBy(humpToLine(orderByField), "asc".equals(orderByType));}
        if (!Cools.isEmpty(orderByField)){
            wrapper.orderBy(humpToLine(orderByField), "asc".equals(orderByType));
        }else {
            wrapper.orderBy("modi_time", false);
        }
        return R.ok(adjDetlService.selectPage(new Page<>(curr, limit), wrapper));
    }