src/main/java/org/springblade/modules/task/mapper/TaskMapper.xml
@@ -29,6 +29,8 @@ br.town_code streetCode, jp.principal as realName, jp.principal_phone as phone, jp.nine_type , jp.front_type , jt.id, jt.NAME, jt.type, @@ -123,7 +125,7 @@ and br.town_code = #{task.streetCode} </if> <if test="task.realName != null and task.realName != null"> and bu.name like concat('%', #{task.realName}, '%') and jp.principal like concat('%', #{task.realName}, '%') </if> <if test="task.phone != null and task.phone != null"> and bu.phone like concat('%', #{task.phone}, '%')