| | |
| | | import com.baomidou.mybatisplus.plugins.Page; |
| | | import com.core.common.DateUtils; |
| | | import com.zy.asrs.entity.BasContainer; |
| | | import com.zy.asrs.entity.param.ContainerParams; |
| | | import com.zy.asrs.service.BasContainerService; |
| | | import com.core.annotations.ManagerAuth; |
| | | import com.core.common.BaseRes; |
| | |
| | | return R.ok(); |
| | | } |
| | | |
| | | @RequestMapping(value = "/basContainer/init/auth") |
| | | @ManagerAuth |
| | | public R init(@RequestBody ContainerParams container) { |
| | | if (Objects.isNull(container)) { |
| | | throw new RuntimeException("能数不能为空!!"); |
| | | } |
| | | return basContainerService.init(container); |
| | | } |
| | | |
| | | |
| | | @RequestMapping(value = "/basContainer/update/auth") |
| | | @ManagerAuth |
| | | public R update(BasContainer basContainer){ |