| | |
| | | if(Cools.eq(entry.getKey(),"curr") |
| | | || Cools.eq(entry.getKey(),"limit") |
| | | || Cools.eq(entry.getKey(),"unreason") |
| | | || Cools.eq(entry.getKey(),"orderByField") |
| | | || Cools.eq(entry.getKey(),"orderByType") |
| | | || Cools.eq(entry.getKey(),"row") |
| | | || Cools.eq(entry.getKey(),"condition")){ |
| | | continue; |
| | |
| | | @ManagerAuth |
| | | public R page(@RequestParam(defaultValue = "1") Integer curr, |
| | | @RequestParam(defaultValue = "10") Integer limit, |
| | | @RequestParam(required = false)String orderByField, |
| | | @RequestParam(required = false)String orderByType, |
| | | @RequestParam(required = false) String condition, |
| | | @RequestParam(required = false) String timeRange, |
| | | @RequestParam Map<String, Object> param) { |
| | |
| | | wrapper.eq("loc_no", param.get("locNo")); |
| | | } |
| | | |
| | | if (!Cools.isEmpty(orderByField)){ |
| | | wrapper.orderBy(true, "asc".equals(orderByType), humpToLine(orderByField)); |
| | | } |
| | | |
| | | param.remove("locNo"); |
| | | param.remove("owner"); |
| | | param.remove("zpallet"); |