mrzhssss
2022-01-10 bbb54c1ab65d141219dfbf7efb2af086522667a0
src/main/java/zy/cloud/wms/manager/controller/FlowStatusController.java
@@ -40,7 +40,9 @@
        EntityWrapper<FlowStatus> wrapper = new EntityWrapper<>();
        excludeTrash(param);
        convert(param, wrapper);
        if (!Cools.isEmpty(orderByField)){wrapper.orderBy(humpToLine(orderByField), "asc".equals(orderByType));}
        if (!Cools.isEmpty(orderByField)) {
            wrapper.orderBy(humpToLine(orderByField), "asc".equals(orderByType));
        }
        return R.ok(flowStatusService.selectPage(new Page<>(curr, limit), wrapper));
    }
@@ -78,7 +80,8 @@
    @ManagerAuth
    public R delete(@RequestParam(value="ids[]") Long[] ids){
         for (Long id : ids){
            flowStatusService.deleteById(id);
            flowStatusService.delete(new EntityWrapper<FlowStatus>()
                    .eq("id",id));
        }
        return R.ok();
    }