| | |
| | | @ManagerAuth(memo = "堆垛机异常码修改") |
| | | public R update(BasCrnError basCrnError){ |
| | | if (Cools.isEmpty(basCrnError) || null==basCrnError.getErrorCode()){ |
| | | return R.error(); |
| | | return R.error("请求参数为空"); |
| | | } |
| | | basCrnError.setModiUser(getUserId()); |
| | | basCrnError.setModiTime(new Date()); |
| | |
| | | public R delete(@RequestParam String param){ |
| | | List<BasCrnError> list = JSONArray.parseArray(param, BasCrnError.class); |
| | | if (Cools.isEmpty(list)){ |
| | | return R.error(); |
| | | return R.error("请求参数为空"); |
| | | } |
| | | for (BasCrnError entity : list){ |
| | | basCrnErrorService.delete(new EntityWrapper<>(entity)); |