|  |  |  | 
|---|
|  |  |  | <if test="taskId != null"> | 
|---|
|  |  |  | AND ugCon.task_id = #{taskId,jdbcType=BIGINT} | 
|---|
|  |  |  | </if> | 
|---|
|  |  |  | <if test="intakeNum != null"> | 
|---|
|  |  |  | <if test="intakeNum != null and intakeNum != ''"> | 
|---|
|  |  |  | AND inta.name = #{intakeNum,jdbcType=VARCHAR} | 
|---|
|  |  |  | </if> | 
|---|
|  |  |  | <if test="rtuAddr != null"> | 
|---|
|  |  |  | <if test="rtuAddr != null and rtuAddr != ''"> | 
|---|
|  |  |  | AND ugCon.rtu_addr = #{rtuAddr,jdbcType=VARCHAR} | 
|---|
|  |  |  | </if> | 
|---|
|  |  |  | <if test="state != null and state == 1"> | 
|---|
|  |  |  | 
|---|
|  |  |  | <if test="taskId != null"> | 
|---|
|  |  |  | AND ugCon.task_id = #{taskId,jdbcType=BIGINT} | 
|---|
|  |  |  | </if> | 
|---|
|  |  |  | <if test="intakeNum != null"> | 
|---|
|  |  |  | <if test="intakeNum != null and intakeNum != ''"> | 
|---|
|  |  |  | AND inta.name = #{intakeNum,jdbcType=VARCHAR} | 
|---|
|  |  |  | </if> | 
|---|
|  |  |  | <if test="rtuAddr != null"> | 
|---|
|  |  |  | <if test="rtuAddr != null and rtuAddr != ''"> | 
|---|
|  |  |  | AND ugCon.rtu_addr = #{rtuAddr,jdbcType=VARCHAR} | 
|---|
|  |  |  | </if> | 
|---|
|  |  |  | <if test="state != null and state == 1"> | 
|---|