|  |  | @ -1,6 +1,7 @@ | 
			
		
	
		
		
			
				
					
					|  |  |  | package com.glxp.api.service.thrsys.impl; |  |  |  | package com.glxp.api.service.thrsys.impl; | 
			
		
	
		
		
			
				
					
					|  |  |  | 
 |  |  |  | 
 | 
			
		
	
		
		
			
				
					
					|  |  |  | import cn.hutool.core.collection.CollUtil; |  |  |  | import cn.hutool.core.collection.CollUtil; | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  | import cn.hutool.core.util.StrUtil; | 
			
		
	
		
		
			
				
					
					|  |  |  | import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper; |  |  |  | import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper; | 
			
		
	
		
		
			
				
					
					|  |  |  | import com.github.pagehelper.PageHelper; |  |  |  | import com.github.pagehelper.PageHelper; | 
			
		
	
		
		
			
				
					
					|  |  |  | import com.glxp.api.dao.thrsys.ThrBusTypeOriginDao; |  |  |  | import com.glxp.api.dao.thrsys.ThrBusTypeOriginDao; | 
			
		
	
	
		
		
			
				
					|  |  | @ -85,7 +86,9 @@ public class ThrBusTypeOriginServiceImpl implements IThrBusTypeOriginService { | 
			
		
	
		
		
			
				
					
					|  |  |  |     @Override |  |  |  |     @Override | 
			
		
	
		
		
			
				
					
					|  |  |  |     public ThrBusTypeOriginEntity findByAction(String action) { |  |  |  |     public ThrBusTypeOriginEntity findByAction(String action) { | 
			
		
	
		
		
			
				
					
					|  |  |  |         QueryWrapper<ThrBusTypeOriginEntity> query = new QueryWrapper<>(); |  |  |  |         QueryWrapper<ThrBusTypeOriginEntity> query = new QueryWrapper<>(); | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |         if(StrUtil.isNotEmpty(action)){ | 
			
		
	
		
		
			
				
					
					|  |  |  |             query.like("action", action); |  |  |  |             query.like("action", action); | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |         } | 
			
		
	
		
		
			
				
					
					|  |  |  |         List<ThrBusTypeOriginEntity> list = thrBusTypeOriginDao.selectList(query); |  |  |  |         List<ThrBusTypeOriginEntity> list = thrBusTypeOriginDao.selectList(query); | 
			
		
	
		
		
			
				
					
					|  |  |  |         if (CollUtil.isNotEmpty(list)) { |  |  |  |         if (CollUtil.isNotEmpty(list)) { | 
			
		
	
		
		
			
				
					
					|  |  |  |             return list.get(0); |  |  |  |             return list.get(0); | 
			
		
	
	
		
		
			
				
					|  |  | 
 |