| | |
| | | import org.springframework.beans.factory.annotation.Autowired; |
| | | import org.springframework.web.bind.annotation.RequestBody; |
| | | import org.springframework.web.bind.annotation.RequestMapping; |
| | | import org.springframework.web.bind.annotation.RequestParam; |
| | | import org.springframework.web.bind.annotation.RestController; |
| | | import zy.cloud.wms.common.web.BaseController; |
| | | import zy.cloud.wms.manager.entity.param.StockInParam; |
| | | import zy.cloud.wms.manager.entity.param.StockOutParam; |
| | | import zy.cloud.wms.manager.service.WorkService; |
| | | |
| | | /** |
| | |
| | | |
| | | @RequestMapping("/stock/in") |
| | | @ManagerAuth(memo = "上架") |
| | | public R fullStorePutStart(@RequestBody StockInParam stockInParam) { |
| | | return R.ok("上架成功").add(workService.stockIn(stockInParam, getUserId())); |
| | | public R stockIn(@RequestBody StockInParam stockInParam) { |
| | | return workService.stockIn(stockInParam, getUserId()); |
| | | } |
| | | |
| | | @RequestMapping("/stock/out/check") |
| | | @ManagerAuth(memo = "库存数量检测") |
| | | public R stockOutCheck(@RequestParam String number) { |
| | | return workService.stockOutCheck(number, getUserId()); |
| | | } |
| | | |
| | | @RequestMapping("/stock/out") |
| | | @ManagerAuth(memo = "拣货") |
| | | public R stockOut(@RequestBody StockOutParam stockOutParam) { |
| | | return workService.stockOut(stockOutParam, getUserId()); |
| | | } |
| | | |
| | | } |