| | |
| | | import com.zy.asrs.utils.OrderInAndOutUtil; |
| | | import com.zy.common.model.WrkDto; |
| | | import com.zy.common.web.BaseController; |
| | | import io.swagger.annotations.ApiOperation; |
| | | import org.springframework.beans.factory.annotation.Autowired; |
| | | import org.springframework.transaction.annotation.Transactional; |
| | | import org.springframework.web.bind.annotation.*; |
| | |
| | | |
| | | @Resource |
| | | private StaDescService staDescService; |
| | | |
| | | |
| | | @PostMapping("/agv/callEmptyCar") |
| | | @ManagerAuth |
| | | public R pdaAgvFinishedCall(@RequestBody AgvCallParams params){ |
| | | return mobileService.callEmptyCar(params); |
| | | } |
| | | |
| | | @RequestMapping("/pda/WarehouseOut/v1") |
| | | @ManagerAuth(memo = "并板途中拣料-参考念初") |
| | |
| | | return mobileService.pickMats(matnr, orderNo); |
| | | } |
| | | |
| | | @PostMapping("/scan/order/mats") |
| | | @ManagerAuth(memo = "扫码获取组托物料") |
| | | public R scanMats(@RequestBody PakinMatsByQRParams params) { |
| | | if (Objects.isNull(params)) { |
| | | return R.parse("参数不能为空!!"); |
| | | } |
| | | return mobileService.getMatsByQRcode(params); |
| | | } |
| | | |
| | | // 商品上架 |
| | | @RequestMapping("/mat/onSale/auth") |
| | | @ManagerAuth |
| | |
| | | } |
| | | |
| | | |
| | | @GetMapping("/cache/locs") |
| | | @ManagerAuth |
| | | @ApiOperation("获取缓存区库位信息") |
| | | public R getCacheLocs() { |
| | | return mobileService.getCacheLocs(); |
| | | } |
| | | |
| | | |
| | | @PostMapping("/cache/agv/call") |
| | | @ApiOperation("呼叫空车") |
| | | @ManagerAuth |
| | | public R callAgvMove(@RequestBody AgvCallParams params) { |
| | | if (Objects.isNull(params)) { |
| | | return R.error("参数不能为空!!"); |
| | | } |
| | | return mobileService.callAgvMove(params, getUserId()); |
| | | } |
| | | |
| | | |
| | | /** |
| | | * @author Ryan |
| | | * @date 2025/11/3 |
| | | * @description: 呼叫AGV搬运缓存区/EO/SO |
| | | * @version 1.0 |
| | | */ |
| | | @PostMapping("/cache/out/call") |
| | | @ApiOperation("呼叫AGV搬运") |
| | | @ManagerAuth |
| | | public R OutCallAgv(@RequestBody AgvCallParams params) { |
| | | if (Objects.isNull(params)) { |
| | | return R.error("参数不能为空!!"); |
| | | } |
| | | return mobileService.OutCallAgv(params, getUserId()); |
| | | } |
| | | |
| | | |
| | | // 组托 ---------------------------------------------------------------------------------------------------- |
| | | |