|  | @@ -5,6 +5,7 @@ import com.ruoyi.common.utils.DateUtils;
 | 
	
		
			
				|  |  |  import com.ruoyi.sim.config.SimConfig;
 | 
	
		
			
				|  |  |  import com.ruoyi.sim.constant.CommConst;
 | 
	
		
			
				|  |  |  import com.ruoyi.sim.domain.*;
 | 
	
		
			
				|  |  | +import com.ruoyi.sim.domain.vo.ScanSeatVo;
 | 
	
		
			
				|  |  |  import com.ruoyi.sim.domain.vo.SimSocketParamVo;
 | 
	
		
			
				|  |  |  import org.apache.commons.lang3.StringUtils;
 | 
	
		
			
				|  |  |  import org.slf4j.LoggerFactory;
 | 
	
	
		
			
				|  | @@ -557,10 +558,21 @@ public class CommSendService {
 | 
	
		
			
				|  |  |          return AjaxResult.success("下发故障流程执行成功!");
 | 
	
		
			
				|  |  |      }
 | 
	
		
			
				|  |  |  
 | 
	
		
			
				|  |  | -    public AjaxResult debugRefreshAllSeat() {
 | 
	
		
			
				|  |  | -
 | 
	
		
			
				|  |  | -
 | 
	
		
			
				|  |  | -        return AjaxResult.success("执行成功!");
 | 
	
		
			
				|  |  | +    public AjaxResult debugScanAllSeat() {
 | 
	
		
			
				|  |  | +        List<ScanSeatVo> list = new ArrayList<>();
 | 
	
		
			
				|  |  | +        seatService.listAllEnable().forEach(seat -> {
 | 
	
		
			
				|  |  | +            AjaxResult ar = commCheckService.checkOneSeatState(seat, true);
 | 
	
		
			
				|  |  | +            String text = ar.get(AjaxResult.MSG_TAG).toString();
 | 
	
		
			
				|  |  | +            // 新查询
 | 
	
		
			
				|  |  | +            seat = seatService.selectSeatBySeatId(seat.getSeatId());
 | 
	
		
			
				|  |  | +            Sim sim = simService.selectSimBySimId(seat.getCurrentSimId());
 | 
	
		
			
				|  |  | +            if (sim != null) {
 | 
	
		
			
				|  |  | +                list.add(new ScanSeatVo(seat.getSeatId(), sim.getSimId(), sim.getSimType(), text));
 | 
	
		
			
				|  |  | +            } else {
 | 
	
		
			
				|  |  | +                list.add(new ScanSeatVo(seat.getSeatId(), 0L, "", text));
 | 
	
		
			
				|  |  | +            }
 | 
	
		
			
				|  |  | +        });
 | 
	
		
			
				|  |  | +        return AjaxResult.success(list);
 | 
	
		
			
				|  |  |      }
 | 
	
		
			
				|  |  |  
 | 
	
		
			
				|  |  |      private String[] getGZBWBySimType(String simType) {
 |