| 
					
				 | 
			
			
				@@ -5,6 +5,7 @@ import java.util.List; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 import com.fs.company.domain.Company; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 import com.fs.company.param.CompanyParam; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 import com.fs.company.vo.CompanyCrmVO; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+import com.fs.company.vo.CompanyNameVO; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 import com.fs.company.vo.CompanyVO; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 import com.fs.his.vo.OptionsVO; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 import org.apache.ibatis.annotations.Param; 
			 | 
		
	
	
		
			
				| 
					
				 | 
			
			
				@@ -84,6 +85,23 @@ public interface CompanyMapper 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				             "</script>"}) 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     List<CompanyVO> selectCompanyVOList(@Param("maps")CompanyParam param); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				  
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+    @Select({"<script> " + 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+            "select c.* " + 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+            "from company c " + 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+            "where is_del=0 " + 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+            "<if test = 'maps.companyId != null  '> " + 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+            "and c.company_id = #{maps.companyId}" + 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+            "</if>" + 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+            "<if test = 'maps.companyName != null and  maps.companyName !=\"\"     '> " + 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+            "and c.company_name like CONCAT('%',#{maps.companyName},'%') " + 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+            "</if>" + 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+            "<if test = 'maps.status != null   '> " + 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+            "and c.status = #{maps.status}" + 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+            "</if>" + 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+            "order by c.company_id asc " + 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+            "</script>"}) 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+    List<CompanyNameVO> selectCompanyNameVOList(@Param("maps")CompanyParam param); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     @Select({"<script> " + 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				             "select c.*,a.api_name as voice_api_name,u.user_name " + 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				             " ,(select count(1) from crm_customer cc where c.company_id= cc.company_id and date_format(cc.update_time,'%y%m%d') = date_format(now(),'%y%m%d') ) as now_day_customer_count " + 
			 |