|  |  | 
 |  |  | import org.springframework.beans.factory.annotation.Value; | 
 |  |  | import org.springframework.stereotype.Service; | 
 |  |  | import org.springframework.transaction.annotation.Transactional; | 
 |  |  | import sun.security.smartcardio.SunPCSC; | 
 |  |  |  | 
 |  |  | import java.util.Date; | 
 |  |  | import java.util.List; | 
 |  |  | 
 |  |  |             }else if (!basDevpEnd.getLoading().equals("Y") ){ | 
 |  |  |                 Thread.sleep(1000); | 
 |  |  |                 basDevpEnd = basDevpService.selectById(staNoEnd); | 
 |  |  |                 if (Cools.isEmpty(basDevpEnd) || !basDevpEnd.getAutoing().equals("Y") || basDevpEnd.getReportSign()!=0 || !basDevpEnd.getLoading().equals("Y") ){ | 
 |  |  |                 if (Cools.isEmpty(basDevpEnd) || !basDevpEnd.getAutoing().equals("Y") || basDevpEnd.getReportSign()!=0 || basDevpEnd.getLoading().equals("Y") ){ | 
 |  |  |                     return FAIL; | 
 |  |  |                 } | 
 |  |  |                 WrkMastSta wrkMastSta = wrkMastStaService.selectOne(new EntityWrapper<WrkMastSta>().eq("wrk_no",staNoEnd + 19999L)); |