|  |  | 
 |  |  |  | 
 |  |  |                     // 判断重复工作档 | 
 |  |  |                     WrkMast wrkMast = wrkMastMapper.selectPakInStep1(inSta.getStaNo(), barcode); | 
 |  |  |  | 
 |  |  |                     WrkMast wrkMast1 = wrkMastMapper.selectPakInStepBarcode(barcode); | 
 |  |  |                     if (wrkMast1 !=null){ | 
 |  |  |                         if (wrkMast1.getIoType()==103 || wrkMast1.getIoType()==107 || wrkMast1.getIoType()==104){ | 
 |  |  |                             continue; | 
 |  |  |                         } | 
 |  |  |                     } | 
 |  |  |                     if (wrkMast != null) { | 
 |  |  |                         log.error("工作档中已存在该站状态为( 2.设备上走 )的数据,工作号={}", wrkMast.getWrkNo()); | 
 |  |  |                         staProtocol.setWorkNo((short)9999); | 
 |  |  | 
 |  |  |                                 ledCommand.setStaNo(dto.getStaNo()); | 
 |  |  |                                 commands.add(ledCommand); | 
 |  |  |                                 MessageQueue.offer(SlaveType.Led, inSta.getLed(), new Task(3, commands)); | 
 |  |  | //                                ledThread.errorReset(); | 
 |  |  |                             } | 
 |  |  |                         } else { | 
 |  |  |                             log.error("请求接口失败!!!url:{};request:{};response:{}", wmsUrl + "/rpc/pakin/loc/v1", JSON.toJSONString(param), response); |