|  | @@ -93,10 +93,10 @@
 | 
	
		
			
				|  |  |              <if test="userVO.parentId != 0">
 | 
	
		
			
				|  |  |                  tbm.company_id = #{userVO.companyId}
 | 
	
		
			
				|  |  |              </if>
 | 
	
		
			
				|  |  | -            <if test="userVO.searchType == 0">
 | 
	
		
			
				|  |  | +            <if test="userVO.searchType == 0 and userVO.keyName != '' and userVO.keyName != null">
 | 
	
		
			
				|  |  |                  AND tbm.model_no like concat('%',#{userVO.keyName},'%')
 | 
	
		
			
				|  |  |              </if>
 | 
	
		
			
				|  |  | -            <if test="userVO.searchType == 1">
 | 
	
		
			
				|  |  | +            <if test="userVO.searchType == 1 and userVO.keyName != '' and userVO.keyName != null">
 | 
	
		
			
				|  |  |                  AND tbm.model_name like concat('%',#{userVO.keyName},'%')
 | 
	
		
			
				|  |  |              </if>
 | 
	
		
			
				|  |  |              <if test="userVO.projectId != -1">
 | 
	
	
		
			
				|  | @@ -125,10 +125,10 @@
 | 
	
		
			
				|  |  |          on
 | 
	
		
			
				|  |  |          tbc.id = tbm.company_id
 | 
	
		
			
				|  |  |          <where>
 | 
	
		
			
				|  |  | -            <if test="userVO.searchType == 0">
 | 
	
		
			
				|  |  | +            <if test="userVO.searchType == 0 and userVO.keyName != '' and userVO.keyName != null">
 | 
	
		
			
				|  |  |                  AND tbm.model_no like concat('%',#{userVO.keyName},'%')
 | 
	
		
			
				|  |  |              </if>
 | 
	
		
			
				|  |  | -            <if test="userVO.searchType == 1">
 | 
	
		
			
				|  |  | +            <if test="userVO.searchType == 1 and userVO.keyName != '' and userVO.keyName != null">
 | 
	
		
			
				|  |  |                  AND tbm.model_name like concat('%',#{userVO.keyName},'%')
 | 
	
		
			
				|  |  |              </if>
 | 
	
		
			
				|  |  |              AND tbm.project_id in
 |