|  |  | 
 |  |  |  | 
 |  |  | import java.math.BigDecimal; | 
 |  |  | import java.util.*; | 
 |  |  | import java.util.concurrent.TimeUnit; | 
 |  |  |  | 
 |  |  | /** | 
 |  |  |  * 车辆信息表Service实现 | 
 |  |  | 
 |  |  |  | 
 |  |  |     @Override | 
 |  |  |     public List<Cars> findList(Cars cars) { | 
 |  |  |         if(Objects.nonNull(cars) | 
 |  |  |         if(Objects.nonNull(cars) && Objects.nonNull(cars.getType()) | 
 |  |  |         && Constants.equalsInteger(Constants.ZERO,cars.getType())){ | 
 |  |  |             return this.getGwCar(); | 
 |  |  |         } | 
 |  |  | 
 |  |  |         if(importing!=null && importing){ | 
 |  |  |             throw new BusinessException(ResponseStatus.BAD_REQUEST.getCode(),"对不起,已存在车辆导入任务正在执行中,请稍后再试!"); | 
 |  |  |         } | 
 |  |  |         redisTemplate.opsForValue().set(Constants.RedisKeys.IMPORTING_CARS,true); | 
 |  |  |         redisTemplate.opsForValue().set(Constants.RedisKeys.IMPORTING_CARS,true,30, TimeUnit.MINUTES); | 
 |  |  |         try { | 
 |  |  |             ExcelImporter ie = null; | 
 |  |  |             List<CarsImport> dataList =null; |