| | |
| | | // 源站点状态检测 |
| | | BasDevp sourceStaNo = basDevpService.checkSiteStatus(transplantWork.getStaNo(), true); |
| | | WrkMast wrkMast1 = wrkMastService.selectWrkMast(transplantWork.getWorkNo(),transplantWork.getBarcode()); |
| | | if(sourceStaNo ==null ){ |
| | | return R.error("该站点盘点移栽许可,请查看源站点状态检测"); |
| | | } |
| | | if(wrkMast1== null){ |
| | | return R.error("无该盘点移栽任务"); |
| | | } |
| | | List<WrkDetl> wrkDetls = wrkDetlService.selectByWrkNo(transplantWork.getWorkNo()); |
| | | Date now = new Date(); |
| | | |
| | | // 生成工作档 |
| | | WrkMast wrkMast = new WrkMast(); |
| | | wrkMast.setWrkNo(9997); |
| | |
| | | // 源站点状态检测 |
| | | BasDevp sourceStaNo = basDevpService.checkSiteStatus(transplantWork.getStaNo(), true); |
| | | WrkMast wrkMast1 = wrkMastService.selectWrkMast(transplantWork.getWorkNo(),transplantWork.getBarcode()); |
| | | if(sourceStaNo == null){ |
| | | |
| | | } |
| | | if(wrkMast1== null){ |
| | | return R.error("无该盘点移栽任务"); |
| | | } |