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