自动化立体仓库 - WCS系统
*
lsh
7 天以前 109e00f8a2b5ec34855816beca6dd59a83eb4f2b
src/main/java/com/zy/asrs/controller/WrkLastnoController.java
@@ -41,7 +41,11 @@
        EntityWrapper<WrkLastno> wrapper = new EntityWrapper<>();
        convert(param, wrapper);
        if (!Cools.isEmpty(orderByField)){wrapper.orderBy(humpToLine(orderByField), "asc".equals(orderByType));}
        return R.ok(wrkLastnoService.selectPage(new Page<>(curr, limit), wrapper));
//        return R.ok(wrkLastnoService.selectPage(new Page<>(curr, limit), wrapper));
        List<WrkLastno> wrkLastnoList = wrkLastnoService.selectList(wrapper);
        Page<WrkLastno> page = new Page<WrkLastno>(0, 10).setRecords(wrkLastnoList);
        page.setTotal(wrkLastnoList.size());
        return R.ok(page);
    }
    private <T> void convert(Map<String, Object> map, EntityWrapper<T> wrapper){