自动化立体仓库 - WCS系统
*
lsh
2025-04-18 f3f76a51c4e41ae9617b592ae7747ba6b4d8d272
src/main/java/com/zy/asrs/controller/BasWrkIotypeController.java
@@ -41,7 +41,13 @@
        EntityWrapper<BasWrkIotype> wrapper = new EntityWrapper<>();
        convert(param, wrapper);
        if (!Cools.isEmpty(orderByField)){wrapper.orderBy(humpToLine(orderByField), "asc".equals(orderByType));}
        return R.ok(basWrkIotypeService.selectPage(new Page<>(curr, limit), wrapper));
//        return R.ok(basWrkIotypeService.selectPage(new Page<>(curr, limit), wrapper));
        List<BasWrkIotype> basWrkIotypeList = basWrkIotypeService.selectList(wrapper);
        Page<BasWrkIotype> page = new Page<BasWrkIotype>(0, 10).setRecords(basWrkIotypeList);
        page.setTotal(basWrkIotypeList.size());
        return R.ok(page);
    }
    private <T> void convert(Map<String, Object> map, EntityWrapper<T> wrapper){