|  |  |  | 
|---|
|  |  |  | // 入库通知单 | 
|---|
|  |  |  | if (!Cools.isEmpty(wrkMast.getBarcode())) { | 
|---|
|  |  |  | WaitPakin waitPakin = waitPakinService.selectOne(new EntityWrapper<WaitPakin>().eq("zpallet", wrkMast.getBarcode())); | 
|---|
|  |  |  | if ("Y".equals(waitPakin.getTkFlag())) { | 
|---|
|  |  |  | reportToThirdService.reportTkrk(waitPakin.getBatch(), waitPakin.getAnfme()); | 
|---|
|  |  |  | if (waitPakin != null) { | 
|---|
|  |  |  | if (!Cools.isEmpty(waitPakin.getTkFlag())) { | 
|---|
|  |  |  | boolean result = reportToThirdService.reportTkrk(waitPakin); | 
|---|
|  |  |  | if (!result) { | 
|---|
|  |  |  | exceptionHandle("退库入库上报ERP[workNo={0}]失败", wrkMast.getWrkNo()); | 
|---|
|  |  |  | } | 
|---|
|  |  |  | } | 
|---|
|  |  |  | } | 
|---|
|  |  |  |  | 
|---|
|  |  |  | // 保存入库通知档历史档 | 
|---|