| | |
| | | if (staNoCrnNo==0){ |
| | | basDevp.setStaErr(1); |
| | | basDevpService.updateById(basDevp); |
| | | log.error("站点号异常"+inSta.getStaNo()); |
| | | throw new CoolException("站点号异常"+inSta.getStaNo()); |
| | | }else { |
| | | LocMast locMast = locMastService.selectOne(new EntityWrapper<LocMast>() |
| | |
| | | if (Cools.isEmpty(locMast)){ |
| | | basDevp.setStaErr(1); |
| | | basDevpService.updateById(basDevp); |
| | | log.error("站点号异常"+inSta.getStaNo()); |
| | | throw new CoolException("站点号异常"+inSta.getStaNo()); |
| | | } |
| | | } |
| | |
| | | // log.error("扫码检测程序异常"+inSta.getStaNo()+"异常信息"+e); |
| | | // 退回 |
| | | log.error("扫码检测程序异常"+inSta.getStaNo()+errMsg); |
| | | log.error("扫码检测程序异常,异常信息"+e); |
| | | |
| | | staProtocol.setWorkNo((short)9999); |
| | | staProtocol.setStaNo(inSta.getStaNo().shortValue()); |
| | |
| | | ); |
| | | }catch (Exception e){ |
| | | log.error("wcs派发库位不为空上报wms", getWmsDto.getWrkNo()); |
| | | throw new CoolException("wcs派发入库任务上报wms失败"); |
| | | throw new CoolException("wcs派发入库任务上报wms失败,异常信息:"+e); |
| | | } |
| | | } |
| | | |