|  |  | 
 |  |  |     public WrkMast selectWorkingPakin(Integer staNo) { | 
 |  |  |         return this.baseMapper.selectWorkingPakin(staNo); | 
 |  |  |     } | 
 |  |  |  | 
 |  |  |     @Override | 
 |  |  |     public boolean checkTransferWrkMast() { | 
 |  |  |         List<WrkMast> wrkMastListIn = this.selectList(new EntityWrapper<WrkMast>() | 
 |  |  |                 .eq("io_type", 1) | 
 |  |  |                 .eq("source_sta_no", 1031) | 
 |  |  |         ); | 
 |  |  |         if (!wrkMastListIn.isEmpty()) { | 
 |  |  |             return true; | 
 |  |  |         } | 
 |  |  |  | 
 |  |  |         List<WrkMast> wrkMastListOut = this.selectList(new EntityWrapper<WrkMast>() | 
 |  |  |                 .eq("io_type", 101) | 
 |  |  |                 .eq("sta_no", 1031) | 
 |  |  |         ); | 
 |  |  |         if (!wrkMastListOut.isEmpty()) { | 
 |  |  |             return true; | 
 |  |  |         } | 
 |  |  |  | 
 |  |  |         return false; | 
 |  |  |     } | 
 |  |  |  | 
 |  |  |     @Override | 
 |  |  |     public boolean checkNoTransferWorking() { | 
 |  |  |         //调拨任务执行时,不允许有其他入出库任务工作 | 
 |  |  |         List<WrkMast> wrkMastListIn = this.selectList(new EntityWrapper<WrkMast>() | 
 |  |  |                 .in("io_type", 1) | 
 |  |  |                 .notIn("source_sta_no", 1031) | 
 |  |  |         ); | 
 |  |  |  | 
 |  |  |         if (!wrkMastListIn.isEmpty()) { | 
 |  |  |             return true; | 
 |  |  |         } | 
 |  |  |  | 
 |  |  |         List<WrkMast> wrkMastListOut = this.selectList(new EntityWrapper<WrkMast>() | 
 |  |  |                 .in("io_type", 101) | 
 |  |  |                 .notIn("sta_no", 1031) | 
 |  |  |         ); | 
 |  |  |  | 
 |  |  |         if (!wrkMastListOut.isEmpty()) { | 
 |  |  |             return true; | 
 |  |  |         } | 
 |  |  |  | 
 |  |  |         return false; | 
 |  |  |     } | 
 |  |  | } |