| | |
| | | } |
| | | |
| | | @RequestMapping(value = "/stkPlcm/add/auth") |
| | | @ManagerAuth |
| | | @ManagerAuth(memo = "堆垛机异常日志添加") |
| | | public R add(StkPlcm stkPlcm) { |
| | | stkPlcmService.insert(stkPlcm); |
| | | return R.ok(); |
| | | } |
| | | |
| | | @RequestMapping(value = "/stkPlcm/delete/auth") |
| | | @ManagerAuth |
| | | @ManagerAuth(memo = "堆垛机异常日志删除") |
| | | public R delete(@RequestParam String param){ |
| | | List<StkPlcm> list = JSONArray.parseArray(param, StkPlcm.class); |
| | | if (Cools.isEmpty(list)){ |
| | |
| | | } |
| | | |
| | | @RequestMapping(value = "/stkPlcm/export/auth") |
| | | @ManagerAuth |
| | | @ManagerAuth(memo = "堆垛机异常日志导出") |
| | | public R export(@RequestBody JSONObject param){ |
| | | List<String> fields = JSONObject.parseArray(param.getJSONArray("fields").toJSONString(), String.class); |
| | | EntityWrapper<StkPlcm> wrapper = new EntityWrapper<>(); |