|
@@ -76,18 +76,18 @@
|
|
|
<if test="dto.email != null and dto.email != ''">
|
|
|
and t1.email like concat('%', #{dto.email},'%')
|
|
|
</if>
|
|
|
- <if test="dto.treeType != null and dto.treeId != null">
|
|
|
+ <if test="dto.treeType != null and dto.queryId != null">
|
|
|
<if test="dto.treeType == 1">
|
|
|
- and t4.org_id = #{dto.treeId}
|
|
|
+ and t4.org_id = #{dto.queryId}
|
|
|
</if>
|
|
|
<if test="dto.treeType == 2">
|
|
|
- and t3.major_set_id = #{dto.treeId}
|
|
|
+ and t3.major_set_id = #{dto.queryId}
|
|
|
</if>
|
|
|
<if test="dto.treeType == 3">
|
|
|
- and t4.grade_id = #{dto.treeId}
|
|
|
+ and t4.grade_id = #{dto.queryId}
|
|
|
</if>
|
|
|
<if test="dto.treeType == 4">
|
|
|
- and t4.id = #{dto.treeId}
|
|
|
+ and t4.id = #{dto.queryId}
|
|
|
</if>
|
|
|
</if>
|
|
|
|