| | |
| | | import com.vincent.rsf.framework.common.R; |
| | | import com.vincent.rsf.server.api.entity.dto.InTaskMsgDto; |
| | | import com.vincent.rsf.server.api.controller.erp.params.TaskInParam; |
| | | import com.vincent.rsf.server.api.entity.params.*; |
| | | import com.vincent.rsf.server.common.annotation.OperationLog; |
| | | import com.vincent.rsf.server.manager.enums.TaskType; |
| | | import com.vincent.rsf.server.api.service.WcsService; |
| | |
| | | @OperationLog("RCS库位信息同步") |
| | | @PostMapping("/sync/locs") |
| | | public R syncLocsToWms() { |
| | | return wcsService.syncLocsToWms(); |
| | | wcsService.syncLocsToWms(); |
| | | return R.ok(); |
| | | } |
| | | |
| | | /** |
| | | * 下发任务至WCS,API中转 |
| | | * @param |
| | | * @return |
| | | */ |
| | | @ApiOperation("下发任务至WCS") |
| | | @OperationLog("下发任务至WCS") |
| | | @PostMapping("/pub/task/wcs") |
| | | public R pubTaskToWcs(@RequestBody WcsTaskParams params) { |
| | | return wcsService.pubWcsTask(params); |
| | | } |
| | | |
| | | /** |
| | |
| | | @ApiOperation("RCS上报异常执行信息") |
| | | @OperationLog("RCS上报异常执行信息") |
| | | @PostMapping("/receive/ex/msg") |
| | | public R receiveExMsg() { |
| | | return wcsService.receiveExMsg(); |
| | | public R receiveExMsg(@RequestBody ExMsgParams params) { |
| | | return wcsService.receiveExMsg(params); |
| | | } |
| | | |
| | | /** |
| | | * @author Munch D. Luffy |
| | | * @date 2026/01/09 |
| | | * @description: WCS入库任务申请 |
| | | * @version 1.0 |
| | | */ |
| | | @ApiOperation("WCS入库任务申请") |
| | | @OperationLog("WCS入库任务申请") |
| | | @PostMapping("/createInTask") |
| | | public R wcsCreateInTask(@RequestBody CreateInTaskParam params) { |
| | | return R.ok();//lsh 待完善 |
| | | } |
| | | |
| | | /** |
| | | * @author Munch D. Luffy |
| | | * @date 2026/01/09 |
| | | * @description: WCS任务上报通知 |
| | | * @version 1.0 |
| | | */ |
| | | @ApiOperation("WCS任务上报通知") |
| | | @OperationLog("WCS任务上报通知") |
| | | @PostMapping("/task/report") |
| | | public R wcsTaskReport(@RequestBody TaskReportParam params) { |
| | | return R.ok();//lsh 待完善 |
| | | } |
| | | |
| | | /** |
| | | * @author Munch D. Luffy |
| | | * @date 2026/01/09 |
| | | * @description: WCS申请任务重新分配入库 |
| | | * @version 1.0 |
| | | */ |
| | | @ApiOperation("WCS申请任务重新分配入库") |
| | | @OperationLog("WCS申请任务重新分配入库") |
| | | @PostMapping("/reassign/loc") |
| | | public R wcsReassignLoc(@RequestBody ReassignLocParam params) { |
| | | return R.ok();//lsh 待完善 |
| | | } |
| | | |
| | | /** |
| | | * @author Munch D. Luffy |
| | | * @date 2026/01/09 |
| | | * @description: WCS申请在库库位更换库位 |
| | | * @version 1.0 |
| | | */ |
| | | @ApiOperation("WCS申请在库库位更换库位") |
| | | @OperationLog("WCS申请在库库位更换库位") |
| | | @PostMapping("/change/loc") |
| | | public R wcsChangeLoc(@RequestBody TaskReportParam params) { |
| | | return R.ok();//lsh 待完善 |
| | | } |
| | | |
| | | |