Showing
1 changed file
with
3 additions
and
4 deletions
| @@ -192,7 +192,9 @@ | @@ -192,7 +192,9 @@ | ||
| 192 | <if test="vo.companySuggestedCategory != null and vo.companySuggestedCategory != ''"> | 192 | <if test="vo.companySuggestedCategory != null and vo.companySuggestedCategory != ''"> |
| 193 | AND tb.company_suggested_category = #{vo.companySuggestedCategory} | 193 | AND tb.company_suggested_category = #{vo.companySuggestedCategory} |
| 194 | </if> | 194 | </if> |
| 195 | - | 195 | + <if test="vo.companyName != null and vo.companyName != ''"> |
| 196 | + AND cu.name LIKE CONCAT('%', #{vo.companyName},'%') | ||
| 197 | + </if> | ||
| 196 | </where> | 198 | </where> |
| 197 | </select> | 199 | </select> |
| 198 | 200 | ||
| @@ -202,9 +204,6 @@ | @@ -202,9 +204,6 @@ | ||
| 202 | <if test="id != null"> | 204 | <if test="id != null"> |
| 203 | AND tb.id = #{id} | 205 | AND tb.id = #{id} |
| 204 | </if> | 206 | </if> |
| 205 | - <if test="vo.companyName != null and vo.companyName != ''"> | ||
| 206 | - AND cu.name LIKE CONCAT('%', #{vo.companyName},'%') | ||
| 207 | - </if> | ||
| 208 | </where> | 207 | </where> |
| 209 | </select> | 208 | </select> |
| 210 | 209 |