| | |
| | | }else { |
| | | wrapper.orderBy("io_time", false); |
| | | } |
| | | return R.ok(agvWrkMastService.selectPage(new Page<>(curr, limit), wrapper)); |
| | | Page<AgvWrkMast> agvWrkMastPage = agvWrkMastService.selectPage(new Page<>(curr, limit), wrapper); |
| | | return R.ok(agvWrkMastPage); |
| | | } |
| | | |
| | | @RequestMapping(value = "/wrkMast/list/auth/dbList") |
| | |
| | | public R delete(@RequestParam String param){ |
| | | List<AgvWrkMast> list = JSONArray.parseArray(param, AgvWrkMast.class); |
| | | if (Cools.isEmpty(list)){ |
| | | return R.error(); |
| | | return R.error("工作档参数缺失"); |
| | | } |
| | | for (AgvWrkMast entity : list){ |
| | | agvWrkMastService.delete(new EntityWrapper<>(entity)); |