自动化立体仓库 - WMS系统
luxiaotao1123
2021-08-24 e004099a45b0981e1802b27b59053bf284fefdff
src/main/java/com/zy/ints/controller/WaitMatinController.java
@@ -70,10 +70,12 @@
                  @RequestParam(defaultValue = "10")Integer limit,
                  @RequestParam(required = false)String orderByField,
                  @RequestParam(required = false)String orderByType,
                  @RequestParam(required = false)String condition,
                  @RequestParam Map<String, Object> param){
        EntityWrapper<WaitMatin> wrapper = new EntityWrapper<>();
        excludeTrash(param);
        convert(param, wrapper);
        allLike(WaitMatin.class, param.keySet(), wrapper, condition);
        if (!Cools.isEmpty(orderByField)){wrapper.orderBy(humpToLine(orderByField), "asc".equals(orderByType));}
        return R.ok(waitMatinService.selectPage(new Page<>(curr, limit), wrapper));
    }