王佳豪
2021-03-10 f6e0107233bd7fc000b77b3cc9164c5c00b16448
src/main/java/com/zy/asrs/controller/LocDetlController.java
@@ -83,8 +83,13 @@
                  @RequestParam(required = false)String orderByType,
                  @RequestParam(required = false)String condition,
                  @RequestParam Map<String, Object> param){
        excludeTrash(param);
        EntityWrapper<LocDetl> wrapper = new EntityWrapper<>();
        if ("0".equals(param.get("mat_status"))) {
            wrapper.isNull("mat_status");
            param.remove("mat_status");
        }
        convert(param, wrapper);
        allLike(LocDetl.class, param.keySet(), wrapper, condition);
        if (!Cools.isEmpty(orderByField)){wrapper.orderBy(humpToLine(orderByField), "asc".equals(orderByType));}