| | |
| | | |
| | | List<String> selectAllStationCode(); |
| | | |
| | | AgvBasDevp selectByDevNo(String devNo); |
| | | |
| | | } |
| | |
| | | return this.baseMapper.selectAllStationCode(); |
| | | } |
| | | |
| | | @Override |
| | | public AgvBasDevp selectByDevNo(String devNo) { |
| | | return this.selectOne(new EntityWrapper<AgvBasDevp>().eq("dev_no",devNo)); |
| | | } |
| | | |
| | | } |
| | |
| | | |
| | | Date now = new Date(); |
| | | // 源站点状态检测 |
| | | //AgvBasDevp agvBasDevp = agvBasDevpService.selectByDevNo(station); |
| | | AgvBasDevp agvBasDevp = agvBasDevpService.selectById(station); |
| | | |
| | | //初始定义为空板入库类型 |
| | | int ioType = 10; |
| | | |
| | | if(!Cools.eq(agvBasDevp.getBarcode(),containerCode) || !agvBasDevp.getLocSts().equals("O")){ |
| | | // if(Cools.isEmpty(agvBasDevp.getBarcode())){ |
| | | // agvBasDevp.setBarcode(containerCode); |
| | | // } |
| | | |
| | | if(!Cools.eq(agvBasDevp.getBarcode(),containerCode) && !agvBasDevp.getLocSts().equals("O")){ |
| | | throw new CoolException("当前工作位状态为" + agvBasDevp.getLocSts()+",无法进行空板入库"); |
| | | } |
| | | |