|  |  | 
 |  |  |                         return R.error("数据库维护异常"); | 
 |  |  |                     } | 
 |  |  |  | 
 |  |  |                     vo.setDevpNo(siteId);   // 站点编号 | 
 |  |  |                     vo.setSiteId(siteId);   // 站点编号 | 
 |  |  |                     vo.setWorkNo(staProtocol.getWorkNo());   // 工作号 | 
 |  |  |  | 
 |  |  |                     if (staProtocol.getWorkNo() > 0) { | 
 |  |  |                         WrkMast wrkMast = wrkMastService.selectById(staProtocol.getWorkNo()); | 
 |  |  |                         if (wrkMast != null) { | 
 |  |  |                             vo.setWorkStatus(wrkMast.getWrkSts$());   // 工作状态 | 
 |  |  |                             vo.setWrkSts(wrkMast.getWrkSts$());   // 工作状态 | 
 |  |  |                             vo.setIoType(wrkMast.getIoType$());   //  入出库类型 | 
 |  |  |                             vo.setSourceStaNo(wrkMast.getSourceStaNo$()); | 
 |  |  |                             vo.setStaNo(wrkMast.getStaNo$()); | 
 |  |  |                             vo.setSourceStock(wrkMast.getSourceLocNo$()); | 
 |  |  |                             vo.setStock(wrkMast.getLocNo$()); | 
 |  |  |                             vo.setSourceLocNo(wrkMast.getSourceLocNo$()); | 
 |  |  |                             vo.setLocNo(wrkMast.getLocNo$()); | 
 |  |  |                         } | 
 |  |  |                     } | 
 |  |  |  |