|  |  |  | 
|---|
|  |  |  | @ManagerAuth(memo = "堆垛机状态修改") | 
|---|
|  |  |  | public R update(BasCrnStatus basCrnStatus){ | 
|---|
|  |  |  | if (Cools.isEmpty(basCrnStatus) || null==basCrnStatus.getStsNo()){ | 
|---|
|  |  |  | return R.error(); | 
|---|
|  |  |  | return R.error("请求参数为空"); | 
|---|
|  |  |  | } | 
|---|
|  |  |  | basCrnStatus.setModiUser(getUserId()); | 
|---|
|  |  |  | basCrnStatus.setModiTime(new Date()); | 
|---|
|  |  |  | 
|---|
|  |  |  | public R delete(@RequestParam String param){ | 
|---|
|  |  |  | List<BasCrnStatus> list = JSONArray.parseArray(param, BasCrnStatus.class); | 
|---|
|  |  |  | if (Cools.isEmpty(list)){ | 
|---|
|  |  |  | return R.error(); | 
|---|
|  |  |  | return R.error("请求参数为空"); | 
|---|
|  |  |  | } | 
|---|
|  |  |  | for (BasCrnStatus entity : list){ | 
|---|
|  |  |  | basCrnStatusService.delete(new EntityWrapper<>(entity)); | 
|---|