| | |
| | | import com.zy.asrs.service.AgvBasDevpService; |
| | | import com.zy.asrs.service.AgvMobileService; |
| | | import com.zy.asrs.service.AgvWorkService; |
| | | import com.zy.asrs.service.OrderDetlService; |
| | | import com.zy.common.web.BaseController; |
| | | import lombok.Synchronized; |
| | | import org.springframework.beans.factory.annotation.Autowired; |
| | | import org.springframework.web.bind.annotation.PostMapping; |
| | | import org.springframework.web.bind.annotation.RequestBody; |
| | |
| | | private AgvBasDevpService agvBasDevpService; |
| | | @Autowired |
| | | private AgvWorkService workService; |
| | | @Autowired |
| | | private OrderDetlService orderDetlService; |
| | | |
| | | |
| | | /* |
| | |
| | | } |
| | | |
| | | /* |
| | | 获取输送线站点 |
| | | */ |
| | | @PostMapping("/getBasDevp/noCacheShelves/auth") |
| | | public R getBasDevpByNoCacheShelves(){ |
| | | return R.ok(agvBasDevpService.getBasDevpByNoCacheShelves()); |
| | | } |
| | | |
| | | /* |
| | | 启动入库,生成工作档 |
| | | */ |
| | | @PostMapping("/pakin/auth") |
| | | @Synchronized |
| | | public R pakin(@RequestBody Map<String,Object> map){ |
| | | List<String> devNos = (List<String>) map.get("devNo"); |
| | | |
| | |
| | | return agvBasDevpService.selectById(devNo); |
| | | }).collect(Collectors.toList()); |
| | | |
| | | workService.createWaitPainWrkMastStart(agvBasDevpList, getUserId()); |
| | | workService.createWaitPainWrkMastStart(agvBasDevpList, getUserId(),false); |
| | | |
| | | return R.ok("生成工作档成功"); |
| | | } |