|  |  |  | 
|---|
|  |  |  | <if test="intakeNum != null and intakeNum != ''"> | 
|---|
|  |  |  | AND inta.name LIKE CONCAT('%', #{intakeNum}, '%') | 
|---|
|  |  |  | </if> | 
|---|
|  |  |  | <if test="clientName != null and clientName != ''"> | 
|---|
|  |  |  | AND oh.client_name LIKE CONCAT('%', #{clientName}, '%') | 
|---|
|  |  |  | </if> | 
|---|
|  |  |  | <if test="rtuAddr != null and rtuAddr != ''"> | 
|---|
|  |  |  | AND oh.rtu_addr LIKE CONCAT('%', #{rtuAddr}, '%') | 
|---|
|  |  |  | </if> | 
|---|
|  |  |  | 
|---|
|  |  |  | <if test="intakeNum != null and intakeNum != ''"> | 
|---|
|  |  |  | AND inta.name LIKE CONCAT('%', #{intakeNum}, '%') | 
|---|
|  |  |  | </if> | 
|---|
|  |  |  | <if test="clientName != null and clientName != ''"> | 
|---|
|  |  |  | AND oh.client_name LIKE CONCAT('%', #{clientName}, '%') | 
|---|
|  |  |  | </if> | 
|---|
|  |  |  | <if test="rtuAddr != null and rtuAddr != ''"> | 
|---|
|  |  |  | AND oh.rtu_addr LIKE CONCAT('%', #{rtuAddr}, '%') | 
|---|
|  |  |  | </if> | 
|---|