| | |
| | | import org.springframework.beans.factory.annotation.Autowired; |
| | | import org.springframework.web.bind.annotation.*; |
| | | import zy.cloud.wms.common.web.BaseController; |
| | | import zy.cloud.wms.manager.entity.Mat; |
| | | import zy.cloud.wms.manager.entity.Node; |
| | | import zy.cloud.wms.manager.entity.Prior; |
| | | import zy.cloud.wms.manager.entity.*; |
| | | import zy.cloud.wms.manager.service.MatService; |
| | | import zy.cloud.wms.manager.service.NodeService; |
| | | import zy.cloud.wms.manager.service.PriorService; |
| | |
| | | @Autowired |
| | | private NodeService nodeService; |
| | | |
| | | /** |
| | | * 安全库存警告分页 |
| | | * @param curr |
| | | * @param limit |
| | | * @param param |
| | | * @return |
| | | */ |
| | | @RequestMapping(value = "/safeSto/list/auth") |
| | | @ManagerAuth |
| | | public R safeStoList(@RequestParam(defaultValue = "1")Integer curr, |
| | | @RequestParam(defaultValue = "10")Integer limit, |
| | | @RequestParam Map<String, Object> param){ |
| | | return R.ok(priorService.getSafeQtyPage(toPage(curr, limit, param, SafeStoDo.class))); |
| | | } |
| | | |
| | | /***************************************************/ |
| | | |
| | | @RequestMapping(value = "/prior/{id}/auth") |
| | | @ManagerAuth |