根据type 执行不同的关联查询语句
结构
<choose>
<when test="type !=null and type == 3">
sql 块
</when>
<when test="type !=null and type == 2">
sql 块
</when>
<otherwise>
sql 块
</otherwise>
</choose>